Network Memory Footprint Compression Through Jointly Learnable Codebooks and Mappings
Not on the map. Why?
Abstract (arXiv)
The massive interest in deep neural networks (DNNs) for both computer vision and natural language processing has been sparked by the growth in computational power. However, this led to an increase in the memory footprint, to a point where it can be challenging to simply load a model on commodity devices such as mobile phones. To address this limitation, quantization is a favored solution as it maps high precision tensors to a low precision, memory efficient format. In terms of memory footprint reduction, its most effective variants are based on codebooks. These methods, however, suffer from two limitations. First, they either define a single codebook for each tensor, or use a memory-expensive mapping to multiple codebooks. Second, gradient descent optimization of the mapping favors jumps toward extreme values, hence not defining a proximal search. In this work, we propose to address these two limitations. First, we initially group similarly distributed neurons and leverage the re-ordered structure to either apply different scale factors to the different groups, or map weights that fall in these groups to several codebooks, without any mapping overhead. Second, stemming from this initialization, we propose a joint learning of the codebook and weight mappings that bears similarities with recent gradient-based post-training quantization techniques. Third, drawing estimation from straight-through estimation techniques, we introduce a novel gradient update definition to enable a proximal search of the codebooks and their mappings. The proposed jointly learnable codebooks and mappings (JLCM) method allows a very efficient approximation of any DNN: as such, a Llama 7B can be compressed down to 2Go and loaded on 5-year-old smartphones.
Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Builds on 38 of its 50 references that are in the map. First posted on arXiv 29 Sep 2023.
Builds on
38 of 50 references.
References · 38
- 2017Attention Is All You Needcited by 60,361
- 2015Deep Residual Learning for Image Recognitioncited by 52,096
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
- 2021High-Resolution Image Synthesis with Latent Diffusion Modelscited by 18,863
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,132
- 2015Distilling the Knowledge in a Neural Networkcited by 10,324
- 2015Faster R-CNN: Towards Real-Time Object Detection with Region Proposal Networkscited by 9,639
- 2019EfficientNet: Rethinking Model Scaling for Convolutional Neural Networkscited by 6,442
- 2018Think you have Solved Question Answering? Try ARC, the AI2 Reasoning Challengecited by 4,886
- 2018MobileNetV2: Inverted Residuals and Linear Bottleneckscited by 4,795
- 2019HellaSwag: Can a Machine Really Finish Your Sentence?cited by 4,100
26 more
- 2022OPT: Open Pre-trained Transformer Language Modelscited by 3,512
- 2016DeepLab: Semantic Image Segmentation with Deep Convolutional Nets, Atrous Convolution, and Fully Connected CRFscited by 3,241
- 2019PIQA: Reasoning about Physical Commonsense in Natural Languagecited by 2,883
- 2021CLIPScore: A Reference-free Evaluation Metric for Image Captioningcited by 2,424
- 2019BoolQ: Exploring the Surprising Difficulty of Natural Yes/No Questionscited by 2,183
- 2018Can a Suit of Armor Conduct Electricity? A New Dataset for Open Book Question Answeringcited by 2,164
- 2015Learning both Weights and Connections for Efficient Neural Networkscited by 2,031
- 2022LLM.int8(): 8-bit Matrix Multiplication for Transformers at Scalecited by 906
- 2020Up or Down? Adaptive Rounding for Post-Training Quantizationcited by 621
- 2018Quantizing deep convolutional networks for efficient inference: A whitepapercited by 521
- 2021BRECQ: Pushing the Limit of Post-Training Quantization by Block Reconstructioncited by 479
- 2022DiffusionDB: A Large-scale Prompt Gallery Dataset for Text-to-Image Generative Modelscited by 379
- 2019Data-Free Quantization Through Weight Equalization and Bias Correctioncited by 336
- 2022QDrop: Randomly Dropping Quantization for Extremely Low-bit Post-Training Quantizationcited by 180
- 2022A Fast Post-Training Pruning Framework for Transformerscited by 162
- 2019Improving Neural Network Quantization without Retraining using Outlier Channel Splittingcited by 151
- 2015Compressing Neural Networks with the Hashing Trickcited by 150
- 2022PD-Quant: Post-Training Quantization based on Prediction Difference Metriccited by 73
- 2022SQuant: On-the-Fly Data-Free Quantization via Diagonal Hessian Approximationcited by 55
- 2021PokeBNN: A Binary Pursuit of Lightweight Accuracycited by 49
- 2020BiQGEMM: Matrix Multiplication with Lookup Table For Binary-Coding-based Quantized DNNscited by 21
- 2023PowerQuant: Automorphism Search for Non-Uniform Quantizationcited by 20
- 2021RED : Looking for Redundancies for Data-Free Structured Compression of Deep Neural Networkscited by 19
- 2021RED++ : Data-Free Pruning of Deep Neural Networks via Input Splitting and Output Mergingcited by 19
- 2019Structured Multi-Hashing for Model Compressioncited by 10
- 2023NUPES : Non-Uniform Post-Training Quantization via Power Exponent Searchcited by 8
Built on by
Citing papers per year: 2025: 1.
1 paper.
Similar, not cited
Close in wording, no citation either way
- 2022A Comprehensive Survey on Model Quantization for Deep Neural Networks in Image Classification
- 2021Compact representations of convolutional neural networks via weight pruning and quantization
- 2021Pruning and Quantization for Deep Neural Network Acceleration: A Survey
- 2026Quantization-Aware Regularizers for Deep Neural Networks Compression
- 2024Joint Pruning and Channel-wise Mixed-Precision Quantization for Efficient Deep Neural Networks
- 2024Efficient Neural Compression with Inference-time Decoding
- 2025Optimizing Deep Neural Networks using Safety-Guided Self Compression
- 2024Effective Interplay between Sparsity and Quantization: From Theory to Practice