Saved in:
Bibliographic Details
Main Authors: Zhang, Baoquan, Wang, Huaibin, Chuyao, Luo, Li, Xutao, Guotao, Liang, Ye, Yunming, Qi, Xiaochen, He, Yao
Format: Preprint
Published: 2024
Subjects:
Online Access:https://arxiv.org/abs/2403.10071
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866911798594109440
author Zhang, Baoquan
Wang, Huaibin
Chuyao, Luo
Li, Xutao
Guotao, Liang
Ye, Yunming
Qi, Xiaochen
He, Yao
author_facet Zhang, Baoquan
Wang, Huaibin
Chuyao, Luo
Li, Xutao
Guotao, Liang
Ye, Yunming
Qi, Xiaochen
He, Yao
contents Vector-Quantized Image Modeling (VQIM) is a fundamental research problem in image synthesis, which aims to represent an image with a discrete token sequence. Existing studies effectively address this problem by learning a discrete codebook from scratch and in a code-independent manner to quantize continuous representations into discrete tokens. However, learning a codebook from scratch and in a code-independent manner is highly challenging, which may be a key reason causing codebook collapse, i.e., some code vectors can rarely be optimized without regard to the relationship between codes and good codebook priors such that die off finally. In this paper, inspired by pretrained language models, we find that these language models have actually pretrained a superior codebook via a large number of text corpus, but such information is rarely exploited in VQIM. To this end, we propose a novel codebook transfer framework with part-of-speech, called VQCT, which aims to transfer a well-trained codebook from pretrained language models to VQIM for robust codebook learning. Specifically, we first introduce a pretrained codebook from language models and part-of-speech knowledge as priors. Then, we construct a vision-related codebook with these priors for achieving codebook transfer. Finally, a novel codebook transfer network is designed to exploit abundant semantic relationships between codes contained in pretrained codebooks for robust VQIM codebook learning. Experimental results on four datasets show that our VQCT method achieves superior VQIM performance over previous state-of-the-art methods.
format Preprint
id arxiv_https___arxiv_org_abs_2403_10071
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Codebook Transfer with Part-of-Speech for Vector-Quantized Image Modeling
Zhang, Baoquan
Wang, Huaibin
Chuyao, Luo
Li, Xutao
Guotao, Liang
Ye, Yunming
Qi, Xiaochen
He, Yao
Computer Vision and Pattern Recognition
Vector-Quantized Image Modeling (VQIM) is a fundamental research problem in image synthesis, which aims to represent an image with a discrete token sequence. Existing studies effectively address this problem by learning a discrete codebook from scratch and in a code-independent manner to quantize continuous representations into discrete tokens. However, learning a codebook from scratch and in a code-independent manner is highly challenging, which may be a key reason causing codebook collapse, i.e., some code vectors can rarely be optimized without regard to the relationship between codes and good codebook priors such that die off finally. In this paper, inspired by pretrained language models, we find that these language models have actually pretrained a superior codebook via a large number of text corpus, but such information is rarely exploited in VQIM. To this end, we propose a novel codebook transfer framework with part-of-speech, called VQCT, which aims to transfer a well-trained codebook from pretrained language models to VQIM for robust codebook learning. Specifically, we first introduce a pretrained codebook from language models and part-of-speech knowledge as priors. Then, we construct a vision-related codebook with these priors for achieving codebook transfer. Finally, a novel codebook transfer network is designed to exploit abundant semantic relationships between codes contained in pretrained codebooks for robust VQIM codebook learning. Experimental results on four datasets show that our VQCT method achieves superior VQIM performance over previous state-of-the-art methods.
title Codebook Transfer with Part-of-Speech for Vector-Quantized Image Modeling
topic Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2403.10071