A Comprehensive Evaluation of Parameter-Efficient Fine-Tuning on Software Engineering Tasks

Wentao Zou, Qi Li, Jidong Ge, Chuanyi Li, Xiaoyu Shen +2 more
12/25/2023
cs.SEcs.AIcs.CL

No confident code implementation found for this paper. 1 possible match can be shown below.

Abstract

Pre-trained models (PTMs) have achieved great success in various Software Engineering (SE) downstream tasks following the ``pre-train then fine-tune'' paradigm. As fully fine-tuning all parameters of PTMs can be computationally expensive, a widely used solution is parameter-efficient fine-tuning (PEFT), which freezes PTMs while introducing extra parameters. Though work has been done to test PEFT methods in the SE field, a comprehensive evaluation is still lacking. This paper aims to fill in this gap by evaluating the effectiveness of five PEFT methods on eight PTMs and four SE downstream tasks. For different tasks and PEFT methods, we seek answers to the following research questions: 1) Is it more effective to use PTMs trained specifically on source code, or is it sufficient to use PTMs trained on natural language text? 2) What is the impact of varying model sizes? 3) How does the model architecture affect the performance? Besides effectiveness, we also discuss the efficiency of PEFT methods, concerning the costs of required training time and GPU resource consumption. We hope that our findings can provide a deeper understanding of PEFT methods on various PTMs and SE downstream tasks. All the codes and data are available at \url{https://github.com/zwtnju/PEFT.git}.

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. 1 weaker match is hidden by default — verify before relying on them.

No code implementations found yet.

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

Similar Papers

Cite this paper

@article{zou2023comprehensive,
  title  = {A Comprehensive Evaluation of Parameter-Efficient Fine-Tuning on Software Engineering Tasks},
  author = {Wentao Zou and Qi Li and Jidong Ge and Chuanyi Li and Xiaoyu Shen and Liguo Huang and Bin Luo},
  year   = {2023},
  eprint = {2312.15614},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2312.15614v1}
}

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

Discussion