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

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

计算机科学 > 软件工程

arXiv:2611.40698 (cs)
[提交于 2026年11月30日]

标题:Two Views, One Fix: Multi-Modal Learning for Automated Vulnerability Repair

作者:Noah Frontzkowski, Emanuele Iannone, Riccardo Scandariato
查看论文《Two Views, One Fix: Multi-Modal Learning for Automated Vulnerability Repair》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要:Many vulnerabilities require edits in non-contiguous code regions that are connected by control- and data-flow dependencies. Token sequences represent these dependencies poorly. In a comparison of 24 source-level approaches, those that use code structure serialize it into tokens, use it to guide attention, or use it to select prompt content. None passes the graph itself to the repair model. We present GraphT5, a graph-augmented Transformer for Automated Vulnerability Repair. GraphT5 reads two views of a vulnerable function: its source code and a Vulnerability Dependence Graph (VDG), a slice of the Code Property Graph that keeps the dependencies relevant to repair. A CodeT5-initialized text encoder and a VDG encoder feed a decoder with gated dual cross-attention. We evaluate GraphT5 on 2,411 C/C++ test samples from three datasets. It outperforms VulMaster by an average relative improvement of 17.1% in Exact Match, 19.6% in BLEU-4, and 8.1% in CodeBLEU, and exceeds zero-shot GPT-4o and Gemini 2.5 Pro in static similarity on two datasets. Under dynamic validation, GraphT5 produces plausible patches for 12 of 81 Vul4C vulnerabilities, tied with the best baseline, and test-passing patches for 15 of 35 Vul4J cases, the third-highest reported total.
评论: This work was partially supported by EU-funded project Sec4AI4Sec (grant no. 101120393)
主题: 软件工程 (cs.SE)
引用方式: arXiv:2611.40698 [cs.SE]
  (或者 arXiv:2611.40698v1 [cs.SE] 对于此版本)
  https://doi.org/10.48550/arXiv.2611.40698

提交历史

来自:Noah Frontzkowski
[v1] 2026年11月30日 星期一 08:44:51 UTC (570 KB)
全文链接:

访问论文:

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

当前浏览上下文:

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

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

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