mlsanityData to 7 Oct 2026

Straightening Out the Straight-Through Estimator: Overcoming Optimization Challenges in Vector Quantized Networks

arXiv 2305.08842 ↗First posted 15 May 2023cs.LG cs.AIcited by 80

Not on the map. Why?

Abstract (arXiv)

This work examines the challenges of training neural networks using vector quantization using straight-through estimation. We find that a primary cause of training instability is the discrepancy between the model embedding and the code-vector distribution. We identify the factors that contribute to this issue, including the codebook gradient sparsity and the asymmetric nature of the commitment loss, which leads to misaligned code-vector assignments. We propose to address this issue via affine re-parameterization of the code vectors. Additionally, we introduce an alternating optimization to reduce the gradient error introduced by the straight-through estimation. Moreover, we propose an improvement to the commitment loss to ensure better alignment between the codebook representation and the model embedding. These optimization methods improve the mathematical approximation of the straight-through estimation and, ultimately, the model performance. We demonstrate the effectiveness of our methods on several common model architectures, such as AlexNet, ResNet, and ViT, across various tasks, including image classification and generative modeling.

Key facts. Cited by 80 papers in the map (data through 7 Oct 2026). Builds on 33 of its 41 references that are in the map. First posted on arXiv 15 May 2023.

Builds on

33 of 41 references.

References · 33

  1. 2015Deep Residual Learning for Image Recognitioncited by 51,809
  2. 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,160
  3. 2018The Unreasonable Effectiveness of Deep Features as a Perceptual Metriccited by 11,029
  4. 2014ImageNet Large Scale Visual Recognition Challengecited by 8,441
  5. 2021Masked Autoencoders Are Scalable Vision Learnerscited by 7,339
  6. 2015Batch Normalization: Accelerating Deep Network Training by Reducing Internal Covariate Shiftcited by 6,979
  7. 2016SGDR: Stochastic Gradient Descent with Warm Restartscited by 4,993
  8. 2017Neural Discrete Representation Learningcited by 4,650
  9. 2021Zero-Shot Text-to-Image Generationcited by 4,276
  10. 2014Deep Learning Face Attributes in the Wildcited by 3,679
  11. 2020Taming Transformers for High-Resolution Image Synthesiscited by 3,229
  12. 2020Unsupervised Learning of Visual Features by Contrasting Cluster Assignmentscited by 2,845
21 more
  1. 2016Categorical Reparameterization with Gumbel-Softmaxcited by 2,708
  2. 2013Estimating or Propagating Gradients Through Stochastic Neurons for Conditional Computationcited by 2,031
  3. 2017Accurate, Large Minibatch SGD: Training ImageNet in 1 Hourcited by 1,479
  4. 2019Contrastive Multiview Codingcited by 1,297
  5. 2022MaskGIT: Masked Generative Image Transformercited by 1,082
  6. 2018Deep Clustering for Unsupervised Learning of Visual Featurescited by 1,020
  7. 2021SoundStream: An End-to-End Neural Audio Codeccited by 756
  8. 2022Autoregressive Image Generation using Residual Quantizationcited by 706
  9. 2021Vector-quantized Image Modeling with Improved VQGANcited by 656
  10. 2021VideoGPT: Video Generation using VQ-VAE and Transformerscited by 651
  11. 2023Muse: Text-To-Image Generation via Masked Generative Transformerscited by 640
  12. 2020Jukebox: A Generative Model for Musiccited by 535
  13. 2019Self-labelling via simultaneous clustering and representation learningcited by 525
  14. 2021When Vision Transformers Outperform ResNets without Pre-training or Strong Data Augmentationscited by 259
  15. 2018Fast Decoding in Sequence Models using Discrete Latent Variablescited by 103
  16. 2020Vector-Quantized Autoregressive Predictive Codingcited by 69
  17. 2022SQ-VAE: Variational Bayes on Discrete Representation with Self-annealed Stochastic Quantizationcited by 68
  18. 2018Theory and Experiments on Vector Quantized Autoencoderscited by 55
  19. 2020Hierarchical Quantized Autoencoderscited by 55
  20. 2020Robust Training of Vector Quantized Bottleneck Modelscited by 53
  21. 2021Vector Quantized Models for Planningcited by 47

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2023: 6; 2024: 21; 2025: 34; 2026: 19.

80 papers.

Sort:

By area:

  1. 2025Emerging Properties in Unified Multimodal Pretrainingcited by 855
  2. 2023Finite Scalar Quantization: VQ-VAE Made Simplecited by 425
  3. 2023Learning to Act without Actionscited by 116
  4. 2023Copilot4D: Learning Unsupervised World Models for Autonomous Driving via Discrete Diffusioncited by 105
  5. 2024GFT: Graph Foundation Model with Transferable Tree Vocabularycited by 82
  6. 2023GIVT: Generative Infinite-Vocabulary Transformerscited by 80
  7. 2024Addressing Representation Collapse in Vector Quantized Models with One Linear Layercited by 77
  8. 2024Scaling the Codebook Size of VQGAN to 100,000 with a Utilization Rate of 99%cited by 68
  9. 2024SoftVQ-VAE: Efficient 1-Dimensional Continuous Tokenizercited by 55
  10. 2024Restructuring Vector Quantization with the Rotation Trickcited by 49
  11. 2024Masked Particle Modeling on Sets: Towards Self-Supervised High Energy Physics Foundation Modelscited by 44
  12. 2024OmniJet-α: The first cross-task foundation model for particle physicscited by 41
38 more
  1. 2024Adaptive Length Image Tokenization via Recurrent Allocationcited by 40
  2. 2024Autoregressive Diffusion Transformer for Text-to-Speech Synthesiscited by 34
  3. 2024Residual Quantization with Implicit Neural Codebookscited by 24
  4. 2023EdVAE: Mitigating Codebook Collapse with Evidential Discrete Variational Autoencoderscited by 16
  5. 2024VQDNA: Unleashing the Power of Vector Quantization for Multi-Species Genomic Sequence Modelingcited by 14
  6. 2024Aspen Open Jets: Unlocking LHC Data for Foundation Models in Particle Physicscited by 14
  7. 2024When Worse is Better: Navigating the compression-generation tradeoff in visual tokenizationcited by 14
  8. 2025OmniJet-αC: Learning point cloud calorimeter simulations using generative transformerscited by 14
  9. 2025Cube: A Roblox View of 3D Intelligencecited by 14
  10. 2025Zero-Shot Styled Text Image Generation, but Make It Autoregressivecited by 13
  11. 2025Efficient Autoregressive Shape Generation via Octree-Based Adaptive Tokenizationcited by 12
  12. 2023Soft Convex Quantization: Revisiting Vector Quantization with Convex Optimizationcited by 10
  13. 2025Scalable Training for Vector-Quantized Networks with 100% Codebook Utilizationcited by 10
  14. 2025Foundation models for high-energy physicscited by 10
  15. 2024Learning the Language of Protein Structurecited by 9
  16. 2025CODA: Repurposing Continuous VAEs for Discrete Tokenizationcited by 8
  17. 2025Quantize-then-Rectify: Efficient VQ-VAE Trainingcited by 7
  18. 2025Discrete Tokenization for Multimodal LLMs: A Comprehensive Surveycited by 7
  19. 2025SSDD: Single-Step Diffusion Decoder for Efficient Image Tokenizationcited by 7
  20. 2024Bootstrapping Top-down Information for Self-modulating Slot Attentioncited by 6
  21. 2025Spherical Leech Quantization for Visual Tokenization and Generationcited by 6
  22. 2025SpidR: Learning Fast and Stable Linguistic Units for Spoken Language Models Without Supervisioncited by 6
  23. 2025Quantization-Free Autoregressive Action Transformercited by 5
  24. 2025Instella-T2I: Pushing the Limits of 1D Discrete Latent Space Image Generationcited by 5
  25. 2025DiVeQ: Differentiable Vector Quantization Using the Reparameterization Trickcited by 5
  26. 2024Balance of Number of Embedding and their Dimensions in Vector Quantizationcited by 4
  27. 2025Towards Improved Text-Aligned Codebook Learning: Multi-Hierarchical Codebook-Text Alignment with Long Textcited by 4
  28. 2025LOTION: Smoothing the Optimization Landscape for Quantized Trainingcited by 4
  29. 2026Switch Attention: Towards Dynamic and Fine-grained Hybrid Transformerscited by 4
  30. 2025Autoregressive Styled Text Image Generation, but Make it Reliablecited by 3
  31. 2025Enhancing next token prediction based pre-training for jet foundation modelscited by 3
  32. 2026VQ-Style: Disentangling Style and Content in Motion with Residual Quantized Representationscited by 3
  33. 2026Gradient-Based Program Synthesis with Neurally Interpreted Languagescited by 3
  34. 2024Gaussian Mixture Vector Quantization with Aggregated Categorical Posteriorcited by 2
  35. 2025Tokenizing Electron Cloud in Protein-Ligand Interaction Learningcited by 2
  36. 2025Graph is a Natural Regularization: Revisiting Vector Quantization for Graph Representation Learningcited by 2
  37. 2025Exploiting Discriminative Codebook Prior for Autoregressive Image Generationcited by 2
  38. 2024Optimizing Byte-level Representation for End-to-end ASRcited by 1

50 most cited of 80 All 80 (JSON)