arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2603.23575cs.LGcs.AI
收藏

APreQEL: 适应性混合精度量化用于边缘大语言模型

APreQEL: Adaptive Mixed Precision Quantization For Edge LLMs

Lab-STICC, CNRS UMR 6285 , ENSTA, Institut Polytechnique de Paris(法国巴黎理工学院STICC实验室、CNRS UMR 6285、ENSTA);National Taiwan University(台湾国立台湾大学)

Meriem Bouzouad, Yuan-Hao Chang, Jalil Boukhobza

AI总结:

本文提出了一种适应性混合精度量化方法,通过分析层间贡献和硬件平台行为,优化边缘部署中的内存、延迟和精度平衡。

摘要:

如今,大型语言模型在推理、代码生成和复杂问题解决等任务中表现出色。然而,其高计算成本和内存需求使得在边缘设备上部署面临挑战。量化是减少内存使用的常见方法,但大多数方法对所有层统一应用。这忽略了不同层对降精度的响应差异。重要的是,内存消耗和计算吞吐量不一定一致,进一步复杂化了部署决策。本文提出了一种适应性混合精度量化机制,通过分析层间贡献并推断不同量化类型在目标硬件平台上的行为,为每一层分配最合适的量化类型。这种集成确保了层重要性和整体性能权衡在设计中得到共同尊重。我们的工作解锁了均匀量化无法实现的新配置设计,扩展了解决方案空间,以高效地在资源受限设备上部署LLM。

英文摘要:

Today, large language models have demonstrated their strengths in various tasks ranging from reasoning, code generation, and complex problem solving. However, this advancement comes with a high computational cost and memory requirements, making it challenging to deploy these models on edge devices to ensure real-time responses and data privacy. Quantization is one common approach to reducing memory use, but most methods apply it uniformly across all layers. This does not account for the fact that different layers may respond differently to reduced precision. Importantly, memory consumption and computational throughput are not necessarily aligned, further complicating deployment decisions. This paper proposes an adaptive mixed precision quantization mechanism that balances memory, latency, and accuracy in edge deployment under user-defined priorities. This is achieved by analyzing the layer-wise contribution and by inferring how different quantization types behave across the target hardware platform in order to assign the most suitable quantization type to each layer. This integration ensures that layer importance and the overall performance trade-offs are jointly respected in this design. Our work unlocks new configuration designs that uniform quantization cannot achieve, expanding the solution space to efficiently deploy the LLMs on resource-constrained devices.

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

↑