跳到正文
arXiv (AI + Vision + Imaging)· Zhen Liu, Zhiqin Yang, Yonggang Zhang, Jianyi Liu, Jinjun Wang, Jingwen Fu·· 12 天前AI 评分28

AutoQS:用大语言模型自动设计量化策略

AutoQS: Automated Quantization Strategy Design with Large Language Models

AI 导读

AutoQS 用 LLM 自动搜索逐层与逐算子的 group-size 分配,在固定权重精度下兼顾模型质量与存储。该方法以低成本质量代理评估候选、用确定性校验保证分配兼容,并周期性执行实际量化补充实测反馈。在 Qwen2.5-7B-Instruct 上,四比特权重精度下七任务平均准确率较 uniform-group GPTQ 和 AWQ 分别提升 0.70 和 1.12 个百分点。

正文 · 原文

arXiv:2611.11975v2 Announce Type: replace Abstract: Quantization reduces LLM deployment costs, but effective strategies must balance model quality and storage. LLM-driven search can automate strategy design through repeated proposal and evaluation. This process must identify useful strategies within a limited evaluation budget. The key challenge is that \textit{actual quantization is expensive, while inexpensive proxies may not reflect quantized-model performance.} To address this challenge, we present AutoQS, an \textbf{Auto}mated \textbf{Q}uantization \textbf{S}trategy Design with LLMs. AutoQS keeps weight precision fixed and searches group-size allocations across layers and operators under deployment constraints. Evaluation history guides coordinated LLM proposals, while deterministic validation ensures compatible allocations. An inexpensive quality proxy evaluates candidates, and an candidate repository retains alternative allocations to inform subsequent proposals. Periodic actual quantization complements these proxy evaluations with measured quality and checkpoint storage, providing feedback for further search within the evaluation budget. Experiments on Qwen2.5-7B-Instruct show that AutoQS improves seven-task average accuracy over uniform-group GPTQ and AWQ by 0.70 and 1.12 percentage points, respectively, at four-bit weight precision.

来源:arXiv (AI + Vision + Imaging) · arxiv.org