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

EDGE-LLM:通过分层统一压缩与自适应层调优投票实现边缘设备上的高效大语言模型适配

EDGE-LLM: Enabling Efficient Large Language Model Adaptation on Edge Devices via Layerwise Unified Compression and Adaptive Layer Tuning and Voting

Georgia Institute of Technology(佐治亚理工学院);University of Minnesota, Twin Cities(明尼苏达大学双城分校);University of California, Santa Barbara(加州大学圣巴巴拉分校)

Zhongzhi Yu, Zheng Wang, Yuhan Li, Haoran You, Ruijie Gao, Xiaoya Zhou, Sreenidhi Reedy Bommu, Yang Katie Zhao, Yingyan Celine Lin

AI总结:

针对边缘设备上大语言模型适配的计算与内存开销过高问题,提出含分层统一压缩、自适应层调优投票及硬件调度的Edge-LLM框架,实现2.92倍加速与4倍内存降低且精度相当。

摘要:

大语言模型(LLM)在边缘设备上的高效适配,对需要持续且保护隐私的适配与推理的应用至关重要。然而,现有调优技术因计算和内存开销过高而存在不足。为此,我们提出了一种计算和内存高效的LLM调优框架Edge-LLM,以在边缘设备上实现低成本且有效的LLM适配。具体而言,Edge-LLM包含三个核心组件:(1)分层统一压缩(LUC)技术,通过生成分层剪枝稀疏度和量化位宽策略来降低计算开销;(2)自适应层调优与投票方案,通过减少反向传播深度来降低内存开销;(3)配套的硬件调度策略,用于处理LUC和自适应层调优带来的不规则计算模式,从而实现高效的计算与数据移动。大量实验表明,与普通调优方法相比,Edge-LLM在任务精度相当的情况下,实现了2.92倍的速度提升和4倍的内存开销降低。我们的代码可在https://github.com/GATECH-EIC/Edge-LLM获取。

英文摘要:

Efficient adaption of large language models (LLMs) on edge devices is essential for applications requiring continuous and privacy-preserving adaptation and inference. However, existing tuning techniques fall short because of the high computation and memory overheads. To this end, we introduce a computation- and memory-efficient LLM tuning framework, called Edge-LLM, to facilitate affordable and effective LLM adaptation on edge devices. Specifically, Edge-LLM features three core components: (1) a layer-wise unified compression (LUC) technique to reduce the computation overhead by generating layer-wise pruning sparsity and quantization bit-width policies, (2) an adaptive layer tuning and voting scheme to reduce the memory overhead by reducing the backpropagation depth, and (3) a complementary hardware scheduling strategy to handle the irregular computation patterns introduced by LUC and adaptive layer tuning, thereby achieving efficient computation and data movements. Extensive experiments demonstrate that Edge-LLM achieves a 2.92x speed up and a 4x memory overhead reduction as compared to vanilla tuning methods with comparable task accuracy. Our code is available at https://github.com/GATECH-EIC/Edge-LLM

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

↑