Lune

ICML2025Top-tier venue

Learning to Quantize for Training Vector-Quantized Networks

Peijia Qin, Jianguo Zhang

Abstract

Deep neural networks incorporating discrete latent variables have shown significant potential in sequence modeling. A notable approach is to leverage vector quantization (VQ) to generate discrete representations within a codebook. However, its discrete nature prevents the use of standard backpropagation, which has led to challenges in efficient codebook training. In this work, we introduce Meta-Quantization (MQ), a novel vector quantization training framework inspired by metalearning. Our method separates the optimization of the codebook and the auto-encoder into two levels. Furthermore, we introduce a hyper-net to replace the embedding-parameterized codebook, enabling the codebook to be dynamically generated based on the feedback from the auto-encoder. Different from previous VQ objectives, our innovation results in a meta-objective that makes the codebook training task-aware. We validate the effectiveness of MQ with VQVAE and VQ-GAN architecture on image reconstruction and generation tasks. Experimental results showcase the superior generative performance of MQ, underscoring its potential as a robust alternative to existing VQ methods.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

Questions to start from

Lune can draw on

the full paper · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Vector-quantized Image Modeling with Improved VQGAN cites Unsupervised Learning of Visual Features by Contrasting Cluster Assignments
  • Vector-quantized Image Modeling with Improved VQGAN cites Zero-Shot Text-to-Image Generation
  • Language Model Beats Diffusion - Tokenizer is key to visual generation cites Vector-quantized Image Modeling with Improved VQGAN
  • Language Model Beats Diffusion - Tokenizer is key to visual generation cites Zero-Shot Text-to-Image Generation
  • Finite Scalar Quantization: VQ-VAE Made Simple cites Vector-quantized Image Modeling with Improved VQGAN
Builds onCited byLeft to right by year; the more cited, the higher.

Builds on11

  1. Zero-Shot Text-to-Image GenerationAditya Ramesh, Mikhail Pavlov, Gabriel Goh, Scott Gray et al.ICML 2021 · 6,356 citations
  2. Unsupervised Learning of Visual Features by Contrasting Cluster AssignmentsMathilde Caron, Ishan Misra, Julien Mairal, Priya Goyal et al.NeurIPS 2020 · 5,249 citations
  3. Vector-quantized Image Modeling with Improved VQGANJiahui Yu, Xin Li, Jing Yu Koh, Han Zhang et al.ICLR 2022 · 753 citations
  4. Language Model Beats Diffusion - Tokenizer is key to visual generationLijun Yu, José Lezama, Nitesh Bharadwaj Gundavarapu, Luca Versari et al.ICLR 2024 · 609 citations
  5. Finite Scalar Quantization: VQ-VAE Made SimpleFabian Mentzer, David Minnen, Eirikur Agustsson, Michael TschannenICLR 2024 · 442 citations

Related papers

  1. SQ-VAE: Variational Bayes on Discrete Representation with Self-annealed Stochastic QuantizationYuhta Takida, Takashi Shibuya, Wei-Hsiang Liao, Chieh-Hsin Lai et al.ICML 2022 · 99 citations
  2. Online Clustered CodebookChuanxia Zheng, Andrea VedaldiICCV 2023 · 67 citations
  3. Restructuring Vector Quantization with the Rotation TrickChristopher Fifty, Ronald Guenther Junkins, Dennis Duan, Aniketh Iyengar et al.ICLR 2025 · 1 citation
  4. Vector Quantized Wasserstein Auto-EncoderLong Tung Vuong, Trung Le, He Zhao, Chuanxia Zheng et al.ICML 2023 · 24 citations
  5. Hierarchical Quantized AutoencodersWill Williams, Sam Ringer, Tom Ash, David MacLeod et al.NeurIPS 2020 · 90 citations
Dusk over the sea between two cliffs drawn in fine vertical lines