Matryoshka Quantization
Summary
MatQuant (Google DeepMind) co-trains/co-distills nested integer precisions so a single checkpoint can be sliced to int8/int4/int2; int2 extracted models beat standard int2 by up to ~4–7% depending on base quantizer.
- Venue
- arXiv 2502.06786
- Publisher
- arXiv 2502.06786
- Source
- arxiv
- Access
- open arXiv PDF/abs
- License
- arXiv non-exclusive
- License family
- Other
- Purpose
- Train one nested-precision quantized model (int8/4/2) and serve at chosen bit-width
- Scale
- Multi-precision QAT/OmniQuant experiments (paper)
- Domain
- model quantization; multi-precision serving
- Used for
- Flexible low-bit deployment; quantization research
- Time period
- arXiv 2025-02-10 (v3 2025-03-03); Discord LinkedIn mid 2025-02-17
- Author type
- industry research (Google DeepMind)
- Added
- Oct 2, 2026
- Found via
- #random-papers
From the source
- Published
- Feb 10, 2025
- Last revised
- Mar 3, 2025
- arXiv categories
- cs.LG, cs.AI
- Citations
- 12 (6 influential)
- References
- 39
- Published in
- International Conference on Machine Learning
Abstract (from arXiv)
Quantizing model weights is critical for reducing the communication and inference costs of large models. However, quantizing models -- especially to low precisions like int4 or int2 -- requires a trade-off in model quality; int2, in particular, is known to severely degrade model quality. Consequently, practitioners are often forced to maintain multiple models with different quantization levels or serve a single model that best satisfies the quality-latency trade-off. On the other hand, integer data types, such as int8, inherently possess a nested (Matryoshka) structure where smaller bit-width integers, like int4 or int2, are nested within the most significant bits. Leveraging this insight, in this paper, we propose Matryoshka Quantization (MatQuant), a novel multi-scale quantization technique that alleviates the aforementioned challenge. This technique allows us to train and maintain a single quantized model but serve it with the precision demanded by the deployment. Furthermore, leveraging MatQuant's co-training and co-distillation regularization, int2 precision models extracted by MatQuant outperform standard int2 quantization by up to to 4% and 7% with OmniQuant and QAT as base algorithms respectively. Finally, we demonstrate that by using an extra bit to represent outliers, a model with an effective precision of 2.05-bit gives an additional 6% improvement with OmniQuant as the base algorithm.
Tags
Topics
model quantization; multi-precision serving
Research notes
- Resolved from LinkedIn philipp-schmid Matryoshka Quantization post (Discord mid 1340835820562677790).
Cites, within this collection
Similar entries
- Paper BitNet a4.8: 4-bit Activations for 1-bit LLMs
- Paper Optimizing Large Language Model Training Using FP4 Quantization
- Paper Matryoshka Language Model Suites
- Other HadaCore / Hadamard rotations for 4-bit inference (X thread by jessiedong_)
- Paper Disaggregated Quantization: Specializing LLM Prefill and Decode
- Code NVIDIA Model Optimizer (ModelOpt)