Theory-optimal Quantization Based on Flatness
Not on the map. Why?
Abstract (arXiv)
Post-training quantization has emerged as a widely adopted technique for compressing and accelerating the inference of Large Language Models (LLMs). The primary challenges in LLMs quantization stem from activation outliers, which significantly degrade model performance especially at lower bit precision. While recent approaches attempt to mitigate outliers through linear transformations across feature dimensions, our analysis reveals that the transformed weights and activations still exhibit persistent outlier patterns with concentrated magnitude distributions. In this paper, we first model the mathematical relationship between quantization error and outliers, and then introduce a new metric Flatness to quantify the distribution of outliers. Based on this, we derive the theoretical optimal solution with respect to Flatness. Building on these insights, we propose Bidirectional Diagonal Quantization (BDQ), a novel post-training quantization framework that effectively disperses outlier patterns through optimized matrix transformations. BDQ strategically distributes outlier magnitudes across matrix dimensions via learned diagonal operations. Extensive experiments demonstrate that BDQ establishes a new quantization benchmark. It achieves less than 1% accuracy drop in W4A4 quantization on the LLaMA-3-8B model. In the more challenging W2A4KV16 experiment, compared to state-of-the-art approaches, BDQ reduces the performance gap by 39.1% on the DeepSeek-R1-Distill-LLaMA-70B model.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 19 of its 30 references that are in the map. First posted on arXiv 11 May 2026.
Builds on
19 of 30 references.
References · 19
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,132
- 2019HellaSwag: Can a Machine Really Finish Your Sentence?cited by 4,100
- 2016Pointer Sentinel Mixture Modelscited by 3,096
- 2019PIQA: Reasoning about Physical Commonsense in Natural Languagecited by 2,883
- 2015Deep Compression: Compressing Deep Neural Networks with Pruning, Trained Quantization and Huffman Codingcited by 2,329
- 2022GPTQ: Accurate Post-Training Quantization for Generative Pre-trained Transformerscited by 1,919
- 2017Decoupled Weight Decay Regularizationcited by 1,831
- 2023AWQ: Activation-aware Weight Quantization for LLM Compression and Accelerationcited by 1,298
- 2016Sequence-Level Knowledge Distillationcited by 801
- 2024QuaRot: Outlier-Free 4-Bit Inference in Rotated LLMscited by 634
- 2024SpinQuant: LLM quantization with learned rotationscited by 471
- 2020Early-Learning Regularization Prevents Memorization of Noisy Labelscited by 416
7 more
- 2023QuIP: 2-Bit Quantization of Large Language Models With Guaranteescited by 414
- 2024QuIP#: Even Better LLM Quantization with Hadamard Incoherence and Lattice Codebookscited by 378
- 2022Language model compression with weighted low-rank factorizationcited by 195
- 2024FlatQuant: Flatness Matters for LLM Quantizationcited by 131
- 2025OstQuant: Refining Large Language Model Quantization with Orthogonal and Scaling Transformations for Better Distribution Fittingcited by 97
- 2018A Systematic Classification of Knowledge, Reasoning, and Context within the ARC Datasetcited by 55
- 2021Knowledge Distillation Using Hierarchical Self-Supervision Augmented Distributioncited by 13
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2024OutlierTune: Efficient Channel-Wise Quantization for Large Language Models
- 2023Rethinking Channel Dimensions to Isolate Outliers for Low-bit Weight Quantization of Large Language Models
- 2026OffQ: Taming Structured Outliers in LLM Quantization by Offsetting
- 2024DuQuant: Distributing Outliers via Dual Transformation Makes Stronger Quantized LLMs
- 2026MosaicQuant: Inlier-Outlier Disaggregation for Unified 4-Bit LLM Quantization
- 2024DFRot: Achieving Outlier-Free and Massive Activation-Free for Rotated LLMs with Refined Rotation
- 2024Mitigating the Impact of Outlier Channels for Language Model Quantization with Activation Regularization
- 2025ICQuant: Index Coding enables Low-bit LLM Quantization