Balance of Number of Embedding and their Dimensions in Vector Quantization
Not on the map. Why?
Abstract (arXiv)
The dimensionality of the embedding and the number of available embeddings ( also called codebook size) are critical factors influencing the performance of Vector Quantization(VQ), a discretization process used in many models such as the Vector Quantized Variational Autoencoder (VQ-VAE) architecture. This study examines the balance between the codebook sizes and dimensions of embeddings in VQ, while maintaining their product constant. Traditionally, these hyper parameters are static during training; however, our findings indicate that augmenting the codebook size while simultaneously reducing the embedding dimension can significantly boost the effectiveness of the VQ-VAE. As a result, the strategic selection of codebook size and embedding dimensions, while preserving the capacity of the discrete codebook space, is critically important. To address this, we propose a novel adaptive dynamic quantization approach, underpinned by the Gumbel-Softmax mechanism, which allows the model to autonomously determine the optimal codebook configuration for each data instance. This dynamic discretizer gives the VQ-VAE remarkable flexibility. Thorough empirical evaluations across multiple benchmark datasets validate the notable performance enhancements achieved by our approach, highlighting the significant potential of adaptive dynamic quantization to improve model performance.
Key facts. Cited by 4 papers in the map (data through 7 Oct 2026). Builds on 25 of its 31 references that are in the map. First posted on arXiv 6 Jul 2024.
Builds on
25 of 31 references.
References · 25
- 2017Attention Is All You Needcited by 59,932
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2017Neural Discrete Representation Learningcited by 4,650
- 2014Going Deeper with Convolutionscited by 4,231
- 2013Auto-Encoding Variational Bayescited by 3,980
- 2013Estimating or Propagating Gradients Through Stochastic Neurons for Conditional Computationcited by 2,031
- 2019Generating Diverse High-Fidelity Images with VQ-VAE-2cited by 1,376
- 2021SoundStream: An End-to-End Neural Audio Codeccited by 756
- 2022Autoregressive Image Generation using Residual Quantizationcited by 706
- 2023Language Model Beats Diffusion -- Tokenizer is Key to Visual Generationcited by 633
- 2020Jukebox: A Generative Model for Musiccited by 535
- 2023Finite Scalar Quantization: VQ-VAE Made Simplecited by 425
13 more
- 2018Fast Decoding in Sequence Models using Discrete Latent Variablescited by 103
- 2023Straightening Out the Straight-Through Estimator: Overcoming Optimization Challenges in Vector Quantized Networkscited by 80
- 2022SQ-VAE: Variational Bayes on Discrete Representation with Self-annealed Stochastic Quantizationcited by 68
- 2018Theory and Experiments on Vector Quantized Autoencoderscited by 55
- 2023Online Clustered Codebookcited by 55
- 2020Robust Training of Vector Quantized Bottleneck Modelscited by 53
- 2021Discrete-Valued Neural Communicationcited by 39
- 2023HQ-VAE: Hierarchical Discrete Representation Learning with Variational Bayescited by 27
- 2024Residual Quantization with Implicit Neural Codebookscited by 24
- 2023EdVAE: Mitigating Codebook Collapse with Evidential Discrete Variational Autoencoderscited by 16
- 2024HyperVQ: MLR-based Vector Quantization in Hyperbolic Spacecited by 13
- 2022Adaptive Discrete Communication Bottlenecks with Dynamic Vector Quantizationcited by 11
- 2023Soft Convex Quantization: Revisiting Vector Quantization with Convex Optimizationcited by 10
Built on by
Citing papers per year: 2024: 1; 2025: 2; 2026: 1.
4 papers.
- 2024Restructuring Vector Quantization with the Rotation Trickcited by 49
- 2025DiVeQ: Differentiable Vector Quantization Using the Reparameterization Trickcited by 5
- 2025Group-Wise Optimization for Self-Extensible Codebooks in Vector Quantized Modelscited by 0
- 2026Generalized Radius and Integrated Codebook Transforms for Differentiable Vector Quantizationcited by 0
- 2026Generalized Radius and Integrated Codebook Transforms for Differentiable Vector Quantization1 Feb 2026
- 2025Group-Wise Optimization for Self-Extensible Codebooks in Vector Quantized Models15 Oct 2025
- 2025DiVeQ: Differentiable Vector Quantization Using the Reparameterization Trick30 Sep 2025
- 2024Restructuring Vector Quantization with the Rotation Trick8 Oct 2024