跳到主要导航 跳到搜索 跳到主要内容

Beyond Dynamic Quantization: An Efficient Static Hierarchical Mix-precision Framework for Near-Lossless LLM Compression

  • Yi Zhang
  • , Kai Zhang
  • , Zheyang Li
  • , Wenming Tan*
  • , Ye Ren
  • , Jilin Hu
  • *此作品的通讯作者
  • Hangzhou Hikvision Digital Technology Co. Ltd.
  • East China Normal University

科研成果: 书/报告/会议事项章节会议稿件同行评审

摘要

Large language models (LLMs) have achieved overwhelming success but require massive storage and computational resources to support the generative inference. Post-training quantization (PTQ) is a promising approach to reduce memory usage, latency and energy consumption of the deployment of LLMs. However, the presence of outliers makes most existing PTQ methods dedicated to dynamic quantization, which turns out hardware-unfriendly and often leads to large quantization errors in static scenarios. To address the above limitations, we introduce a Static Hierarchical Mix-precision Quantization method (SHMQ), which enables near-lossless and hardware-friendly compression of LLMs. Theoretically, our proposed SHMQ quantifies both inter-layer and intra-layer sensitivity through unified derivations involving Hessian. Specifically, SHMQ conducts a systematic precision allocation strategy, which seamlessly integrates coarse-grained inter-layer and fine-grained intra-layer static mix-precision quantization. Furthermore, the permutation procedure, which reorders sensitive channels and insensitive channels that share similar distribution, is leveraged to mitigate static quantization error. Our proposed SHMQ achieves 75.58% on zero-shot reasoning tasks in W4.8A8 Qwen2.5-7B-Instruct, narrowing the accuracy gap to merely 0.13% while yielding averaged 2.86× practical speedup.

源语言英语
主期刊名EMNLP 2025 - 2025 Conference on Empirical Methods in Natural Language Processing, Proceedings of the Industry Track
编辑Saloni Potdar, Lina Rojas-Barahona, Sebastien Montella
出版商Association for Computational Linguistics (ACL)
2573-2587
页数15
ISBN(电子版)9798891763333
DOI
出版状态已出版 - 2025
活动2025 Conference on Empirical Methods in Natural Language Processing: Industry Track, EMNLP 2025 - Suzhou, 中国
期限: 4 11月 20259 11月 2025

出版系列

姓名EMNLP 2025 - 2025 Conference on Empirical Methods in Natural Language Processing, Proceedings of the Industry Track

会议

会议2025 Conference on Empirical Methods in Natural Language Processing: Industry Track, EMNLP 2025
国家/地区中国
Suzhou
时期4/11/259/11/25

联合国可持续发展目标

此成果有助于实现下列可持续发展目标:

  1. 可持续发展目标 7 - 经济适用的清洁能源
    可持续发展目标 7 经济适用的清洁能源

学术指纹

探究 'Beyond Dynamic Quantization: An Efficient Static Hierarchical Mix-precision Framework for Near-Lossless LLM Compression' 的科研主题。它们共同构成独一无二的学术指纹。

引用此