paperbot · PL 论文追踪

全部论文 待读 收藏

P2 Exploring Parameter-Efficient Fine-Tuning of Large Language Model on Automated Program Repair

探索大语言模型在自动程序修复中的参数高效微调
ASE Proceedings of the 39th IEEE/ACM International Conference on Automated Software Engineering2024匹配度 2/10 · 该论文研究的是自动程序修复(APR)任务上对 LLM 进行参数高效微调的经验性评估,属于软件工程/代码生成范畴,既非静态分析(PL→AI),也非用 LLM 改进静态分析或形式化验证(AI→PL),更不涉及浮点或贝叶斯程序分析;其研究目标本身正是 LLM 的微调方式,恰属于用户不感兴趣的类型。引用 20 inbox
Guochang Li, Chen Zhi, Jialiang Chen, Junxiao Han, Shuiguang Deng
crossref: 2026-09-12dblp: 2026-09-12arxiv: 2026-09-12

AI 速览

一句话:构建 APR-Instruction 指令数据集,系统评估四种 PEFT 方法在自动程序修复上的效果,最佳模型多修复 58% 缺陷。

自动程序修复(APR)利用大语言模型生成补丁,但现有研究多采用全模型微调(FMFT),对参数高效微调(PEFT)在 APR 上的基于执行的评估仍有限。本文先用提示工程增强现有 APR 数据集,构建指令数据集 APR-Instruction;再用四种 PEFT 方法微调四个预训练大语言模型,并与最先进的 LLM 型 APR 技术比较。最佳模型比 SOTA 多修复 58% 的缺陷;(IA)^3 在提升模型创造力与修复能力上表现最好。作者进一步探索 PEFT 超参数最优配置、指令数据规模的影响,发现更多参数与更大训练集未必带来更优性能,并分析峰值内存与可训练参数以说明效率。数据集、权重与代码均已开源。

问题
现有自动程序修复研究主要关注全模型微调,缺乏对参数高效微调(PEFT)在 APR 上基于执行效果的系统评估。
方法
通过提示工程增强现有 APR 数据集构建 APR-Instruction 指令数据集,并用四种 PEFT 方法微调四个预训练大语言模型,同时探索超参数配置与指令数据规模的影响。
评估
在 APR 任务上与最先进的 LLM 型自动程序修复技术进行基于执行的修复效果对比,并分析峰值内存与可训练参数以评估效率。
原文摘要(Abstract)

Automated Program Repair (APR) aims to fix bugs by generating patches. And existing work has demonstrated that "pre-training and fine-tuning" paradigm enables Large Language Models (LLMs) improve fixing capabilities on APR. However, existing work mainly focuses on Full-Model Fine-Tuning (FMFT) for APR and limited research has been conducted on the execution-based evaluation of Parameter-Efficient Fine-Tuning (PEFT) for APR. Comparing to FMFT, PEFT can reduce computing resource consumption without compromising performance and has been widely adopted to other software engineering tasks.To fill this gap, we enhance the existing APR dataset by employing prompt engineering to create an instruction dataset, APR-Instruction, at first. Secondly, we fine-tune four pre-trained LLMs using four different PEFT methods with APR-Instruction. The best fine-tuned model fixes 58% more bugs than the state-of-the-art LLM-based APR techniques. The results also show that (IA)3 improves the creativity of LLMs more effectively through fine-tuning and achieves the highest fixing capability compared to the other three PEFT methods. Thirdly, we explore the optimal configuration of PEFT hyperparameters, and assess the impact of instruction dataset size, showing that a larger number of parameters and a larger training dataset do not necessarily result in better performance for PEFT. Lastly, we analyze peak memory usage and trainable parameters to show the efficiency of PEFT.This work provides a comprehensive exploration of PEFT on APR and suggests potentially promising directions for extension to other software engineering downstream tasks. APR-Instruction, PEFT weights, and the fine-tuning code are publicly available as open-source resources.

链接与引用

DOI 原文 · arXiv · DBLP

BibTeX
@inproceedings{LiZCHD24,
  title = {Exploring Parameter-Efficient Fine-Tuning of Large Language Model on Automated Program Repair},
  author = {Guochang Li and Chen Zhi and Jialiang Chen and Junxiao Han and Shuiguang Deng},
  booktitle = {ASE},
  year = {2024},
  doi = {10.1145/3691620.3695066}
}