paperbot · PL 论文追踪

全部论文 待读 收藏

P2 Rethinking the Capability of Fine-Tuned Language Models for Automated Vulnerability Repair

重新思考微调语言模型在自动漏洞修复中的能力
ICSE Proceedings of the 2026 IEEE/ACM 48th International Conference on Software Engineering2026匹配度 4/10 · 论文研究微调语言模型在自动漏洞修复中的评估与基准,属于 LLM 应用于软件工程,但与用户核心的静态分析、形式化验证、浮点程序分析及贝叶斯程序分析无直接关联;其提出的基于测试的基准和评测缺陷分析虽符合对 benchmark 与问题驱动研究的兴趣,但领域匹配有限。引用 3 inbox
Woorim Han, Yeongjun Kwak, Miseon Yu, Kyeongmin Kim, Younghan Lee, Hyungon Moon, Yunheung Paek
crossref: 2026-09-12dblp: 2026-09-12arxiv: 2026-09-12

AI 速览

一句话:通过语义保持变换、重新划分数据与提出基于测试的基准,揭示微调AVR模型的过拟合与评测缺陷。

基于微调语言模型的自动漏洞修复(AVR)展现出潜力,但其修复未见漏洞的能力仍存疑。本文的实证研究发现:当前最优模型常过拟合训练集,且训练、验证与测试集并非互斥;基于 token 匹配的指标也难以反映多种有效补丁。作者从三方面重新评估:第一,对测试集施加语义保持变换,检验模型学到的是稳健修复模式还是虚假特征;第二,重新划分互斥数据集以评估泛化能力;第三,提出面向学习型 AVR 的基于测试的基准 L-AVRBench,以克服匹配指标局限并考察真实修复能力。

问题
现有微调语言模型驱动的自动漏洞修复(AVR)被寄予厚望,但其对未见漏洞的修复能力、泛化性以及评测指标的有效性尚不明确。
方法
通过语义保持变换测试集、重新划分互斥的训练/验证/测试集,并构建基于测试的基准 L-AVRBench,系统评估先进 AVR 模型与匹配式指标。
评估
作者用语义保持变换、互斥数据划分和 L-AVRBench 对先进微调 AVR 模型进行实证评估,以检验其泛化与真实修复能力。
原文摘要(Abstract)

Learning-based automated vulnerability repair (AVR) techniques that utilize fine-tuned language models have shown promise in generating vulnerability patches. However, questions remain about their ability to repair unseen vulnerabilities. Our empirical study reveals that state-of-the-art models often overfit to the training set and are evaluated using training, validation, and test sets that are not mutually exclusive. Furthermore, relying on match-based metrics that compare generated patches to reference fixes at the token level has some limitations, failing to account for the possibility of various valid ways to patch the vulnerability. In this paper, we examine the capabilities of state-of-the-art fine-tuned AVR models and the adequacy of match-based evaluation metrics in three ways. First, we apply semantic-preserving transformations to test sets in order to determine whether models truly learn robust vulnerability-repair patterns or simply rely on spurious features. Second, we re-split the training, validation, and test sets to be mutually exclusive and evaluate the models on the revised test set to assess their generalization capabilities. Third, we introduce L-AVRBench, a test-based benchmark tailored for learning-based AVR, to overcome the limitations of match-based metrics and examine the AVR models’ true repair capabilities.

链接与引用

DOI 原文 · arXiv · DBLP

BibTeX
@inproceedings{abs-2512-22633,
  title = {Rethinking the Capability of Fine-Tuned Language Models for Automated Vulnerability Repair},
  author = {Woorim Han and Yeongjun Kwak and Miseon Yu and Kyeongmin Kim and Younghan Lee and Hyungon Moon and Yunheung Paek},
  booktitle = {ICSE},
  year = {2026},
  doi = {10.1145/3744916.3773167}
}