Statistically-Lossless Quantization of Large Language Models

Michael Helcig, Eldar Kurtic, Dan Alistarh
5/4/2026
7 citations
cs.LG
quantization-pruning

Official code: IST-DASLab/SLQ (34 stars, Python, Apache-2.0, last commit 2026-10-08).

Abstract

Model quantization has become essential for efficient large language model deployment, yet existing approaches present clear trade-offs: methods such as GPTQ and AWQ achieve practical compression but are lossy, while lossless techniques preserve fidelity but lack inference acceleration. This paper explores the middle ground of statistically-lossless compression, examining three complementary aspects of what losslessness means for quantized LLMs.

Show full abstract

First, task-lossless compression preserves zero-shot benchmark accuracy within natural sampling variance and is achievable at aggressive bitwidths. Second, we formalize the stricter notion of distribution-lossless compression, requiring the quantized model's next-token distribution to be practically indistinguishable from the original, and propose the Expected Acceptance Rate (EAR), the maximum token-agreement probability under optimal coupling, as a directly interpretable fidelity metric. For example, EAR >= 0.99 means 99% agreement. Third, we prove a gamma-squared variance law showing that symmetric quantization inflates noise variance by gamma^2 relative to asymmetric quantization, making asymmetric quantization a prerequisite for distribution-lossless fidelity but not for task-level preservation. Through SLQ, a layer-wise non-uniform method with asymmetric quantization and wide bitwidth search, we obtain task-lossless compression at well below 4 bits per parameter, as low as 3.3 bits depending on the model, distribution-lossless compression at 5-6 bits per parameter on average, and inference speedups of 1.7-3.7x compared to FP16 using optimized kernels. Source code is available at [https://github.com/IST-DASLab/SLQ](https://github.com/IST-DASLab/SLQ).

View on arXivView PDF

Code Implementations(1)

IST-DASLab/SLQOfficial100%
Apache-2.0

Statistically-Lossless Quantization of Large Language Models

346Python, ShellMay 1, 20261 months agoApache-2.0

Similar Papers

Cite this paper

@article{helcig2026statisticallylossless,
  title  = {Statistically-Lossless Quantization of Large Language Models},
  author = {Michael Helcig and Eldar Kurtic and Dan Alistarh},
  year   = {2026},
  eprint = {2605.02404},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2605.02404v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2605.02404.svg)](https://codeofpaper.com/paper/2605.02404)

Discussion