PulseExploreJournal ClubDebatesTrendingResearchersJournals
Instagram
HomeExploreJournal ClubTrending
Synapse
⌘+K
Synapse
August 18, 2021212 citations

A syntax-guided edit decoder for neural program repair

View Full Paper
QZQihao ZhuZSZeyu SunYXYuan-an Xiao

Key Points

  • This research aims to develop a new decoder for neural program repair that addresses current limitations in generating syntactically correct programs.
  • Introduced a syntax-guided edit decoder for program repair.
  • Compared the performance of the new decoder with traditional methods in generating accurate patches.
  • Evaluated the ability to represent project-specific identifiers and small edits.
  • The syntax-guided edit decoder significantly reduces syntactic errors in generated patches.
  • Enhanced representation of small edits leads to more efficient program repairs.
  • The model demonstrates improved handling of project-specific identifiers compared to standard decoders.

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.

Ask AI
Helpful
Bookmark
Share
View Full Paper

Cite This Study

Zhu et al. (2021) studied this question.

synapsesocial.com/papers/69dc336ad50c49528a9f54fahttps://doi.org/10.1145/3468264.3468544
Ask AI
Helpful
Bookmark
Share
View Full Paper