Experimental Evaluation of Parameter-Efficient Fine-Tuning for Software Engineering Tasks
Pre-trained models (PTMs) have succeeded in various software engineering (SE) tasks following the “pre-train then fine-tune” paradigm. As fully fine-tuning all parameters of PTMs can be computationally expensive, a potential solution is parameter-efficient fine-tuning (PEFT), which freezes PTMs while introducing extra parameters. Although PEFT methods have been applied to SE tasks, researchers often focus on specific scenarios and lack a comprehensive comparison of PTMs from different aspects such as field, size, and architecture. To fill this gap, we have conducted an empirical study on six PEFT methods, eight PTMs, and four SE tasks. The experimental results reveal several noteworthy findings. For example, model architecture has little impact on PTM performance when using PEFT methods. Additionally, we provide a comprehensive discussion of PEFT methods from three perspectives. First, we analyze the effectiveness and efficiency of PEFT methods. Second, we explore the impact of the scaling factor hyperparameter. Finally, we investigate the application of PEFT methods on the latest open source large language model, Llama 3.2. These findings provide valuable insights to guide future researchers in effectively applying PEFT methods to SE tasks.
Authors
- LiGuo Huang (ORCID: https://orcid.org/0000-0001-7790-0195)
- Jidong Ge (ORCID: https://orcid.org/0000-0003-1773-0942)
- Xiang Chen (ORCID: https://orcid.org/0000-0002-1180-3891)
- Bin Luo (ORCID: https://orcid.org/0009-0001-1102-9584)
- Xiaoyu Shen (ORCID: https://orcid.org/0000-0002-0217-2469)
- Chuanyi Li (ORCID: https://orcid.org/0000-0001-9270-5072)
- Wentao Zou
- Qi Li
- Zongwen Shen
Institutions
- Southern Methodist University (US)
- Nantong University (CN)
- Nanjing University (CN)
Publication Details
- Journal
- ACM Transactions on Software Engineering and Methodology
- Published
- 2025-03-07
- DOI
- https://doi.org/10.1145/3722107
- Primary Topic
- Software Engineering Research
- Type
- article
- Field-Weighted Citation Impact
- 0.00