mlsanityData to 7 Oct 2026

Soft Convex Quantization: Revisiting Vector Quantization with Convex Optimization

arXiv 2310.03004 ↗First posted 4 Oct 2023cs.LG cs.AI cs.CVcited by 10

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

  1. 2021High-Resolution Image Synthesis with Latent Diffusion Modelscited by 18,694
  2. 2018The Unreasonable Effectiveness of Deep Features as a Perceptual Metriccited by 11,029
  3. 2017Neural Discrete Representation Learningcited by 4,650
  4. 2021Zero-Shot Text-to-Image Generationcited by 4,276
  5. 2020Taming Transformers for High-Resolution Image Synthesiscited by 3,229
  6. 2016Categorical Reparameterization with Gumbel-Softmaxcited by 2,708
  7. 2013Estimating or Propagating Gradients Through Stochastic Neurons for Conditional Computationcited by 2,031
  8. 2019Generating Diverse High-Fidelity Images with VQ-VAE-2cited by 1,376
  9. 2015LSUN: Construction of a Large-scale Image Dataset using Deep Learning with Humans in the Loopcited by 1,350
  10. 2016The Concrete Distribution: A Continuous Relaxation of Discrete Random Variablescited by 1,135
  11. 2019An Introduction to Variational Autoencoderscited by 997
  12. 2021Vector Quantized Diffusion Model for Text-to-Image Synthesiscited by 773
12 more
  1. 2021SoundStream: An End-to-End Neural Audio Codeccited by 756
  2. 2022Autoregressive Image Generation using Residual Quantizationcited by 706
  3. 2017OptNet: Differentiable Optimization as a Layer in Neural Networkscited by 588
  4. 2020Jukebox: A Generative Model for Musiccited by 535
  5. 2014Semi-Supervised Learning with Deep Generative Modelscited by 494
  6. 2019Differentiable Convex Optimization Layerscited by 458
  7. 2016Input Convex Neural Networkscited by 407
  8. 2019Understanding Straight-Through Estimator in Training Activation Quantized Neural Netscited by 225
  9. 2017PixelSNAIL: An Improved Autoregressive Generative Modelcited by 137
  10. 2018Fast Decoding in Sequence Models using Discrete Latent Variablescited by 103
  11. 2023Straightening Out the Straight-Through Estimator: Overcoming Optimization Challenges in Vector Quantized Networkscited by 80
  12. 2022SQ-VAE: Variational Bayes on Discrete Representation with Self-annealed Stochastic Quantizationcited by 68

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 3; 2025: 4; 2026: 3.

10 papers.