Straightening Out the Straight-Through Estimator: Overcoming Optimization Challenges in Vector Quantized Networks
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
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,160
- 2018The Unreasonable Effectiveness of Deep Features as a Perceptual Metriccited by 11,029
- 2014ImageNet Large Scale Visual Recognition Challengecited by 8,441
- 2021Masked Autoencoders Are Scalable Vision Learnerscited by 7,339
- 2015Batch Normalization: Accelerating Deep Network Training by Reducing Internal Covariate Shiftcited by 6,979
- 2016SGDR: Stochastic Gradient Descent with Warm Restartscited by 4,993
- 2017Neural Discrete Representation Learningcited by 4,650
- 2021Zero-Shot Text-to-Image Generationcited by 4,276
- 2014Deep Learning Face Attributes in the Wildcited by 3,679
- 2020Taming Transformers for High-Resolution Image Synthesiscited by 3,229
- 2020Unsupervised Learning of Visual Features by Contrasting Cluster Assignmentscited by 2,845
21 more
- 2016Categorical Reparameterization with Gumbel-Softmaxcited by 2,708
- 2013Estimating or Propagating Gradients Through Stochastic Neurons for Conditional Computationcited by 2,031
- 2017Accurate, Large Minibatch SGD: Training ImageNet in 1 Hourcited by 1,479
- 2019Contrastive Multiview Codingcited by 1,297
- 2022MaskGIT: Masked Generative Image Transformercited by 1,082
- 2018Deep Clustering for Unsupervised Learning of Visual Featurescited by 1,020
- 2021SoundStream: An End-to-End Neural Audio Codeccited by 756
- 2022Autoregressive Image Generation using Residual Quantizationcited by 706
- 2021Vector-quantized Image Modeling with Improved VQGANcited by 656
- 2021VideoGPT: Video Generation using VQ-VAE and Transformerscited by 651
- 2023Muse: Text-To-Image Generation via Masked Generative Transformerscited by 640
- 2020Jukebox: A Generative Model for Musiccited by 535
- 2019Self-labelling via simultaneous clustering and representation learningcited by 525
- 2021When Vision Transformers Outperform ResNets without Pre-training or Strong Data Augmentationscited by 259
- 2018Fast Decoding in Sequence Models using Discrete Latent Variablescited by 103
- 2020Vector-Quantized Autoregressive Predictive Codingcited by 69
- 2022SQ-VAE: Variational Bayes on Discrete Representation with Self-annealed Stochastic Quantizationcited by 68
- 2018Theory and Experiments on Vector Quantized Autoencoderscited by 55
- 2020Hierarchical Quantized Autoencoderscited by 55
- 2020Robust Training of Vector Quantized Bottleneck Modelscited by 53
- 2021Vector Quantized Models for Planningcited by 47
Built on by
Citing papers per year: 2023: 6; 2024: 21; 2025: 34; 2026: 19.
80 papers.
Sort:
By area:
- 2025Emerging Properties in Unified Multimodal Pretrainingcited by 855
- 2023Finite Scalar Quantization: VQ-VAE Made Simplecited by 425
- 2023Learning to Act without Actionscited by 116
- 2023Copilot4D: Learning Unsupervised World Models for Autonomous Driving via Discrete Diffusioncited by 105
- 2024GFT: Graph Foundation Model with Transferable Tree Vocabularycited by 82
- 2023GIVT: Generative Infinite-Vocabulary Transformerscited by 80
- 2024Addressing Representation Collapse in Vector Quantized Models with One Linear Layercited by 77
- 2024Scaling the Codebook Size of VQGAN to 100,000 with a Utilization Rate of 99%cited by 68
- 2024SoftVQ-VAE: Efficient 1-Dimensional Continuous Tokenizercited by 55
- 2024Restructuring Vector Quantization with the Rotation Trickcited by 49
- 2024Masked Particle Modeling on Sets: Towards Self-Supervised High Energy Physics Foundation Modelscited by 44
- 2024OmniJet-α: The first cross-task foundation model for particle physicscited by 41
38 more
- 2024Adaptive Length Image Tokenization via Recurrent Allocationcited by 40
- 2024Autoregressive Diffusion Transformer for Text-to-Speech Synthesiscited by 34
- 2024Residual Quantization with Implicit Neural Codebookscited by 24
- 2023EdVAE: Mitigating Codebook Collapse with Evidential Discrete Variational Autoencoderscited by 16
- 2024VQDNA: Unleashing the Power of Vector Quantization for Multi-Species Genomic Sequence Modelingcited by 14
- 2024Aspen Open Jets: Unlocking LHC Data for Foundation Models in Particle Physicscited by 14
- 2024When Worse is Better: Navigating the compression-generation tradeoff in visual tokenizationcited by 14
- 2025OmniJet-αC: Learning point cloud calorimeter simulations using generative transformerscited by 14
- 2025Cube: A Roblox View of 3D Intelligencecited by 14
- 2025Zero-Shot Styled Text Image Generation, but Make It Autoregressivecited by 13
- 2025Efficient Autoregressive Shape Generation via Octree-Based Adaptive Tokenizationcited by 12
- 2023Soft Convex Quantization: Revisiting Vector Quantization with Convex Optimizationcited by 10
- 2025Scalable Training for Vector-Quantized Networks with 100% Codebook Utilizationcited by 10
- 2025Foundation models for high-energy physicscited by 10
- 2024Learning the Language of Protein Structurecited by 9
- 2025CODA: Repurposing Continuous VAEs for Discrete Tokenizationcited by 8
- 2025Quantize-then-Rectify: Efficient VQ-VAE Trainingcited by 7
- 2025Discrete Tokenization for Multimodal LLMs: A Comprehensive Surveycited by 7
- 2025SSDD: Single-Step Diffusion Decoder for Efficient Image Tokenizationcited by 7
- 2024Bootstrapping Top-down Information for Self-modulating Slot Attentioncited by 6
- 2025Spherical Leech Quantization for Visual Tokenization and Generationcited by 6
- 2025SpidR: Learning Fast and Stable Linguistic Units for Spoken Language Models Without Supervisioncited by 6
- 2025Quantization-Free Autoregressive Action Transformercited by 5
- 2025Instella-T2I: Pushing the Limits of 1D Discrete Latent Space Image Generationcited by 5
- 2025DiVeQ: Differentiable Vector Quantization Using the Reparameterization Trickcited by 5
- 2024Balance of Number of Embedding and their Dimensions in Vector Quantizationcited by 4
- 2025Towards Improved Text-Aligned Codebook Learning: Multi-Hierarchical Codebook-Text Alignment with Long Textcited by 4
- 2025LOTION: Smoothing the Optimization Landscape for Quantized Trainingcited by 4
- 2026Switch Attention: Towards Dynamic and Fine-grained Hybrid Transformerscited by 4
- 2025Autoregressive Styled Text Image Generation, but Make it Reliablecited by 3
- 2025Enhancing next token prediction based pre-training for jet foundation modelscited by 3
- 2026VQ-Style: Disentangling Style and Content in Motion with Residual Quantized Representationscited by 3
- 2026Gradient-Based Program Synthesis with Neurally Interpreted Languagescited by 3
- 2024Gaussian Mixture Vector Quantization with Aggregated Categorical Posteriorcited by 2
- 2025Tokenizing Electron Cloud in Protein-Ligand Interaction Learningcited by 2
- 2025Graph is a Natural Regularization: Revisiting Vector Quantization for Graph Representation Learningcited by 2
- 2025Exploiting Discriminative Codebook Prior for Autoregressive Image Generationcited by 2
- 2024Optimizing Byte-level Representation for End-to-end ASRcited by 1
50 most cited of 80 All 80 (JSON)
- 2026StableVQ: Practical Guidelines for Stable Vector-Quantized Tokenizer Training22 Sep 2026
- 2026A Unified Rate-Distortion Perspective on Vector, Product, and Scalar Quantization2 Sep 2026
- 2026History-Conditioned Joint-Prefix Alignment for Generative Recommendation29 Aug 2026
- 2026A survey detection channel overrides the pixels in an astronomical foundation model, and biases tomographic mean redshifts23 Aug 2026
- 2026VQ-Transplant: Efficient VQ-Module Integration for Pre-trained Visual Tokenizers21 Jul 2026
- 2026Distributional Matching for Vector Quantization: A Unified Theoretical and Empirical Framework17 Jul 2026
- 2026NSVQ: Mitigating Codebook Collapse by Stabilizing Encoder Drift in Vector Quantization9 Jun 2026
- 2026MELD: Mel-Spectrogram-Based Speech Language Modeling with Discrete Latent Variables28 May 2026
- 2026RankE: End-to-End Post-Training for Discrete Text-to-Image Generation with Decoder Co-Evolution20 May 2026
- 2026Fitting Multilinear Polynomials for Logic Gate Networks9 May 2026
- 2026Gradient-Based Program Synthesis with Neurally Interpreted Languages20 Apr 2026
- 2026Switch Attention: Towards Dynamic and Fine-grained Hybrid Transformers27 Mar 2026
38 more
- 2026Mitigating Premature Discretization with Progressive Quantization for Robust Vector Tokenization17 Mar 2026
- 2026Beyond Stationarity: Rethinking Codebook Collapse in Vector Quantization21 Feb 2026
- 2026VP-VAE: Rethinking Vector Quantization via Adaptive Vector Perturbation19 Feb 2026
- 2026VQ-DSC-R: Robust Vector Quantized-Enabled Digital Semantic Communication With OFDM Transmission5 Feb 2026
- 2026VQ-Style: Disentangling Style and Content in Motion with Residual Quantized Representations2 Feb 2026
- 2026Generalized Radius and Integrated Codebook Transforms for Differentiable Vector Quantization1 Feb 2026
- 2026Is Hierarchical Quantization Essential for Optimal Reconstruction?29 Jan 2026
- 2025SpidR: Learning Fast and Stable Linguistic Units for Spoken Language Models Without Supervision23 Dec 2025
- 2025Spherical Leech Quantization for Visual Tokenization and Generation16 Dec 2025
- 2025Training-Free Vector Quantization via Gaussian VAEs7 Dec 2025
- 2025Enhancing next token prediction based pre-training for jet foundation models3 Dec 2025
- 2025Two-Dimensional Quantization for Geometry-Aware Audio Coding1 Dec 2025
- 2025Autoregressive Styled Text Image Generation, but Make it Reliable27 Oct 2025
- 2025Group-Wise Optimization for Self-Extensible Codebooks in Vector Quantized Models15 Oct 2025
- 2025Vanishing Contributions: A Unified Framework for Smooth and Iterative Model Compression9 Oct 2025
- 2025LOTION: Smoothing the Optimization Landscape for Quantized Training9 Oct 2025
- 2025SSDD: Single-Step Diffusion Decoder for Efficient Image Tokenization6 Oct 2025
- 2025MASC: Boosting Autoregressive Image Generation with a Manifold-Aligned Semantic Clustering5 Oct 2025
- 2025DiVeQ: Differentiable Vector Quantization Using the Reparameterization Trick30 Sep 2025
- 2025Foundation models for high-energy physics25 Sep 2025
- 2025Scalable Training for Vector-Quantized Networks with 100% Codebook Utilization12 Sep 2025
- 2025Distillation of a tractable model from the VQ-VAE1 Sep 2025
- 2025Exploiting Discriminative Codebook Prior for Autoregressive Image Generation14 Aug 2025
- 2025Graph is a Natural Regularization: Revisiting Vector Quantization for Graph Representation Learning8 Aug 2025
- 2025Discrete Tokenization for Multimodal LLMs: A Comprehensive Survey21 Jul 2025
- 2025Learning to Gridize: Segment Physical World by Wireless Communication Channel21 Jul 2025
- 2025Quantize-then-Rectify: Efficient VQ-VAE Training14 Jul 2025
- 2025Instella-T2I: Pushing the Limits of 1D Discrete Latent Space Image Generation26 Jun 2025
- 2025OLALa: Online Learned Adaptive Lattice Codes for Heterogeneous Federated Learning25 Jun 2025
- 2025Cross-Layer Discrete Concept Discovery for Interpreting Language Models24 Jun 2025
- 2025A look at adversarial attacks on radio waveforms from discrete latent space11 Jun 2025
- 2025Tokenizing Electron Cloud in Protein-Ligand Interaction Learning25 May 2025
- 2025Emerging Properties in Unified Multimodal Pretraining20 May 2025
- 2025Efficient Autoregressive Shape Generation via Octree-Based Adaptive Tokenization3 Apr 2025
- 2025Tokenization of Gaze Data28 Mar 2025
- 2025CODA: Repurposing Continuous VAEs for Discrete Tokenization22 Mar 2025
- 2025Zero-Shot Styled Text Image Generation, but Make It Autoregressive21 Mar 2025
- 2025Cube: A Roblox View of 3D Intelligence19 Mar 2025
50 newest of 80 All 80 (JSON)
- 2023Learning to Act without Actionscited by 116
- 2023Copilot4D: Learning Unsupervised World Models for Autonomous Driving via Discrete Diffusioncited by 105
- 2025Quantization-Free Autoregressive Action Transformercited by 5
- 2025Quantization-Free Autoregressive Action Transformer18 Mar 2025
- 2025Emerging Properties in Unified Multimodal Pretrainingcited by 855
- 2023Finite Scalar Quantization: VQ-VAE Made Simplecited by 425
- 2024GFT: Graph Foundation Model with Transferable Tree Vocabularycited by 82
- 2023GIVT: Generative Infinite-Vocabulary Transformerscited by 80
- 2024Addressing Representation Collapse in Vector Quantized Models with One Linear Layercited by 77
- 2024Scaling the Codebook Size of VQGAN to 100,000 with a Utilization Rate of 99%cited by 68
- 2024SoftVQ-VAE: Efficient 1-Dimensional Continuous Tokenizercited by 55
- 2024Restructuring Vector Quantization with the Rotation Trickcited by 49
- 2024Masked Particle Modeling on Sets: Towards Self-Supervised High Energy Physics Foundation Modelscited by 44
- 2024OmniJet-α: The first cross-task foundation model for particle physicscited by 41
- 2024Adaptive Length Image Tokenization via Recurrent Allocationcited by 40
- 2024Residual Quantization with Implicit Neural Codebookscited by 24
12 most cited of 71 All 71 (JSON)
- 2026StableVQ: Practical Guidelines for Stable Vector-Quantized Tokenizer Training22 Sep 2026
- 2026A Unified Rate-Distortion Perspective on Vector, Product, and Scalar Quantization2 Sep 2026
- 2026History-Conditioned Joint-Prefix Alignment for Generative Recommendation29 Aug 2026
- 2026A survey detection channel overrides the pixels in an astronomical foundation model, and biases tomographic mean redshifts23 Aug 2026
- 2026VQ-Transplant: Efficient VQ-Module Integration for Pre-trained Visual Tokenizers21 Jul 2026
- 2026Distributional Matching for Vector Quantization: A Unified Theoretical and Empirical Framework17 Jul 2026
- 2026NSVQ: Mitigating Codebook Collapse by Stabilizing Encoder Drift in Vector Quantization9 Jun 2026
- 2026MELD: Mel-Spectrogram-Based Speech Language Modeling with Discrete Latent Variables28 May 2026
- 2026RankE: End-to-End Post-Training for Discrete Text-to-Image Generation with Decoder Co-Evolution20 May 2026
- 2026Fitting Multilinear Polynomials for Logic Gate Networks9 May 2026
- 2026Gradient-Based Program Synthesis with Neurally Interpreted Languages20 Apr 2026
- 2026Switch Attention: Towards Dynamic and Fine-grained Hybrid Transformers27 Mar 2026
12 newest of 71 All 71 (JSON)