SwePub
Sök i LIBRIS databas

  Utökad sökning

id:"swepub:oai:DiVA.org:kth-316694"
 

Sökning: id:"swepub:oai:DiVA.org:kth-316694" > Neural Program Repa...

Neural Program Repair with Execution-based Backpropagation

Ye, He (författare)
KTH,Teoretisk datalogi, TCS
Martinez, Matias (författare)
KTH,Teoretisk datalogi, TCS,Univ Polytech Hauts de France, Valenciennes, France.
Monperrus, Martin (författare)
KTH,Teoretisk datalogi, TCS
 (creator_code:org_t)
2022-07-05
2022
Engelska.
Ingår i: ICSE '22: Proceedings of the 44th International Conference on Software Engineering. - New York, NY, USA : Association for Computing Machinery (ACM). ; , s. 1506-1518
  • Konferensbidrag (refereegranskat)
Abstract Ämnesord
Stäng  
  • Neural machine translation (NMT) architectures have achieved promising results for automatic program repair. Yet, they have the limitation of generating low-quality patches (e.g., not compilable patches). This is because the existing works only optimize a purely syntactic loss function based on characters and tokens without incorporating program-specific information during neural network weight optimization. In this paper, we propose a novel program repair model called RewardRepair. The core novelty of RewardRepair is to improve NMT-based program repair with a loss function based on program compilation and test execution information, rewarding the network to produce patches that compile and that do not overfit. We conduct several experiments to evaluate RewardRepair showing that it is feasible and effective to use compilation and test execution results to optimize the underlying neural repair model. RewardRepair correctly repairs 207 bugs over four benchmarks. we report on repair success for 121 bugs that are fixed for the first time in the literature. Also, RewardRepair produces up to 45.3% of compilable patches, an improvement over the 39% by the state-of-the-art.

Ämnesord

HUMANIORA  -- Språk och litteratur -- Studier av enskilda språk (hsv//swe)
HUMANITIES  -- Languages and Literature -- Specific Languages (hsv//eng)
NATURVETENSKAP  -- Data- och informationsvetenskap -- Datavetenskap (hsv//swe)
NATURAL SCIENCES  -- Computer and Information Sciences -- Computer Sciences (hsv//eng)

Publikations- och innehållstyp

ref (ämneskategori)
kon (ämneskategori)

Till lärosätets databas

Hitta mer i SwePub

Av författaren/redakt...
Ye, He
Martinez, Matias
Monperrus, Marti ...
Om ämnet
HUMANIORA
HUMANIORA
och Språk och litter ...
och Studier av enski ...
NATURVETENSKAP
NATURVETENSKAP
och Data och informa ...
och Datavetenskap
Artiklar i publikationen
Av lärosätet
Kungliga Tekniska Högskolan

Sök utanför SwePub

Kungliga biblioteket hanterar dina personuppgifter i enlighet med EU:s dataskyddsförordning (2018), GDPR. Läs mer om hur det funkar här.
Så här hanterar KB dina uppgifter vid användning av denna tjänst.

 
pil uppåt Stäng

Kopiera och spara länken för att återkomma till aktuell vy