PulseExploreJournal ClubDebatesTrendingResearchersJournals
Instagram
HomeExploreJournal ClubTrending
Synapse
⌘+K
Synapse
September 5, 2025ACM Transactions on Software Engineering and Methodology1 citationsOpen Access

Patch Generation in APR: A Survey from the Perspectives of Utilizing LLMs and Using APR-Specific Information

View Full Paper
YYYimin YangCLChuanyi LiZHZhifeng Han

Key Points

  • Automated program repair effectively generates bug fixes, significantly advancing software development.
  • Utilizing large language models enhances patch generation, with critical factors like prompting context influencing effectiveness.
  • This survey covers 124 APR studies, emphasizing integrating APR-specific information for optimized patch generation.
  • Challenges and future research directions in automated program repair reveal gaps in current integration with large language models.

Abstract

Automated Program Repair (APR) is a crucial task in software development and maintenance, aiming to patch software bugs automatically without human intervention. The rise of Large Language Models (LLMs) has significantly advanced APR. However, as researchers delve deeper into APR as a downstream task for LLMs, a key challenge remains: how to effectively integrate APR-specific information to complement LLMs capabilities. This survey revisits 124 existing APR studies, most from 2021 to 2024, from two perspectives: Utilizing LLMs and APR-specific Information. First, we define the concept of APR-specific information. Then, we summarize techniques for utilizing LLMs in patch generation in four dimensions. Next, we explore critical factors influencing the effectiveness of generating patches by LLMs, such as prompting context and fine-tuning configurations. After that, we focus on the evaluation of generated patches, including benchmarks, reasoning cost scaling, etc. Furthermore, we distill all APR-specific information (e.g., bug-fix pairs and error messages), highlighting their unique importance and features. Finally, we comprehensively outline challenges, limitations, and potential future research directions in APR in the LLM era. To conclude, by adopting the two perspectives, we aim to provide valuable insights into mining and leveraging APR-specific information in utilizing LLMs process for the APR community.

Ask AI
Helpful
Bookmark
Share
View Full Paper

Cite This Study

Yang et al. (2025) studied this question.

synapsesocial.com/papers/68bb3edf2b87ece8dc956ce9https://doi.org/10.1145/3764584
Ask AI
Helpful
Bookmark
Share
View Full Paper

Also Consider

Synapse has enriched 5 closely related papers on similar clinical questions. Consider them for comparative context:

  1. 1Out of Sight, Out of Mind: Better Automatic Vulnerability Repair by Broadening Input Ranges and Sources2024 · 44 citations
  2. 2PyTy: Repairing Static Type Errors in Python2024 · 16 citations
  3. 3Robust Few-Shot Learning for User-Provided Data2020 · 66 citations
  4. 4Predicting issue types on GitHub2020 · 87 citations
  5. 5GPT-3: Its Nature, Scope, Limits, and Consequences2020 · 2,370 citations