向量量化中度量普适性的代价至多为0.11比特 Price of metric universality in vector quantization is at most 0.11 bit 预印本

⚠️ 本文为 预印本(arXiv 公开版本),尚未经过正式同行评审。作者自发公开,结论未经期刊审稿验证,阅读时请知悉。
发布时间:2026-02-05
👁️ 预览文献
💡 AI 中文简介
大语言模型计算矩阵乘积时,常用低精度量化来压缩权重。理论上最优的量化码本需要根据输入数据的统计特性(如PCA方向)来定制,但这在实际中很难做到。本文证明:存在一种通用的码本,对任意输入统计特性都接近最优,其性能损失最多为每维0.11比特(当权重为高斯分布时)。这意味着可以设计一种通用的低精度存储格式,但证明是非构造性的。
领域机器学习与信息论交叉,具体为模型压缩与量化
适合谁读需要一定信息论和机器学习背景的读者
核心贡献1. 证明了存在一种通用向量量化码本,对所有输入统计特性同时接近最优,性能损失至多0.11比特/维。2. 等价地,证明了在任意Hilbert范数下,存在一个对球面同时近似最优覆盖的网。
关键数据性能损失上界为0.11比特/维;适用于高斯权重矩阵。
推荐理由如果你关心大模型压缩的极限,这篇理论文章告诉你:通用量化码本的代价小到可以忽略,但可惜证明是非构造性的。
关键词["向量量化", "权重压缩", "普适码本", "信息论", "低精度存储", "大语言模型"]

原文摘要

查看英文原文摘要

Fast computation of a matrix product $W^\top X$ is a workhorse of modern LLMs. To make their deployment more efficient, a popular approach is that of using a low-precision approximation $\widehat W$ in place of true $W$ (``weight-only quantization''). Information theory demonstrates that an optimal algorithm for reducing precision of $W$ depends on the (second order) statistics of $X$ and requires a careful alignment of vector quantization codebook with PCA directions of $X$ (a process known as ``waterfilling allocation''). Dependence of the codebook on statistics of $X$, however, is highly impractical. This paper proves that there exist a universal codebook that is simultaneously near-optimal for all possible statistics of $X$, in the sense of being at least as good as an $X$-adapted waterfilling codebook with rate reduced by 0.11 bit per dimension in the case when $W$ is Gaussian. Such universal codebook would be an ideal candidate for the low-precision storage format, a topic of active modern research, but alas the existence proof is non-constructive. Equivalently, our result shows existence of a net in $\mathbb{R}^n$ that is a nearly-optimal covering of a sphere simultaneously with respect to all Hilbert norms.