paperbot · PL 论文追踪

全部论文 待读 收藏

P2 LLMs for Defect Prediction in Evolving Datasets: Emerging Results and Future Directions

面向演化数据集的缺陷预测中的LLM:新兴结果与未来方向
FSE Proceedings of the 33rd ACM International Conference on the Foundations of Software Engineering2025匹配度 2/10 · 该论文聚焦代码库演化下的缺陷预测,属于软件工程/质量保证任务,并非用户核心关注的静态分析、Agentic程序分析、浮点程序分析或贝叶斯程序分析;虽使用LLM与持续学习,但研究目标本身偏向缺陷预测模型,与画像的PL×AI交叉较远。引用 3 inbox
Umamaheswara Sharma Bhutamapuram, Farhan Chonari, Gokul K Anilkumar, Sai Kiran Konchada
crossref: 2026-09-12

AI 速览

一句话:用动态微调与持续学习策略让LLM适应代码库演化,实现缺陷模块预测。

软件快速演化使缺陷预测模型必须频繁重训练才能保持有效,而LLM虽已广泛用于软件工程任务,其在演化数据集上的质量保障应用(尤其是缺陷预测)仍缺乏探索。本文研究动态微调技术,使LLM能够在代码库持续演化的情况下预测缺陷模块。作者首先整理了QuixBugs及多个GitHub项目构成的数据集,随后采用动态微调方法让LLM适配演化数据集,并使用弹性权重巩固(EWC)与记忆回放等持续学习策略评估模型以缓解灾难性遗忘。初步结果表明,LLaMA-LoRA、PolyCoder、StarCoder等LLM经动态微调后,在演化数据集上可取得与CodeBERT、GraphCodeBERT、CodeT5等中等规模模型相当的性能。本文据此提供了LLM用于软件质量保障的早期证据与反思,并勾勒出大规模模型缺陷预测的未来研究方向。

问题
软件持续演化导致缺陷预测模型快速失效,而LLM在演化数据集上的缺陷预测应用仍缺乏系统研究。
方法
构建QuixBugs与多个GitHub项目数据集,采用动态微调使LLM适配演化数据,并引入EWC与记忆回放等持续学习策略缓解灾难性遗忘。
评估
在演化数据集上对比LLaMA-LoRA、PolyCoder、StarCoder与CodeBERT、GraphCodeBERT、CodeT5等模型的缺陷预测性能,验证动态微调的有效性。
原文摘要(Abstract)

Software evolves rapidly, making it challenging for defect prediction models to remain effective without frequent retraining. While the Large Language Models (LLMs) have been widely used in SE tasks, their application to evolving datasets for quality assurance, particularly defect prediction, remains under-explored. This study investigates the use of dynamic fine-tuning techniques to enable LLMs to predict defective modules in the face of codebase evolution. We begin our study by curating datasets such as the publicly available QuixBugs and multiple GitHub software projects. We followed a dynamic-fine-tuning approach to adopt the LLMs for the evolving datasets. To mitigate catastrophic forgetting, the LLMs are then evaluated using continual learning strategies such as Elastic Weight Consolidation and memory replay. Preliminary results indicate that LLMs such as LLaMA-LoRA, PolyCoder, and StarCoder when dynamically fine-tuned, achieved comparative performance on medium-sized models such as CodeBERT, GraphCodeBERT, and CodeT5 across evolving datasets. Through this preliminary study, we provide early evidence and reflections on the promise of LLMs for software quality assurance and outline research directions that can shape the future of defect prediction using large-scale models.

链接与引用

DOI 原文 · PDF(开放获取) ·

BibTeX
@inproceedings{paperbot9178,
  title = {LLMs for Defect Prediction in Evolving Datasets: Emerging Results and Future Directions},
  author = {Umamaheswara Sharma Bhutamapuram and Farhan Chonari and Gokul K Anilkumar and Sai Kiran Konchada},
  booktitle = {FSE},
  year = {2025},
  doi = {10.1145/3696630.3728491}
}