PulseExploreJournal ClubDebatesTrendingResearchersJournals
Instagram
HomeExploreJournal ClubTrending
Synapse
⌘+K
Synapse
March 24, 2026Expert Systems with Applications0 citationsOpen Access

Self-bootstrapping automated program repair: using LLMs to generate and evaluate synthetic training data for bug repair

View Full Paper
DDDavid de-Fitero-DominguezUniversidad de AlcaláAGAntonio Garcia-CabotUniversidad de AlcaláEGEva Garcia-LopezUniversidad de Alcalá

Key Points

  • The aim is to enhance automated program repair by using synthetic data generated from large language models to overcome data scarcity.
  • Synthetic sample generation using state-of-the-art LLMs
  • Creation of approximately 30,000 paired examples of buggy and fixed code
  • Cross-model evaluation against five criteria: correctness, code quality, security, performance, and completeness
  • Statistical testing including ANOVA and post-hoc Tukey's analysis
  • Achieved 17.18% (Top@1) and 23.00% (Top@5) prediction rates with synthetic dataset
  • Statistically significant improvement in prediction rates compared to baseline
  • Showed 47% relative improvement in Top@1 and 22% in Top@5
  • Best configurations outperformed existing systems with less computational intensity

Abstract

This paper presents a novel methodology for enhancing Automated Program Repair (APR) through synthetic data generation utilizing Large Language Models (LLMs). Current APR systems are constrained by the limited availability of high-quality training data encompassing diverse bug types across multiple programming languages. The proposed approach addresses this limitation through a two-phase process: a synthetic sample generation followed by a rigorous quality assessment. Multiple state-of-the-art LLMs were employed to generate approximately 30,000 paired examples of buggy and fixed code across 12 programming languages and 13 bug categories. Subsequently, these samples underwent cross-model evaluation against five criteria: correctness, code quality, security, performance, and completeness. Experimental evaluation on the VulRepair test set dataset showed statistically significant improvements in Perfect Prediction rates, with the quality-filtered synthetic dataset achieving 17.18% (Top@1) and 23.00% (Top@5) compared to the baseline’s 11.68% and 18.88% respectively, representing a 47% relative improvement in Top@1 and 22% in Top@5. The methodology was validated through rigorous statistical testing, including ANOVA and post-hoc Tukey’s Honest Significant Difference analysis. Furthermore, the best-performing configurations surpassed existing systems despite using a less computationally intensive decoding strategy. This research establishes a self-bootstrapping paradigm in which LLMs generate and evaluate their own training data, suggesting promising directions for addressing data scarcity in similar software engineering tasks and advancing the development of robust, adaptable tools for automated code maintenance

Ask AI
Helpful
Bookmark
Share
View Full Paper

Cite This Study

de-Fitero-Dominguez et al. (2026) studied this question.

synapsesocial.com/papers/69c229a5aeb5a845df0d4778https://doi.org/10.1016/j.eswa.2026.132154
Ask AI
Helpful
Bookmark
Share
View Full Paper