{
  "id": 924,
  "kind": "paper",
  "title": "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.",
  "body": "",
  "notes": "Resolved from LinkedIn philipp-schmid Matryoshka Quantization post (Discord mid 1340835820562677790).",
  "url": "https://arxiv.org/abs/2502.06786",
  "links": [],
  "authors": [
    "Pranav Nair",
    "Puranjay Datta",
    "Jeff Dean",
    "Prateek Jain",
    "Aditya Kusupati"
  ],
  "tags": [
    "matquant",
    "matryoshka",
    "quantization",
    "int2",
    "int4",
    "deepmind",
    "arxiv:2502.06786"
  ],
  "topics": "model quantization; multi-precision serving",
  "venue": "arXiv 2502.06786",
  "publisher": "arXiv 2502.06786",
  "source": "arxiv",
  "language": "",
  "access": "open arXiv PDF/abs",
  "license": "arXiv non-exclusive",
  "published_year": 2025,
  "added_at": "2026-10-02T23:40:42.683Z",
  "verified_at": null,
  "attrs": {
    "scale": "Multi-precision QAT/OmniQuant experiments (paper)",
    "domain": "model quantization; multi-precision serving",
    "purpose": "Train one nested-precision quantized model (int8/4/2) and serve at chosen bit-width",
    "used_for": "Flexible low-bit deployment; quantization research",
    "author_type": "industry research (Google DeepMind)",
    "time_period": "arXiv 2025-02-10 (v3 2025-03-03); Discord LinkedIn mid 2025-02-17"
  },
  "enrichment": {
    "s2": {
      "venue": "International Conference on Machine Learning",
      "paper_id": "435bfa10019bd82df46b5a4a08fb7abd9cf3838e",
      "published": "2025-02-10",
      "fetched_at": "2026-10-03T14:59:06.905Z",
      "citation_count": 12,
      "reference_count": 39,
      "influential_citation_count": 6
    },
    "arxiv": {
      "id": "2502.06786",
      "title": "Matryoshka Quantization",
      "authors": [
        "Pranav Nair",
        "Puranjay Datta",
        "Jeff Dean",
        "Prateek Jain",
        "Aditya Kusupati"
      ],
      "updated": "2025-03-03",
      "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.",
      "published": "2025-02-10",
      "categories": [
        "cs.LG",
        "cs.AI"
      ],
      "fetched_at": "2026-10-03T14:59:06.905Z"
    }
  },
  "enriched_at": "2026-10-03T14:59:06.944Z",
  "license_class": "other",
  "langs": [],
  "modalities": [],
  "size_class": null,
  "provenance": {
    "channel": "random-papers",
    "legacy_paper_id": "1313"
  },
  "visibility": "public",
  "status": "active",
  "duplicate_of": null,
  "origin": "legacy",
  "created_at": "2026-10-03T12:29:06.561Z",
  "updated_at": "2026-10-03T12:29:06.561Z",
  "page": "https://papers.projxon.ai/entries/924",
  "markdown": "https://papers.projxon.ai/entries/924.md",
  "api": "https://papers.projxon.ai/api/entries/924",
  "relations": [
    {
      "relation": "cites",
      "direction": "out",
      "note": "",
      "via": "citations",
      "entry": {
        "id": 962,
        "kind": "paper",
        "title": "GPTQ: Accurate Post-Training Quantization for Generative Pre-trained Transformers",
        "summary": "Generative Pre-trained Transformer models, known as GPT or OPT, set themselves apart through breakthrough performance across complex language modelling tasks, but also by their extremely high computational and storage costs. Specifically, due to their massive size, even inference for large, highly-accurate GPT models m…",
        "url": "https://arxiv.org/abs/2210.17323",
        "authors": [
          "Frantar",
          "Elias",
          "Ashkboos",
          "Saleh",
          "Hoefler",
          "Torsten",
          "Alistarh",
          "Dan"
        ],
        "tags": [
          "arxiv",
          "2210-17323",
          "quantization-efficiency",
          "linkedin-thread"
        ],
        "venue": "arXiv 2210.17323",
        "source": "arxiv",
        "license": "",
        "published_year": 2022,
        "added_at": "2026-09-15T00:46:23.000Z",
        "has_dataset_profile": false,
        "license_class": "unknown",
        "langs": [],
        "modalities": [],
        "size_class": null,
        "citation_count": 2668,
        "downloads": null,
        "stars": null,
        "page": "https://papers.projxon.ai/entries/962",
        "markdown": "https://papers.projxon.ai/entries/962.md",
        "api": "https://papers.projxon.ai/api/entries/962"
      }
    },
    {
      "relation": "cites",
      "direction": "out",
      "note": "",
      "via": "citations",
      "entry": {
        "id": 963,
        "kind": "paper",
        "title": "AWQ: Activation-aware Weight Quantization for LLM Compression and Acceleration",
        "summary": "Large language models (LLMs) have transformed numerous AI applications. On-device LLM is becoming increasingly important: running LLMs locally on edge devices can reduce the cloud computing cost and protect users' privacy. However, the astronomical model size and the limited hardware resource pose significant deploymen…",
        "url": "https://arxiv.org/abs/2306.00978",
        "authors": [
          "Lin",
          "Ji",
          "Tang",
          "Jiaming",
          "Haotian",
          "Yang",
          "Shang",
          "Chen",
          "Wei-Ming",
          "Wang",
          "Wei-Chen",
          "Xiao",
          "Guangxuan",
          "Dang",
          "Xingyu",
          "et al. (10 authors)"
        ],
        "tags": [
          "arxiv",
          "2306-00978",
          "ocr-vision-language",
          "quantization-efficiency",
          "linkedin-thread"
        ],
        "venue": "arXiv 2306.00978",
        "source": "arxiv",
        "license": "",
        "published_year": 2023,
        "added_at": "2026-09-15T00:46:23.000Z",
        "has_dataset_profile": false,
        "license_class": "unknown",
        "langs": [],
        "modalities": [],
        "size_class": null,
        "citation_count": 1868,
        "downloads": null,
        "stars": null,
        "page": "https://papers.projxon.ai/entries/963",
        "markdown": "https://papers.projxon.ai/entries/963.md",
        "api": "https://papers.projxon.ai/api/entries/963"
      }
    }
  ],
  "duplicates": [],
  "similar": [
    {
      "id": 556,
      "kind": "paper",
      "title": "BitNet a4.8: 4-bit Activations for 1-bit LLMs",
      "summary": "Hybrid recipe: INT4 activations into attention/FFN, plus sparsify then 8-bit on outlier-heavy intermediate states. Two-stage continue-training from BitNet b1.58 (W1.58A8 then W1.58A4; last 5B tokens for the 4-bit stage). Matches b1.58 at equal train cost while enabling 4-bit kernels; ~55% of parameters activated and 3-bit KV cache. 7B: 44.5% overall sparsity / 3.4B active vs b1.58 6.0B; a 2B model on 2T tokens stays at parity with b1.58. No official code on abs.",
      "url": "https://arxiv.org/abs/2411.04965",
      "authors": [
        "Hongyu Wang",
        "Shuming Ma",
        "Furu Wei"
      ],
      "tags": [
        "bitnet",
        "quantization",
        "1-bit",
        "int4",
        "sparsity",
        "microsoft",
        "activation-quantization"
      ],
      "venue": "arXiv / Microsoft Research / University of Chinese Academy of Sciences",
      "source": "",
      "license": "",
      "published_year": 2024,
      "added_at": "2026-10-01T16:45:05.207Z",
      "has_dataset_profile": false,
      "license_class": "unknown",
      "langs": [],
      "modalities": [],
      "size_class": null,
      "citation_count": 22,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/556",
      "markdown": "https://papers.projxon.ai/entries/556.md",
      "api": "https://papers.projxon.ai/api/entries/556"
    },
    {
      "id": 565,
      "kind": "paper",
      "title": "Optimizing Large Language Model Training Using FP4 Quantization",
      "summary": "First from-scratch FP4 LLM pretraining: Differentiable Gradient Estimator (DGE, k=5) corrects E2M1 weight grads vs STE, and Outlier Clamping and Compensation (OCC, α=0.99 plus a ~2% sparse residual) keeps activations from collapsing. Mixed-precision W4A4 GeMM simulated on H100 FP8 cores with token-wise activation and channel-wise weight scaling. LLaMA-2 1.3B/7B/13B on 100B DCLM tokens: train loss 2.55/2.17/1.97 vs BF16 2.49/2.07/1.88; zero-shot avg 53.13/54.42/54.95 vs 53.23/53.87/54.44. Direct W4A4 diverges. ICML 2025. Framework https://aka.ms/MS.AMP (Azure/MS-AMP).",
      "url": "https://arxiv.org/abs/2501.17116",
      "authors": [
        "Ruizhe Wang",
        "Yeyun Gong",
        "Xiao Liu",
        "Guoshuai Zhao",
        "Ziyue Yang",
        "Baining Guo",
        "Zhengjun Zha",
        "Peng Cheng"
      ],
      "tags": [
        "fp4",
        "quantization",
        "dge",
        "occ",
        "mixed-precision",
        "llama2",
        "dclm",
        "icml",
        "microsoft",
        "e2m1"
      ],
      "venue": "arXiv / Microsoft Research Asia / University of Science and Technology of China",
      "source": "",
      "license": "",
      "published_year": 2025,
      "added_at": "2026-10-01T16:45:06.278Z",
      "has_dataset_profile": false,
      "license_class": "unknown",
      "langs": [],
      "modalities": [],
      "size_class": null,
      "citation_count": 62,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/565",
      "markdown": "https://papers.projxon.ai/entries/565.md",
      "api": "https://papers.projxon.ai/api/entries/565"
    },
    {
      "id": 890,
      "kind": "paper",
      "title": "Matryoshka Language Model Suites",
      "summary": "Stacks 500M / 1.5B / 3B sub-models in one nested architecture trained end-to-end. Claims parity with independently trained baselines on benches and perplexity while using 36% less training compute and improving speculative-decoding throughput 14–26%. Ablates architectural choices for building Matryoshka suites.",
      "url": "https://arxiv.org/abs/2608.09703",
      "authors": [
        "Nathan Godey",
        "Yoav Artzi"
      ],
      "tags": [
        "matryoshka",
        "nested-lm",
        "speculative-decoding",
        "training-efficiency",
        "cornell"
      ],
      "venue": "arXiv",
      "source": "arxiv",
      "license": "arXiv perpetual non-exclusive license 1.0",
      "published_year": 2026,
      "added_at": "2026-09-14T16:38:04.000Z",
      "has_dataset_profile": false,
      "license_class": "other",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": 0,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/890",
      "markdown": "https://papers.projxon.ai/entries/890.md",
      "api": "https://papers.projxon.ai/api/entries/890"
    },
    {
      "id": 887,
      "kind": "other",
      "title": "HadaCore / Hadamard rotations for 4-bit inference (X thread by jessiedong_)",
      "summary": "Thread explains mixing values via Hadamard rotations before rounding to reduce int4 quantization error (claims 3.9× error drop on eight artificial outliers), pointing at the PyTorch HadaCore blog framing of distributing extreme values across dimensions.",
      "url": "https://pytorch.org/blog/hadacore/",
      "authors": [
        "Jessie Dong (@jessiedong_)",
        "references PyTorch HadaCore blog"
      ],
      "tags": [
        "hadamard",
        "hadacore",
        "int4",
        "quantization",
        "twitter",
        "pytorch"
      ],
      "venue": "X / PyTorch Blog",
      "source": "blog",
      "license": "",
      "published_year": null,
      "added_at": "2026-09-14T16:30:00.000Z",
      "has_dataset_profile": false,
      "license_class": "unknown",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": null,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/887",
      "markdown": "https://papers.projxon.ai/entries/887.md",
      "api": "https://papers.projxon.ai/api/entries/887"
    },
    {
      "id": 829,
      "kind": "paper",
      "title": "Disaggregated Quantization: Specializing LLM Prefill and Decode",
      "summary": "Disaggregated quantization (DQ): separate computation formats, weights, and storage placement specialized to prefill vs decode -- low-precision arithmetic accelerates prompt processing, compact weights reduce memory traffic during generation. Removing activation quantization on decode improves accuracy on decode-heavy tasks without added inference cost (Qwen 3, Gemma 3). Separate compute-native prefill weights accelerate prompt processing vs weight-only inference while matching/exceeding its accuracy at 2-3-bit decode. Training an NVFP4 prefiller improves 1-bit accuracy by 32.5 points on MMLU-Pro and 35.3 on MMMU-Pro without modifying the decode checkpoint (Qwen3.8-27B GGUF decoder). \"Offloaded disaggregated prefill\" (ODP) streams the extra prefill checkpoint from SSD, amortizing loading over prompt length: 1.78x time-to-first-token speedup over the weight-only baseline at 8K prompt length in llama.cpp. Accuracy evaluated under disaggregated serving in vLLM; shared-weight format disaggregation validated via PTQ on models up to 2.8T parameters.",
      "url": "https://huggingface.co/papers/2609.26333",
      "authors": [
        "Andrei Panferov",
        "Maximilian Kleinegger",
        "Sweta Priyadarshi",
        "Tijmen Blankevoort",
        "Dan Alistarh"
      ],
      "tags": [
        "quantization",
        "inference",
        "prefill",
        "decode",
        "nvfp4",
        "low-bit-inference",
        "serving"
      ],
      "venue": "IST Austria Distributed Algorithms and Systems Lab (arXiv 2026-09-21; HF #2 Paper of the Day)",
      "source": "paper_page",
      "license": "",
      "published_year": 2026,
      "added_at": "2026-09-30T00:00:00.000Z",
      "has_dataset_profile": false,
      "license_class": "unknown",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": 0,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/829",
      "markdown": "https://papers.projxon.ai/entries/829.md",
      "api": "https://papers.projxon.ai/api/entries/829"
    },
    {
      "id": 763,
      "kind": "code",
      "title": "NVIDIA Model Optimizer (ModelOpt)",
      "summary": "NVIDIA's unified open-source library of state-of-the-art model optimization techniques — post-training quantization, quantization-aware training/distillation, pruning, distillation, neural architecture search, speculative decoding, and sparsity. Takes Hugging Face, PyTorch, or ONNX models and exports optimized quantized checkpoints ready for TensorRT-LLM, TensorRT, vLLM, or SGLang deployment.",
      "url": "https://github.com/NVIDIA/Model-Optimizer",
      "authors": [
        "NVIDIA"
      ],
      "tags": [
        "quantization",
        "pruning",
        "distillation",
        "inference-optimization",
        "nvfp4",
        "deployment"
      ],
      "venue": "GitHub",
      "source": "github",
      "license": "Apache-2.0",
      "published_year": 2024,
      "added_at": "2026-09-29T00:00:00.000Z",
      "has_dataset_profile": false,
      "license_class": "permissive",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": null,
      "downloads": null,
      "stars": 5186,
      "page": "https://papers.projxon.ai/entries/763",
      "markdown": "https://papers.projxon.ai/entries/763.md",
      "api": "https://papers.projxon.ai/api/entries/763"
    }
  ]
}
