paper-with-me

홈 › Papers

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

2026-06-09 · Hao Lu, Yongxin Guo, Onur Koyun, Zhengjie Zhu, Abbas Alili, Metin N. Gurcan arxiv

Vector quantization is central to modern generative modeling pipelines, but large-codebook VQ models often suffer from codebook collapse. We identify encoder drift as a key driver of this failure: as the encoder moves the latent distribution, sparsely updated code vectors can lag behind, lose assignments, and increase quantization error, creating a feedback loop through the straight-through estimator. We propose NSVQ, a non-stationary-aware VQ training strategy that combines a dense non-stationary embedding loss, codebook replacement, and stage-wise encoder freezing. NSVQ first helps the codebook track encoder drift during early training, then freezes the encoder to consolidate the codebook under a fixed latent geometry, and finally reintroduces adversarial refinement. Experiments on ImageNet-1k show that NSVQ improves reconstruction quality while maintaining full codebook utilization. On ImageNet-1k at 128$\times$128 with 65,536 codes, NSVQ reduces rFID from 2.39 to 2.10 compared with SimVQ, while both methods maintain 100\% utilization. Additional latent diffusion experiments show that NSVQ also improves downstream ImageNet generation FID.

📄 PDF Abstract BibTeX arXiv:2606.11363

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Beyond Stationarity: Rethinking Codebook Collapse in Vector Quantization

2026-02-21 · Hao Lu, Onur C. Koyun, Yongxin Guo, Zhengjie Zhu 외 arxiv

Vector Quantization (VQ) underpins many modern generative frameworks such as VQ-VAE, VQ-GAN, and latent diffusion models. Yet, it suffers from the persistent problem of codebook collapse, where a large fraction of code v…

EdVAE: Mitigating Codebook Collapse with Evidential Discrete Variational Autoencoders

2023-10-09 · Gulcin Baykal, Melih Kandemir, Gozde Unal

Codebook collapse is a common problem in training deep generative models with discrete representation spaces like Vector Quantized Variational Autoencoders (VQ-VAEs). We observe that the same problem arises for the alter…

Early Quantization Shrinks Codebook: A Simple Fix for Diversity-Preserving Tokenization

2026-03-17 · Wenhao Zhao, Qiran Zou, Rushi Shah, Yudi Wu 외 arxiv

Vector quantization is a technique in machine learning that discretizes continuous representations into a set of discrete vectors. It is widely employed in tokenizing data representations for large language models, diffu…

Representation Collapsing Problems in Vector Quantization

2024-11-25 · Wenhao Zhao, Qiran Zou, Rushi Shah, Dianbo Liu

Vector quantization is a technique in machine learning that discretizes continuous representations into a set of discrete vectors. It is widely employed in tokenizing data representations for large language models, diffu…

Quantization

Homology-constrained vector quantization entropy regularizer

2022-11-25 · Ivan Volkov

This paper describes an entropy regularization term for vector quantization (VQ) based on the analysis of persistent homology of the VQ embeddings. Higher embedding entropy positively correlates with higher codebook util…

Quantization