Delving into Parameter-Efficient Fine-Tuning in Code Change Learning: An Empirical Study
Shuo Liu, Jacky Keung, Zhen Yang, Fang Liu, Qilin Zhou, Yihan Liao

TL;DR
This empirical study compares parameter-efficient fine-tuning methods, Adapter Tuning and LoRA, with full-model fine-tuning on code change tasks, demonstrating PEFT's advantages in performance, resource efficiency, and cross-lingual scenarios.
Contribution
It provides the first comprehensive evaluation of PEFT methods on dynamic code change tasks, revealing their effectiveness and explaining their success through probing analyses.
Findings
PEFT methods achieve state-of-the-art results in JIT defect prediction.
PEFT performs comparably or better than FMFT in commit message generation.
PEFT shows advantages in cross-lingual and low-resource scenarios.
Abstract
Compared to Full-Model Fine-Tuning (FMFT), Parameter Efficient Fine-Tuning (PEFT) has demonstrated superior performance and lower computational overhead in several code understanding tasks, such as code summarization and code search. This advantage can be attributed to PEFT's ability to alleviate the catastrophic forgetting issue of Pre-trained Language Models (PLMs) by updating only a small number of parameters. As a result, PEFT effectively harnesses the pre-trained general-purpose knowledge for downstream tasks. However, existing studies primarily involve static code comprehension, aligning with the pre-training paradigm of recent PLMs and facilitating knowledge transfer, but they do not account for dynamic code changes. Thus, it remains unclear whether PEFT outperforms FMFT in task-specific adaptation for code-change-related tasks. To address this question, we examine two prevalent…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsSoftware Engineering Research · Ferroelectric and Negative Capacitance Devices · Model-Driven Software Engineering Techniques
