Adversarial Patch Generation for Automatic Program Repair
AI-generated Key Points
- Automatic program repair (APR) has gained significant attention in recent years
- Search-based techniques are a popular approach in APR, involving generating repair candidates through syntactic analyses and searching for valid repairs within the generated search space
- The authors propose an alternative approach inspired by adversarial bugs and repairs, leveraging deep learning Generative Adversarial Networks (GANs)
- Preliminary evaluations showed promising results, with their approach generating repairs identical to human fixes for 21.2% of 500 bugs
- The model successfully generated complex fixes involving multiple correct changes and the correct number of arguments passed to a method
- Combining their approach with semantics-based approaches can address the need for understanding code semantics and intended behavior
- This AI-powered approach to automatic program repair using GANs does not require hard-coding bug-fixing rules or a set of test cases
- It offers a fast and scalable solution that can generalize across software applications
- The promising results demonstrate feasibility and provide insights for future enhancements in this field
Authors: Abdulaziz Alhefdhi (University of Wollongong), Hoa Khanh Dam (University of Wollongong), Xuan-Bach D. Le (The University of Melbourne), Aditya Ghose (University of Wollongong)
Abstract: Automatic program repair (APR) has seen a growing interest in recent years with numerous techniques proposed. One notable line of research work in APR is search-based techniques which generate repair candidates via syntactic analyses and search for valid repairs in the generated search space. In this work, we explore an alternative approach which is inspired by the adversarial notion of bugs and repairs. Our approach leverages the deep learning Generative Adversarial Networks (GANs) architecture to suggest repairs that are as close as possible to human generated repairs. Preliminary evaluations demonstrate promising results of our approach (generating repairs exactly the same as human fixes for 21.2% of 500 bugs).
Ask questions about this paper to our AI assistant
You can also chat with multiple papers at once here.
Assess the quality of the AI-generated content by voting
Score: 0
Why do we need votes?
Votes are used to determine whether we need to re-run our summarizing tools. If the count reaches -10, our tools can be restarted.
The previous summary was created more than a year ago and can be re-run (if necessary) by clicking on the Run button below.
Similar papers summarized with our AI tools
Navigate through even more similar papers through a
tree representationLook for similar papers (in beta version)
By clicking on the button above, our algorithm will scan all papers in our database to find the closest based on the contents of the full papers and not just on metadata. Please note that it only works for papers that we have generated summaries for and you can rerun it from time to time to get a more accurate result while our database grows.
Disclaimer: The AI-based summarization tool and virtual assistant provided on this website may not always provide accurate and complete summaries or responses. We encourage you to carefully review and evaluate the generated content to ensure its quality and relevance to your needs.