mlsanityData to 7 Oct 2026

Balance of Number of Embedding and their Dimensions in Vector Quantization

arXiv 2407.04939 ↗First posted 6 Jul 2024cs.LG cs.CVcited by 4

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

  1. 2017Attention Is All You Needcited by 59,932
  2. 2015Deep Residual Learning for Image Recognitioncited by 51,809
  3. 2017Neural Discrete Representation Learningcited by 4,650
  4. 2014Going Deeper with Convolutionscited by 4,231
  5. 2013Auto-Encoding Variational Bayescited by 3,980
  6. 2013Estimating or Propagating Gradients Through Stochastic Neurons for Conditional Computationcited by 2,031
  7. 2019Generating Diverse High-Fidelity Images with VQ-VAE-2cited by 1,376
  8. 2021SoundStream: An End-to-End Neural Audio Codeccited by 756
  9. 2022Autoregressive Image Generation using Residual Quantizationcited by 706
  10. 2023Language Model Beats Diffusion -- Tokenizer is Key to Visual Generationcited by 633
  11. 2020Jukebox: A Generative Model for Musiccited by 535
  12. 2023Finite Scalar Quantization: VQ-VAE Made Simplecited by 425
13 more
  1. 2018Fast Decoding in Sequence Models using Discrete Latent Variablescited by 103
  2. 2023Straightening Out the Straight-Through Estimator: Overcoming Optimization Challenges in Vector Quantized Networkscited by 80
  3. 2022SQ-VAE: Variational Bayes on Discrete Representation with Self-annealed Stochastic Quantizationcited by 68
  4. 2018Theory and Experiments on Vector Quantized Autoencoderscited by 55
  5. 2023Online Clustered Codebookcited by 55
  6. 2020Robust Training of Vector Quantized Bottleneck Modelscited by 53
  7. 2021Discrete-Valued Neural Communicationcited by 39
  8. 2023HQ-VAE: Hierarchical Discrete Representation Learning with Variational Bayescited by 27
  9. 2024Residual Quantization with Implicit Neural Codebookscited by 24
  10. 2023EdVAE: Mitigating Codebook Collapse with Evidential Discrete Variational Autoencoderscited by 16
  11. 2024HyperVQ: MLR-based Vector Quantization in Hyperbolic Spacecited by 13
  12. 2022Adaptive Discrete Communication Bottlenecks with Dynamic Vector Quantizationcited by 11
  13. 2023Soft Convex Quantization: Revisiting Vector Quantization with Convex Optimizationcited by 10

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 1; 2025: 2; 2026: 1.

4 papers.