LG-VQ: Language-Guided Codebook Learning

Guotao Liang, Baoquan Zhang, Yaowei Wang, Xutao Li, Yunming Ye +4 more
2/3/2026

No official code found. Best implementation: GuotaoLiang/LG-VQ-language-guided-codebook-learning (6 stars, last commit 2024-10-09).

Abstract

Vector quantization (VQ) is a key technique in high-resolution and high-fidelity image synthesis, which aims to learn a codebook to encode an image with a sequence of discrete codes and then generate an image in an auto-regression manner. Although existing methods have shown superior performance, most methods prefer to learn a single-modal codebook (\emph{e.g.}, image), resulting in suboptimal performance when the codebook is applied to multi-modal downstream tasks (\emph{e.g.}, text-to-image, image captioning) due to the existence of modal gaps. In this paper, we propose a novel language-guided codebook learning framework, called LG-VQ, which aims to learn a codebook that can be aligned with the text to improve the performance of multi-modal downstream tasks. Specifically, we first introduce pre-trained text semantics as prior knowledge, then design two novel alignment modules (\emph{i.e.}, Semantic Alignment Module, and Relationship Alignment Module) to transfer such prior knowledge into codes for achieving codebook text alignment. In particular, our LG-VQ method is model-agnostic, which can be easily integrated into existing VQ models. Experimental results show that our method achieves superior performance on reconstruction and various multi-modal downstream tasks.

View on arXivView PDF

Code Implementations(1)

LG-VQ : Language-guided Codebook Learning

61PythonJun 17, 20242 years ago

Similar Papers

Cite this paper

@article{liang2026lgvq,
  title  = {LG-VQ: Language-Guided Codebook Learning},
  author = {Guotao Liang and Baoquan Zhang and Yaowei Wang and Xutao Li and Yunming Ye and Huaibin Wang and Chuyao Luo and Kola Ye and Linfeng Luo},
  year   = {2026},
  eprint = {2405.14206},
  archivePrefix = {arXiv},
  doi    = {10.48550/arXiv.2405.14206},
  url    = {https://arxiv.org/abs/2405.14206},
  journal = {NEURIPS 2024 2024}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2405.14206.svg)](https://codeofpaper.com/paper/2405.14206)

Discussion