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

Zhongzhi Yu, Zheng Wang, Yuhan Li, Haoran You, Ruijie Gao +4 more
6/22/2024
cs.LGcs.DC

Official code: GATECH-EIC/Edge-LLM (89 stars, last commit 2024-06-30).

Abstract

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

View on arXivView PDF

Code Implementations(1)

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

8911Shell, PythonMar 23, 20242 years ago

Similar Papers

Cite this paper

@article{yu2024edgellm,
  title  = {EDGE-LLM: Enabling Efficient Large Language Model Adaptation on Edge Devices via Layerwise Unified Compression and Adaptive Layer Tuning and Voting},
  author = {Zhongzhi Yu and Zheng Wang and Yuhan Li and Haoran You and Ruijie Gao and Xiaoya Zhou and Sreenidhi Reedy Bommu and Yang Katie Zhao and Yingyan Celine Lin},
  year   = {2024},
  eprint = {2406.15758},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2406.15758v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2406.15758.svg)](https://codeofpaper.com/paper/2406.15758)

Discussion