cs.LGOct 26, 2026

Transporting Quantiles to Codebook: Scalable Vector Quantization without Codebook Collapse

Authors: Yuwei Zeng, Zekun Shi

Organizations: National University of Singapore · SEA AI Lab

Abstract

Effective discrete representation learning with VQ-VAE serves as a fundamental component of modern autoregressive generative models. However, it is widely known to suffer from codebook collapse and inefficient code utilization. To address this issue, we propose FlowVQ, a simple yet effective alternative to standard vector quantization by formulating neural quantization as a joint modeling and clustering process. Specifically, we learn the latent space using a lightweight flow matching model alongside training, corresponding to a probability flow ODE that transports an often fixed well-behaved source distribution while preserving probability mass. Based on this, we define the codebook C_1 by transporting even-quantile partitioned prior codes C_0 from the source space through the learned flow, and obtaining the Voronoi centroids under the induced distribution, leading to a structured discretization. We evaluated on image tokenization and generation, as well as on two tasks requiring high-precision tokenization, demonstrating scalability and improved expressivity of the codebook with full utilization.

Figures & tables

Appendix figures & tables13 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. Beyond Stationarity: Rethinking Codebook Collapse in Vector Quantization

    Feb 21, 2026Hao Lu, Onur C. Koyun, Yongxin Guo +3Vector Quantization

  2. NSVQ: Mitigating Codebook Collapse by Stabilizing Encoder Drift in Vector Quantization

    Jun 9, 2026Hao Lu, Yongxin Guo, Onur Koyun +3Vector Quantization