arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2508.03332cs.LGcs.AI
收藏

探索分层信息有效性以实现小语言模型的后训练量化

Exploring Layer-wise Information Effectiveness for Post-Training Quantization in Small Language Models

The University of Hong Kong(香港大学);Huazhong University of Science and Technology(华中科技大学);Shenzhen International Graduate School, Tsinghua University(清华大学深圳国际研究生学院)

He Xiao, Qingyao Yang, Dirui Xie, Wendong Xu, Zunhai Su, Runming yang, Wenyong Zhou, Haobo Liu, Zhengwu Liu, Ngai Wong

AI总结:

LieQ通过分层信息有效性量化方法,在亚8B模型中实现高效低比特压缩,减少精度损失并提升边缘设备部署可行性。

摘要:

大规模语言模型拥有数十亿个参数,通常被过度配置:许多层贡献很少的唯一信息,却在推理过程中主导内存和能耗足迹。我们提出了LieQ分层信息有效性量化,一种硬件原生、指标驱动的后训练量化框架,旨在解决在亚8B模型、模型参数少于8B的情况下维持精度的关键挑战。LieQ在每层内保持统一的位宽,同时跨层混合精度,保留标准乘法内核,避免推理时的不规则内存访问、代码本或不规则格式。我们的方法揭示了分层功能显著性与表示紧凑性之间存在强相关性,表明训练诱导能量集中度较高的层在功能上不可替代。基于这一洞察,我们提出了一种纯几何驱动的敏感性代理,能够在目标平均位预算下自动分配位宽,而无需昂贵的梯度更新或基于推理的困惑度探测。在亚2位情况下,LieQ能够持续减少在Qwen3和LLaMA3.x系列上通常观察到的 naive 2位基线的大精度差距,同时保持标准内核效率。这些特性使LieQ成为在资源受限的边缘设备上部署小型语言模型的可行路径。代码将在此处提供:https://github.com/HeXiao-55/LieQ-official.git。

英文摘要:

Large language models with billions of parameters are often over-provisioned: many layers contribute little unique information yet dominate the memory and energy footprint during inference. We present LieQ Layer-wise information effectiveness Quantization, a hardware-native, metric-driven post-training quantization framework that addresses the critical challenge of maintaining accuracy in sub-8B models, model parameters less than 8B, under extreme low-bit compression. LieQ keeps uniform bit-width within each layer while mixing precision across layers, preserving standard multiplication kernels and avoiding irregular memory access, codebooks, or irregular formats at inference time. Our method uncovers a strong correlation between layer-wise functional saliency and representational compactness, revealing that layers with higher training-induced energy concentration are functionally irreplaceable. Leveraging this insight, we propose a purely geometry-driven sensitivity proxy that enables automatic bit-width allocation under a target average-bit budget without expensive gradient updates or inference-based perplexity probing. At sub 2-bit, LieQ consistently reduces the large accuracy gap typically observed for naive 2-bit baselines on Qwen3 and LLaMA3.x families, while retaining standard-kernel efficiency. These properties make LieQ a practical path toward deploying small language models on resource-constrained edge devices. Code will available here: https://github.com/HeXiao-55/LieQ-official.git.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑