mlsanityData to 14 Oct 2026

From Empirical Evaluation to Context-Aware Enhancement: Repairing Regression Errors with LLMs

arXiv 2506.13182 ↗First posted 16 Jun 2025cs.SE cs.AIcited by 1

Not on the map. Why?

Abstract (arXiv)

[...] Since then, various APR approaches, especially those leveraging the power of large language models (LLMs), have been rapidly developed to fix general software bugs. Unfortunately, the effectiveness of these advanced techniques in the context of regression bugs remains largely unexplored. This gap motivates the need for an empirical study evaluating the effectiveness of modern APR techniques in fixing real-world regression bugs. In this work, we conduct an empirical study of APR techniques on regression bugs. To facilitate our study, we introduce RegressionBug4APR, a high-quality benchmark of Java and Python regression bugs integrated into a framework designed to facilitate APR research. The current benchmark includes 200 regression bugs collected from widely used real-world GitHub repositories. We begin by conducting an in-depth analysis of the benchmark, demonstrating its diversity and quality. Building on this foundation, we empirically evaluate the capabilities of APR to regression bugs by assessing both traditional APR tools and advanced LLM-based APR approaches. Our experimental results show that classical APR tools fail to repair any bugs, while LLM-based APR approaches exhibit promising potential. Motivated by these results, we investigate impact of incorporating bug-inducing change information into LLM-based APR approaches for fixing regression bugs. We further conduct an ablation study to disaggregate the contribution of each contextual element within the bug-inducing change information. Our results highlight that this context-aware enhancement significantly improves the performance of LLM-based APR, yielding 1.6x more successful repairs compared to using LLM-based APR without such context. Moreover, our findings are consistent across both Java and Python benchmarks, providing preliminary evidence for the generalizability of our findings.

Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Builds on 28 of its 62 references that are in the map. First posted on arXiv 16 Jun 2025.

Builds on

28 of 62 references.

References · 28

  1. 2023QLoRA: Efficient Finetuning of Quantized LLMscited by 3,418
  2. 2023Code Llama: Open Foundation Models for Codecited by 2,139
  3. 2022CodeGen: An Open Large Language Model for Code with Multi-Turn Program Synthesiscited by 885
  4. 2022InCoder: A Generative Model for Code Infilling and Synthesiscited by 498
  5. 2024RepairAgent: An Autonomous, LLM-Based Agent for Program Repaircited by 232
  6. 2023Keep the Conversation Going: Fixing 162 out of 337 bugs for 0.42 each using ChatGPTcited by 125
  7. 2021CURE: Code-Aware Neural Machine Translation for Automatic Program Repaircited by 86
  8. 2023Refining ChatGPT-Generated Code: Characterizing and Mitigating Code Quality Issuescited by 79
  9. 2024SpecRover: Code Intent Extraction via LLMscited by 72
  10. 2019TBar: Revisiting Template-based Automated Program Repaircited by 65
  11. 2021A Syntax-Guided Edit Decoder for Neural Program Repaircited by 57
  12. 2021Neural Program Repair with Execution-based Backpropagationcited by 50
16 more
  1. 2023RepairLLaMA: Efficient Representations and Fine-Tuned Adapters for Program Repaircited by 50
  2. 2024BugsInPy: A Database of Existing Bugs in Python Programs to Enable Controlled Testing and Debugging Studiescited by 36
  3. 2018Nopol: Automatic Repair of Conditional Statement Bugs in Java Programscited by 32
  4. 2025Enhancing repository-level software repair via repository-aware knowledge graphscited by 27
  5. 2017ARJA: Automated Repair of Java Programs via Multi-Objective Genetic Programmingcited by 26
  6. 2024Hybrid Automated Program Repair by Combining Large Language Models and Program Analysiscited by 22
  7. 2024How Far Can We Go with Practical Function-Level Program Repair?cited by 16
  8. 2018Dissection of a Bug Dataset: Anatomy of 395 Patches from Defects4Jcited by 14
  9. 2019Bears: An Extensible Java Bug Benchmark for Automatic Program Repair Studiescited by 13
  10. 2019BugSwarm: Mining and Continuously Growing a Dataset of Reproducible Failures and Fixescited by 12
  11. 2024Aligning the Objective of LLM-based Program Repaircited by 12
  12. 2024When Fine-Tuning LLMs Meets Data Privacy: An Empirical Study of Federated Learning in LLM-Based Program Repaircited by 10
  13. 2017Ultra-Large Repair Search Space with Automatically Mined Templates: the Cardumen Mode of Astorcited by 9
  14. 2022Fonte: Finding Bug Inducing Commits from Failurescited by 3
  15. 2021RegMiner: Towards Constructing a Large Regression Dataset from Code Evolution Historycited by 2
  16. 2019Critical Review of BugSwarm for Fault Localization and Program Repaircited by 1

Built on by

Cited by year

Citing papers per year: 2025: 1.

1 paper.