Share from 0:00
0:00
/

"LLM-Neo: Parameter Efficient Knowledge Distillation for Large Language Models"

The podcast on this paper is generated with Google's Illuminate.

LLM-Neo merges knowledge distillation with low-rank adaptation for efficient model compression

Smart fusion of Knowledge Distillation (KD) and LoRA creates memory-efficient model training

https://arxiv.org/abs/2411.06839

🎯 Original Problem:

Knowledge Distillation (KD) and Low-Rank Adaptation (LoRA) are two separate techniques for efficient LLM training, but both consume significant computational resources and lack parameter efficiency.

-----

πŸ”§ Solution in this Paper:

β†’ LLM-Neo combines KD with LoRA by introducing a low-rank branch in the student model to inherit knowledge from the teacher model

β†’ Uses weighted combination of cross-entropy loss from dataset and KL divergence between student-teacher models

β†’ Optimizes using both supervised learning and knowledge distillation components through the low-rank branch

β†’ Implements larger rank values (128) with learning rate around 2e-4 for optimal performance

-----

πŸ’‘ Key Insights:

β†’ Larger rank values consistently yield better results

β†’ Higher ranks require lower learning rates for stability

β†’ Shows compatibility with memory optimization techniques like ZeRO-1/2

β†’ Scales effectively with increased training data size

β†’ Works well with LoRA variants like MoSLoRA

-----

πŸ“Š Results:

β†’ Achieves 39.21 average score on Llama 3.1 benchmarks, 0.87 higher than LoRA

β†’ Reduces GPU memory usage by 25% compared to traditional KD

β†’ Maintains performance while significantly reducing training time

β†’ Shows consistent improvement across Llama 2 and Llama 3.1 architectures

Discussion about this video

User's avatar

Ready for more?