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

联合优化架构与量化选择的大语言模型压缩

LLM Compression with Jointly Optimizing Architectural and Quantization choices

UiT The Arctic University of Norway(UiT北莫斯科斯大学);University of Oslo, Norway(奥斯陆大学)

Hoang-Loc La, Truong-Thanh Le, Amir Taherkordi, Phuong Hoai Ha

AI总结:

提出一种可微神经架构搜索框架,联合优化大语言模型的架构配置与混合精度量化,实现更优的精度-延迟权衡。

摘要:

部署大型语言模型(LLM)因其巨大的内存和计算需求而具有挑战性。虽然一些方法通过从头开发小型或微型语言模型来解决这一问题,但这些方法需要大量的GPU训练。压缩预训练的LLM用于边缘设备提供了一种有吸引力的替代方案。除了剪枝和量化,神经架构搜索(NAS)能够实现有效的压缩,然而先前的NAS方法通常限制搜索空间并将架构与量化解耦。我们引入了一种可微NAS框架,该框架探索整个空间,并联合优化LLM线性层的架构配置与混合精度量化。实验表明,我们的模型在精度-延迟权衡上具有优越性:在可比精度下,我们的模型推理速度比顺序的NAS后量化基线快1.4倍,或在等效延迟下,在七个推理任务上平均精度提高高达6%。

英文摘要:

Deploying large language models (LLMs) is challenging due to their significant memory and computational requirements. While some methods address this by developing small or tiny language models from scratch, these approaches demand extensive GPU training. Compressing pre-trained LLMs for edge devices offers a compelling alternative. Beyond pruning and quantization, Neural Architecture Search (NAS) enables effective compression, yet prior NAS approaches often limit the search space and decouple architecture from quantization. We introduce a differentiable NAS framework that explores the entire space and jointly optimizes architectural configurations alongside mixed-precision quantization for linear layers of LLMs. Experiments demonstrate superior accuracy-latency trade-offs: our models achieve up to 1.4x faster inference than sequential NAS-then-quantization baselines at comparable accuracy, or up to 6% higher average accuracy across seven reasoning tasks at equivalent latency.

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

↑