# Matryoshka Quantization

- **ID:** 924
- **Kind:** paper
- **URL:** https://arxiv.org/abs/2502.06786
- **Authors:** Pranav Nair, Puranjay Datta, Jeff Dean, Prateek Jain, Aditya Kusupati
- **Venue:** arXiv 2502.06786
- **Publisher:** arXiv 2502.06786
- **Published:** 2025
- **Source:** arxiv
- **Access:** open arXiv PDF/abs
- **License:** arXiv non-exclusive
- **License family:** Other (auto-classified)
- **Tags:** matquant, matryoshka, quantization, int2, int4, deepmind, arxiv:2502.06786
- **Topics:** model quantization; multi-precision serving
- **Added:** 2026-10-02
- **Page:** https://papers.projxon.ai/entries/924

## 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.

## Attributes

- **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)

## From the source (fetched 2026-10-03)

- **Published:** Feb 10, 2025 (arXiv)
- **Last revised:** Mar 3, 2025 (arXiv)
- **arXiv categories:** cs.LG, cs.AI (arXiv)
- **Citations:** 12 (6 influential) (Semantic Scholar)
- **References:** 39 (Semantic Scholar)
- **Published in:** International Conference on Machine Learning (Semantic Scholar)

## Abstract

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.

## Research notes

- Resolved from LinkedIn philipp-schmid Matryoshka Quantization post (Discord mid 1340835820562677790).

## Cites, within this collection

- [GPTQ: Accurate Post-Training Quantization for Generative Pre-trained Transformers](https://papers.projxon.ai/entries/962) (paper 2022, #962)
- [AWQ: Activation-aware Weight Quantization for LLM Compression and Acceleration](https://papers.projxon.ai/entries/963) (paper 2023, #963)

## Similar entries

- [BitNet a4.8: 4-bit Activations for 1-bit LLMs](https://papers.projxon.ai/entries/556) (paper, #556)
- [Optimizing Large Language Model Training Using FP4 Quantization](https://papers.projxon.ai/entries/565) (paper, #565)
- [Matryoshka Language Model Suites](https://papers.projxon.ai/entries/890) (paper, #890)
- [HadaCore / Hadamard rotations for 4-bit inference (X thread by jessiedong_)](https://papers.projxon.ai/entries/887) (other, #887)
- [Disaggregated Quantization: Specializing LLM Prefill and Decode](https://papers.projxon.ai/entries/829) (paper, #829)
- [NVIDIA Model Optimizer (ModelOpt)](https://papers.projxon.ai/entries/763) (code, #763)
