PC-LoRA: Low-Rank Adaptation for Progressive Model Compression with Knowledge Distillation

Injoon Hwang, Haewon Park, Youngwan Lee, Jooyoung Yang, SunJae Maeng
6/13/2024
cs.CVcs.AI

No confident code implementation found for this paper.

Abstract

Low-rank adaption (LoRA) is a prominent method that adds a small number of learnable parameters to the frozen pre-trained weights for parameter-efficient fine-tuning. Prompted by the question, ``Can we make its representation enough with LoRA weights solely at the final phase of finetuning without the pre-trained weights?'' In this work, we introduce Progressive Compression LoRA~(PC-LoRA), which utilizes low-rank adaptation (LoRA) to simultaneously perform model compression and fine-tuning. The PC-LoRA method gradually removes the pre-trained weights during the training process, eventually leaving only the low-rank adapters in the end. Thus, these low-rank adapters replace the whole pre-trained weights, achieving the goals of compression and fine-tuning at the same time. Empirical analysis across various models demonstrates that PC-LoRA achieves parameter and FLOPs compression rates of 94.36%/89.1% for vision models, e.g., ViT-B, and 93.42%/84.2% parameters and FLOPs compressions for language models, e.g., BERT.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Cite this paper

@article{hwang2024pclora,
  title  = {PC-LoRA: Low-Rank Adaptation for Progressive Model Compression with Knowledge Distillation},
  author = {Injoon Hwang and Haewon Park and Youngwan Lee and Jooyoung Yang and SunJae Maeng},
  year   = {2024},
  eprint = {2406.09117},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2406.09117v1}
}

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.09117.svg)](https://codeofpaper.com/paper/2406.09117)

Discussion