paperbot · PL 论文追踪

全部论文 待读 收藏

P2 A syntax-guided edit decoder for neural program repair

面向神经程序修复的语法引导编辑解码器
FSE Proceedings of the 29th ACM Joint Meeting on European Software Engineering Conference and Symposium on the Foundations of Software Engineering2021匹配度 2/10 · 论文主题是神经程序修复(APR)的语法引导编辑解码器,属于 PL×ML 的相邻方向,但未涉及用户核心关注的静态分析、形式化验证、浮点/贝叶斯程序分析,也未使用 LLM/Agent,因此与研究方向匹配度很低。引用 212 inbox
Qihao Zhu, Zeyu Sun, Yuan-an Xiao, Wenjie Zhang, Kang Yuan, Yingfei Xiong, Lu Zhang
crossref: 2026-09-12

AI 速览

一句话:提出语法引导的编辑解码器,通过直接生成编辑操作并约束语法,提升神经程序修复的补丁正确性与效率。

自动程序修复旨在提升软件开发与维护效率。近期方法多采用深度学习,尤其是编码器-解码器架构来生成补丁;尽管编码器结构不断改进,解码器仍沿用标准方式,即逐个 token 生成以替换故障语句。这种解码器存在三个局限:可能生成语法不正确的程序、无法高效表示小编辑、不能生成项目特有标识符。论文提出语法引导的编辑解码器(syntax-guided edit decoder),以针对性地缓解这些问题。不过,给出的摘要未说明具体实现、实验设置与关键结果。

问题
现有基于深度学习的自动程序修复方法多采用标准编码器-解码器,其解码器逐个 token 生成替换故障语句,存在生成语法错误程序、难以高效表示小编辑、无法生成项目特有标识符等局限。
方法
论文提出语法引导的编辑解码器(syntax-guided edit decoder),针对上述局限设计,但给出的摘要未展开具体技术细节。
评估
摘要未报告评估方式与结果,无法从给定信息判断实验设置与效果。
原文摘要(Abstract)

Automated Program Repair (APR) helps improve the efficiency of software development and maintenance. Recent APR techniques use deep learning, particularly the encoder-decoder architecture, to generate patches. Though existing DL-based APR approaches have proposed different encoder architectures, the decoder remains to be the standard one, which generates a sequence of tokens one by one to replace the faulty statement. This decoder has multiple limitations: 1) allowing to generate syntactically incorrect programs, 2) inefficiently representing small edits, and 3) not being able to generate project-specific identifiers.

链接与引用

DOI 原文 ·

BibTeX
@inproceedings{paperbot6440,
  title = {A syntax-guided edit decoder for neural program repair},
  author = {Qihao Zhu and Zeyu Sun and Yuan-an Xiao and Wenjie Zhang and Kang Yuan and Yingfei Xiong and Lu Zhang},
  booktitle = {FSE},
  year = {2021},
  doi = {10.1145/3468264.3468544}
}