Passer à la navigation principale Passer à la recherche Passer au contenu principal

KD-LoRA: A Hybrid Approach to Efficient Fine-Tuning with LoRA and Knowledge Distillation

  • Université de Montréal
  • University of Calgary
  • CMLabs Simulations Inc.

Résultats de recherche: Contribution à un journal › Article de conférence › Revue par des pairs

1 Citation (Scopus)

Résumé

Large language models (LLMs) have demonstrated remarkable performance across various downstream tasks. However, the high computational and memory requirements of LLMs are a major bottleneck. To address this, parameter-efficient finetuning (PEFT) methods such as low-rank adaptation (LoRA) have been proposed to reduce computational costs while ensuring minimal loss in performance. Additionally, knowledge distillation (KD) has been a popular choice for obtaining compact student models from teacher models. In this work, we present KD-LoRA, a novel fine-tuning method that combines LoRA with KD. Our results demonstrate that KD-LoRA achieves performance comparable to full fine-tuning (FFT) and LoRA while significantly reducing resource requirements. Specifically, KD-LoRA retains 98% of LoRA's performance on the GLUE benchmark, while being 40% more compact. Additionally, KD-LoRA reduces GPU memory usage by 30% compared to LoRA, while decreasing inference time by 30% compared to both FFT and LoRA. We evaluate KD-LoRA across three encoder-only models: BERT, RoBERTa, and DeBERTaV3. Code is available at https://github.com/rambodazimi/KD-LoRA.

Langue originaleAnglais
Pages (de - à)73-80
Nombre de pages8
RevueProceedings of Machine Learning Research
Volume262
ÉtatPublié - 2024
Modification externeOui
Evénement4th NeurIPS Efficient Natural Language and Speech Processing Workshop - Vancouver, Canada
Durée: 14 déc. 2024 → …

Classification disciplinaire ASJC Scopus

  • Logiciel
  • Ingénierie de contrôle et des systèmes
  • Statistiques et probabilités
  • Intelligence artificielle

Empreinte digitale

Voici les principaux termes ou expressions associés à « KD-LoRA: A Hybrid Approach to Efficient Fine-Tuning with LoRA and Knowledge Distillation ». Ces libellés thématiques sont générés à partir du titre et du résumé de la publication. Ensemble, ils forment une empreinte digitale unique.

Citer cette ressource