IM-Unpack: Training and Inference with Arbitrarily Low Precision Integers
Not on the map. Why?
Abstract (arXiv)
GEneral Matrix Multiply (GEMM) is a central operation in deep learning and corresponds to the largest chunk of the compute footprint. Therefore, improving its efficiency is an active topic of ongoing research. A popular strategy is the use of low bit-width integers to approximate the original entries in a matrix. This allows efficiency gains, but often requires sophisticated techniques to control the rounding error incurred. In this work, we first verify/check that when the low bit-width restriction is removed, for a variety of Transformer-based models, whether integers are sufficient for all GEMMs need -- for em both training and inference stages, and can achieve parity with floating point counterparts. No sophisticated techniques are needed. We find that while a large majority of entries in matrices (encountered in such models) can be easily represented by em low bit-width integers, the existence of a few heavy hitter entries make it difficult to achieve efficiency gains via the exclusive use of low bit-width GEMMs alone. To address this issue, we develop a simple algorithm, Integer Matrix Unpacking (IM-Unpack), to em unpack a matrix with large integer entries into a larger matrix whose entries all lie within the representable range of arbitrarily low bit-width integers. This allows em equivalence with the original GEMM, i.e., the exact result can be obtained using purely low bit-width integer GEMMs. This comes at the cost of additional operations -- we show that for many popular models, this overhead is quite small.
Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Builds on 19 of its 26 references that are in the map. First posted on arXiv 12 Mar 2024.
Builds on
19 of 26 references.
References · 19
- 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
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,372
- 2015Deep Compression: Compressing Deep Neural Networks with Pruning, Trained Quantization and Huffman Codingcited by 2,329
- 2022SmoothQuant: Accurate and Efficient Post-Training Quantization for Large Language Modelscited by 1,386
- 2018Don't Give Me the Details, Just the Summary! Topic-Aware Convolutional Neural Networks for Extreme Summarizationcited by 1,317
- 2023QuIP: 2-Bit Quantization of Large Language Models With Guaranteescited by 414
- 2019Data-Free Quantization Through Weight Equalization and Bias Correctioncited by 336
- 2021I-BERT: Integer-only BERT Quantizationcited by 255
- 2018Training Deep Neural Networks with 8-bit Floating Point Numberscited by 164
- 2021FQ-ViT: Post-Training Quantization for Fully Quantized Vision Transformercited by 151
7 more
- 2022RepQ-ViT: Scale Reparameterization for Post-Training Quantization of Vision Transformerscited by 137
- 2022I-ViT: Integer-only Quantization for Efficient Vision Transformer Inferencecited by 95
- 2018Training and Inference with Integers in Deep Neural Networkscited by 86
- 2019Towards Unified INT8 Training for Convolutional Neural Networkcited by 79
- 2023Stable and low-precision training for large-scale vision-language modelscited by 75
- 2023Towards Accurate Post-Training Quantization for Vision Transformercited by 71
- 2023LLM-FP4: 4-Bit Floating-Point Quantized Transformerscited by 69
Built on by
Citing papers per year: 2024: 1.
1 paper.
Similar, not cited
Close in wording, no citation either way
- 2024tubGEMM: Energy-Efficient and Sparsity-Effective Temporal-Unary-Binary Based Matrix Multiply Unit
- 2022LLM.int8(): 8-bit Matrix Multiplication for Transformers at Scale
- 2025The Cambrian Explosion of Mixed-Precision Matrix Multiplication for Quantized Deep Learning Inference
- 2023Training Transformers with 4-bit Integers
- 2022FullPack: Full Vector Utilization for Sub-Byte Quantized Inference on General Purpose CPUs
- 2024An Efficient Matrix Multiplication Algorithm for Accelerating Inference in Binary and Ternary Neural Networks
- 2025Transitive Array: An Efficient GEMM Accelerator with Result Reuse
- 2021Multiplying Matrices Without Multiplying