Adversarial Patch Generation for Automatic Program Repair

AI-generated keywords: Automatic Program Repair GANs AI-powered Cost Savings Scalable Solution

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
Also access our AI generated: Comprehensive summary, Lay summary, Blog-like article; or ask questions about this paper to our AI assistant.

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)

Submitted to IEEE Software's special issue on Automatic Program Repair
License: CC BY 4.0

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).

Submitted to arXiv on 21 Dec. 2020

Ask questions about this paper to our AI assistant

You can also chat with multiple papers at once here.

AI assistant instructions?

Results of the summarizing process for the arXiv paper: 2012.11060v1

Automatic program repair (APR) has gained significant attention in recent years, with various techniques proposed to address this problem. One popular approach in APR is search-based techniques, which involve generating repair candidates through syntactic analyses and searching for valid repairs within the generated search space. However, in this work, the authors explore an alternative approach inspired by the adversarial concept of bugs and repairs. The proposed approach leverages the architecture of deep learning Generative Adversarial Networks (GANs) to suggest repairs that closely resemble human-generated fixes. The authors conducted preliminary evaluations, which demonstrated promising results. Specifically, their approach was able to generate repairs identical to human fixes for 21.2% of 500 bugs. Furthermore, the authors provide additional examples to showcase the capabilities of their model. In one example, their model successfully generated complex fixes involving multiple correct changes and the correct number of arguments passed to a method. This example highlights the need for understanding code semantics and intended behavior, which can be addressed by combining their approach with semantics-based approaches. In summary, this article presents an AI-powered approach to automatic program repair using GANs that does not require hard-coding bug-fixing rules or a set of test cases and offers a fast and scalable solution that can generalize across software applications. The promising results from preliminary evaluations demonstrate its feasibility and provide insights for future enhancements in this field. Overall, this refined summary provides a more detailed overview of the research work on automatic program repair using GANs and highlights its potential benefits such as cost savings and scalability as well as future directions for improvement.
Created on 11 Dec. 2023

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

65.2%
Program Repair
cs.SE

Navigate through even more similar papers through a

tree representation

Look 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.