LIFT: Efficient Layer-wise Fine-tuning for Large Model Models

Ligeng Zhu, Lanxiang Hu, Ji Lin, Song HanOpenReview 2024 · Submission to ICLR 2024 · Rejected

Abstract

Fine-tuning is widely applied in language language processing to adapt the model for downstream tasks. However, as model sizes grow rapidly, fine-tuning the full model is computationally expensive. Conventional studies mainly focused on parameter-efficiency, but reducing the number of trainable parameters does not translate to less backward computation and fine-tuning speedup. Parameter- efficient fine-tuning still needs to perform complete backward pass to the foremost layer to calculate required gradients. For example, Adapter reduces the trainable parameters by 275× but the fine-tuning throughput is only 1.25× better. To achieve real training throughput improvement, we propose LIFT: a Layer-wise fine-tuning strategy that only learns one layer of the Transformer architecture at a time. This approach not only reduces the number of trainable parameters but also improves the finetuning throughput. We thoroughly evaluated the effectiveness of LIFT on BERT, GPT, and LLaMA models. LIFT saves the fine-tuning memory by 3.7x and improves the throughput by 2.1x to 2.6x compared to full fine-tuning, while maintaining the quality.
BibTeX
@misc{zhu2024lift,
  author = {Ligeng Zhu and Lanxiang Hu and Ji Lin and Song Han},
  title = {{LIFT: Efficient Layer-wise Fine-tuning for Large Model Models}},
  year = {2024},
  url = {https://openreview.net/forum?id=u0INlprg3U},
  howpublished = {OpenReview},
  note = {Submitted to ICLR 2024},
}
Figure