paper-with-me

Papers

Soft Convex Quantization: Revisiting Vector Quantization with Convex Optimization

2023-10-04 · Tanmay Gautam, Reid Pryzant, ZiYi Yang, Chenguang Zhu, Somayeh Sojoudi

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.

📄 PDF Abstract BibTeX arXiv:2310.03004

Code (0)

등록된 구현이 없습니다.

Tasks

Image ReconstructionQuantization

Similar Papers 제목 키워드 기반

ViM-VQ: Efficient Post-Training Vector Quantization for Visual Mamba

2025-03-12 · Juncan Deng, Shuaiting Li, Zeyu Wang, Kedong Xu 외

Visual Mamba networks (ViMs) extend the selective space state model (Mamba) to various vision tasks and demonstrate significant potential. Vector quantization (VQ), on the other hand, decomposes network weights into code…

MambaQuantization

And the Bit Goes Down: Revisiting the Quantization of Neural Networks

2019-07-12 · ICLR 2020 1 · Pierre Stock, Armand Joulin, Rémi Gribonval, Benjamin Graham 외

In this paper, we address the problem of reducing the memory footprint of convolutional network architectures. We introduce a vector quantization method that aims at preserving the quality of the reconstruction of the ne…

CPUQuantization

Soft-to-Hard Vector Quantization for End-to-End Learning Compressible Representations

2017-04-03 · NeurIPS 2017 12 · Eirikur Agustsson, Fabian Mentzer, Michael Tschannen, Lukas Cavigelli 외

We present a new approach to learn compressible representations in deep architectures with an end-to-end training strategy. Our method is based on a soft (continuous) relaxation of quantization and entropy, which we anne…

Image CompressionNeural Network CompressionQuantization

From Hard to Soft: Understanding Deep Network Nonlinearities via Vector Quantization and Statistical Inference

2018-10-22 · ICLR 2019 5 · Randall Balestriero, Richard G. Baraniuk

Nonlinearity is crucial to the performance of a deep (neural) network (DN). To date there has been little progress understanding the menagerie of available nonlinearities, but recently progress has been made on understan…

Quantization

$\texttt{DoStoVoQ}$: Doubly Stochastic Voronoi Vector Quantization SGD for Federated Learning

2021-05-21 · NeurIPS 2021 12 · Louis Leconte, Aymeric Dieuleveut, Edouard Oyallon, Eric Moulines 외

The growing size of models and datasets have made distributed implementation of stochastic gradient descent (SGD) an active field of research. However the high bandwidth cost of communicating gradient updates between nod…

Federated LearningQuantization