跳到正文
EasyXiv 检索
投稿 关于 登录

按回车检索 · 直接输入编号(如 1706.03762)可跳转到论文

计算机科学 > 软件工程

arXiv:2012.11060 (cs)
[提交于 2020年12月21日 (v1),最后修订于 2023年7月22日 (此版本, v3)]

标题:Adversarial Patch Generation for Automated Program Repair

作者:Abdulaziz Alhefdhi, Hoa Khanh Dam, Thanh Le-Cong, Bach Le, Aditya Ghose
查看论文《Adversarial Patch Generation for Automated Program Repair》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要:Automated Program Repair has attracted significant research in recent years, leading to diverse techniques that focus on two main directions: search-based and semantic-based program repair. The former techniques often face challenges due to the vast search space, resulting in difficulties in identifying correct solutions, while the latter approaches are constrained by the capabilities of the underlying semantic analyser, limiting their scalability. In this paper, we propose NEVERMORE, a novel learning-based mechanism inspired by the adversarial nature of bugs and fixes. NEVERMORE is built upon the Generative Adversarial Networks architecture and trained on historical bug fixes to generate repairs that closely mimic human-produced fixes. Our empirical evaluation on 500 real-world bugs demonstrates the effectiveness of NEVERMORE in bug-fixing, generating repairs that match human fixes for 21.2% of the examined bugs. Moreover, we evaluate NEVERMORE on the Defects4J dataset, where our approach generates repairs for 4 bugs that remained unresolved by state-of-the-art baselines. NEVERMORE also fixes another 8 bugs which were only resolved by a subset of these baselines. Finally, we conduct an in-depth analysis of the impact of input and training styles on NEVERMORE's performance, revealing where the chosen style influences the model's bug-fixing capabilities.
主题: 软件工程 (cs.SE)
引用方式: arXiv:2012.11060 [cs.SE]
  (或者 arXiv:2012.11060v3 [cs.SE] 对于此版本)
  https://doi.org/10.48550/arXiv.2012.11060

提交历史

来自:Abdulaziz Alhefdhi
[v1] 2020年12月21日 星期一 00:34:29 UTC
[v2] 2020年12月30日 星期三 10:29:05 UTC
[v3] 2023年7月22日 星期六 10:41:43 UTC
全文链接:

访问论文:

  • 查看原文 PDF
  • 中文 PDF (下批处理)
  • EasyResearch 阅读
  • TeX 源文件
  • arXiv 原文页面
查看许可

当前浏览上下文:

cs.SE
< 上一篇   |   下一篇 >
最新 | 近期 | 2023-07
切换浏览方式为:
cs

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

EasyXiv 是独立运营的中文预印本站点,与 arXiv 及康奈尔大学无隶属关系。 论文元数据与原文来自 arXiv.org,感谢 arXiv 提供开放获取服务。
关于 · 帮助 · 投稿指南 · 版权 · arXiv 原站