Benford's Law as a Distributional Prior for Post-Training Quantization of Large Language Models

arXiv:2602.00165 · cs.LG · Submitted 2026-01-29 · Read on arXiv

cs.LG

Submitted: 2026-01-29

Updated: 2026-09-10

Comments: Accepted paper in Transactions on Machine Learning Research (TMLR). Link to OpenReview: https://openreview.net/forum?id=YiLcQY4Nje

Code: https://github.com/ufopcsilab/benford-quant

License: http://creativecommons.org/licenses/by/4.0/

The gist: Post-training quantization (PTQ) is a practical way to reduce the memory footprint of large language models, but low-bit quantization is sensitive to mismatches between the quantization codebook and

Terminology

Abstract

Post-training quantization (PTQ) is a practical way to reduce the memory footprint of large language models, but low-bit quantization is sensitive to mismatches between the quantization codebook and the empirical weight/activation distributions. We revisit Benford-like leading-digit statistics as a lightweight diagnostic of scale-broad behavior in transformer tensors. Across several model families, we observe a consistent functional dichotomy: transformational nn.Linear weights tend to be Benford-like, whereas LayerNorm parameters systematically deviate. Motivated by this observation, we propose BenQ, a data-free PTQ codebook that uses a simple log-spaced grid as a proxy for scale-broad distributions and applies it selectively to transformational layers while keeping stability-critical parameters in higher precision. In 4-bit group-wise PTQ, BenQ consistently improves over uniform RTN and trades wins with NF4 across architectures and tasks, while remaining substantially simpler than optimization-based methods. We additionally report dynamic activation quantization as an exploratory stress test: the results show that log-spaced grids can reduce RTN failures in some families, but also reveal that outlier handling remains essential for reliable low-bit activation PTQ. Code is available at https://github.com/ufopcsilab/benford-quant.

Sources

Related papers