Soft Convex Quantization: Revisiting Vector Quantization with Convex Optimization
Not on the map. Why?
Abstract (arXiv)
Vector Quantization (VQ) is a well-known technique in deep learning for extracting informative discrete latent representations. VQ-embedded models have shown impressive results in a range of applications including image and speech generation. VQ operates as a parametric K-means algorithm that quantizes inputs using a single codebook vector in the forward pass. While powerful, this technique faces practical challenges including codebook collapse, non-differentiability and lossy compression. To mitigate the aforementioned issues, we propose Soft Convex Quantization (SCQ) as a direct substitute for VQ. SCQ works like a differentiable convex optimization (DCO) layer: in the forward pass, we solve for the optimal convex combination of codebook vectors that quantize the inputs. In the backward pass, we leverage differentiability through the optimality conditions of the forward solution. We then introduce a scalable relaxation of the SCQ optimization and demonstrate its efficacy on the CIFAR-10, GTSRB and LSUN datasets. We train powerful SCQ autoencoder models that significantly outperform matched VQ-based architectures, observing an order of magnitude better image reconstruction and codebook usage with comparable quantization runtime.
Key facts. Cited by 10 papers in the map (data through 7 Oct 2026). Builds on 24 of its 30 references that are in the map. First posted on arXiv 4 Oct 2023.
Builds on
24 of 30 references.
References · 24
- 2021High-Resolution Image Synthesis with Latent Diffusion Modelscited by 18,694
- 2018The Unreasonable Effectiveness of Deep Features as a Perceptual Metriccited by 11,029
- 2017Neural Discrete Representation Learningcited by 4,650
- 2021Zero-Shot Text-to-Image Generationcited by 4,276
- 2020Taming Transformers for High-Resolution Image Synthesiscited by 3,229
- 2016Categorical Reparameterization with Gumbel-Softmaxcited by 2,708
- 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
- 2015LSUN: Construction of a Large-scale Image Dataset using Deep Learning with Humans in the Loopcited by 1,350
- 2016The Concrete Distribution: A Continuous Relaxation of Discrete Random Variablescited by 1,135
- 2019An Introduction to Variational Autoencoderscited by 997
- 2021Vector Quantized Diffusion Model for Text-to-Image Synthesiscited by 773
12 more
- 2021SoundStream: An End-to-End Neural Audio Codeccited by 756
- 2022Autoregressive Image Generation using Residual Quantizationcited by 706
- 2017OptNet: Differentiable Optimization as a Layer in Neural Networkscited by 588
- 2020Jukebox: A Generative Model for Musiccited by 535
- 2014Semi-Supervised Learning with Deep Generative Modelscited by 494
- 2019Differentiable Convex Optimization Layerscited by 458
- 2016Input Convex Neural Networkscited by 407
- 2019Understanding Straight-Through Estimator in Training Activation Quantized Neural Netscited by 225
- 2017PixelSNAIL: An Improved Autoregressive Generative Modelcited by 137
- 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
Built on by
Citing papers per year: 2024: 3; 2025: 4; 2026: 3.
10 papers.
- 2024Restructuring Vector Quantization with the Rotation Trickcited by 49
- 2024Representation Collapsing Problems in Vector Quantizationcited by 10
- 2025Discrete Tokenization for Multimodal LLMs: A Comprehensive Surveycited by 7
- 2025DiVeQ: Differentiable Vector Quantization Using the Reparameterization Trickcited by 5
- 2024Balance of Number of Embedding and their Dimensions in Vector Quantizationcited by 4
- 2025Remote Inference over Dynamic Links via Adaptive Rate Deep Task-Oriented Vector Quantizationcited by 3
- 2025Training-Free Vector Quantization via Gaussian VAEscited by 1
- 2026Early Quantization Shrinks Codebook: A Simple Fix for Diversity-Preserving Tokenizationcited by 1
- 2026Generalized Radius and Integrated Codebook Transforms for Differentiable Vector Quantizationcited by 0
- 2026What Makes a Good Medical Image Tokenizer? Rethinking Reconstruction and Generation in Medical Image Tokenizationcited by 0
- 2026What Makes a Good Medical Image Tokenizer? Rethinking Reconstruction and Generation in Medical Image Tokenization21 Sep 2026
- 2026Early Quantization Shrinks Codebook: A Simple Fix for Diversity-Preserving Tokenization17 Mar 2026
- 2026Generalized Radius and Integrated Codebook Transforms for Differentiable Vector Quantization1 Feb 2026
- 2025Training-Free Vector Quantization via Gaussian VAEs7 Dec 2025
- 2025DiVeQ: Differentiable Vector Quantization Using the Reparameterization Trick30 Sep 2025
- 2025Discrete Tokenization for Multimodal LLMs: A Comprehensive Survey21 Jul 2025
- 2025Remote Inference over Dynamic Links via Adaptive Rate Deep Task-Oriented Vector Quantization5 Jan 2025
- 2024Representation Collapsing Problems in Vector Quantization25 Nov 2024
- 2024Restructuring Vector Quantization with the Rotation Trick8 Oct 2024
- 2024Balance of Number of Embedding and their Dimensions in Vector Quantization6 Jul 2024