EDGE-LLM: �Enabling Efficient Large Language Model Adaptation on Edge Devices via Layer-wise Unified Compression and Adaptive Layer Tuning and Voting
Georgia Institute of Technology
Zhongzhi Yu, Zheng Wang, Yuhan Li, Haoran You, Ruijie Gao, Xiaoya Zhou, Sreenidhi Reedy Bommu, Yang (Katie) Zhao, Yingyan (Celine) Lin
Motivation: Tuning LLMs on the Edge is Highly Demanding
Motivation: Tuning LLMs on the Edge is Highly Demanding
Healthcare
Personal Assistant
Security
Challenge: Costly LLMs Prohibits Edge Tuning
Challenge: Costly LLMs Prohibits Edge Tuning
Challenge: Costly LLMs Prohibits Edge Tuning
Challenge: Costly LLMs Prohibits Edge Tuning
Where Are We: Existing Solutions for Efficient Tuning
LoRA [E. Hu, ICLR 2022], one of the most commonly �adopted parameter-efficient tuning techniques
Where Are We: Existing Solutions for Efficient Tuning
Where Are We: Existing Solutions for Efficient Tuning
Open Question: How to compress?
Further reduce computation with minimal impact to accuracy
Where Are We: Existing Solutions for Efficient Tuning
Where Are We: Existing Solutions for Efficient Tuning
Open Question: How to Update?
Memory efficient approach to update early layers
Where Are We: Summary of Existing Solutions
Category | Computation | Memory |
Parameter-efficient tuning | | |
Compression-then-tuning | | |
Partial tuning | | |
Where Are We: Summary of Existing Solutions
Category | Computation | Memory |
Parameter-efficient tuning | | |
Compression-then-tuning | | |
Partial tuning | | |
Dir. 1: Compress the model
Dir. 2: Reduce backprop. depth
Where Are We: Summary of Existing Solutions and Open Questions
Category | Computation | Memory |
Parameter-efficient tuning | | |
Compression-then-tuning | | |
Partial tuning | | |
Dir. 1: Compress the model
Question 1:
How to compress?
Dir. 2: Reduce backprop. depth
Question 2:
How to update?
Where Are We: Summary of Existing Solutions and Open Questions
Category | Computation | Memory |
Parameter-efficient tuning | | |
Compression-then-tuning | | |
Partial tuning | | |
??? | | |
Dir. 1: Compress the model
Question 1:
How to compress?
Dir. 2: Reduce backprop. depth
Question 2:
How to update?
Marry the merit
Question 3:
How to combine?
Where Are We: Summary of Existing Solutions and Open Questions
Category | Computation | Memory |
Parameter-efficient tuning | | |
Compression-then-tuning | | |
Partial tuning | | |
Edge-LLM (Proposed) | | |
Dir. 1: Compress the model
Question 1:
How to compress?
Dir. 2: Reduce backprop. depth
Question 2:
How to update?
Marry the merit
Question 3:
How to combine?
Edge-LLM: Overview
Edge-LLM: Key Enablers
How to compress the model?
Enabler 1:
Layer-wise unified compression
Edge-LLM: Key Enablers
How to compress the model?
Enabler 1:
Layer-wise unified compression
How to update all layers?�Enabler 2:
Adaptive layer tuning and voting
Edge-LLM: Key Enablers
How to compress the model?
Enabler 1:
Layer-wise unified compression
How to update all layers?�Enabler 2:
Adaptive layer tuning and voting
How to combine above techniques? �Enabler 3:
A hardware scheduling module
Edge-LLM: Key Enablers
How to compress the model?
Enabler 1:
Layer-wise unified compression
How to update all layers?�Enabler 2:
Adaptive layer tuning and voting
How to combine above techniques? �Enabler 3:
A hardware scheduling module
Edge-LLM: Enabler 1 - Layer-Wise Unified Compression
Edge-LLM: Enabler 1 - Layer-Wise Unified Compression
Quantization
Pruning
Edge-LLM: Enabler 1 - Layer-Wise Unified Compression
Quantization
Pruning
A layer-wise compression policy is needed
Edge-LLM: Enabler 1 - Layer-Wise Unified Compression
Edge-LLM: Enabler 1 - Layer-Wise Unified Compression
Pruning
Edge-LLM: Enabler 1 - Layer-Wise Unified Compression
Quantization
Edge-LLM: Key Enablers
How to compress the model?
Enabler 1:
Layer-wise unified compression
How to update all layers?�Enabler 2:
Adaptive layer tuning and voting
How to combine above techniques? �Enabler 3:
A hardware scheduling module
Edge-LLM: Key Enablers
How to compress the model?
Enabler 1:
Layer-wise unified compression
How to update all layers?�Enabler 2:
Adaptive layer tuning and voting
How to combine above techniques? �Enabler 3:
A hardware scheduling module
Edge-LLM: Enabler 2 - Adaptive Layer Tuning
Edge-LLM: Enabler 2 - Adaptive Layer Tuning
Edge-LLM: Enabler 2 - Adaptive Layer Tuning
Can the tuned LLM do even better?
Edge-LLM: Enabler 2 - Adaptive Layer Voting
Edge-LLM: Enabler 2 - Adaptive Layer Voting
Edge-LLM: Enabler 2 - Adaptive Layer Voting
Edge-LLM: Key Enablers
How to compress the model?
Enabler 1:
Layer-wise unified compression
How to update all layers?�Enabler 2:
Adaptive layer tuning and voting
How to combine above techniques? �Enabler 3:
A hardware scheduling module
Edge-LLM: Key Enablers
How to compress the model?
Enabler 1:
Layer-wise unified compression
How to update all layers?�Enabler 2:
Adaptive layer tuning and voting
How to combine above techniques? �Enabler 3:
A hardware scheduling module
Edge-LLM: Enabler 3 - Hardware Scheduling Module
Edge-LLM: Enabler 3 - Hardware Scheduling Module
Edge-LLM: Enabler 3 - Hardware Scheduling Module
Edge-LLM: Enabler 3 - Hardware Scheduling Module
Search space
Edge-LLM: Enabler 3 - Hardware Scheduling Module
Search space
Evaluation Setup
Evaluation Results
Scan Me
Project Page
EDGE-LLM: �Enabling Efficient Large Language Model Adaptation on Edge Devices via Layer-wise Unified Compression and Adaptive Layer Tuning and Voting
1Georgia Institute of Technology, 2University of Minnesota, Twin Cities, 3University of California, Santa Barbara
Zhongzhi Yu1, Zheng Wang1, Yuhan Li1, Haoran You1, Ruijie Gao1, Xiaoya Zhou3, Sreenidhi Reedy Bommu1, Yang (Katie) Zhao2, Yingyan (Celine) Lin1