mlsanityData to 7 Oct 2026

SelfAPR: Self-supervised Program Repair with Test Execution Diagnostics

arXiv 2203.12755 ↗First posted 23 Mar 2022cs.SEcited by 33

Not on the map. Why?

Abstract (arXiv)

Learning-based program repair has achieved good results in a recent series of papers. Yet, we observe that the related work fails to repair some bugs because of a lack of knowledge about 1) the application domain of the program being repaired, and 2) the fault type being repaired. In this paper, we solve both problems by changing the learning paradigm from supervised training to self-supervised training in an approach called SelfAPR. First, SelfAPR generates training samples on disk by perturbing a previous version of the program being repaired, enforcing the neural model to capture projectspecific knowledge. This is different from the previous work based on mined past commits. Second, SelfAPR executes all training samples and extracts and encodes test execution diagnostics into the input representation, steering the neural model to fix the kind of fault. This is different from the existing studies that only consider static source code as input. We implement SelfAPR and evaluate it in a systematic manner. We generate 1 039 873 training samples obtained by perturbing 17 open-source projects. We evaluate SelfAPR on 818 bugs from Defects4J, SelfAPR correctly repairs 110 of them, outperforming all the supervised learning repair approaches.

Key facts. Cited by 33 papers in the map (data through 7 Oct 2026). First posted on arXiv 23 Mar 2022.

Builds on

No reference list yet.

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2022: 2; 2023: 7; 2024: 11; 2025: 10; 2026: 3.

33 papers.

Sort:

By area:

  1. 2024RepairAgent: An Autonomous, LLM-Based Agent for Program Repaircited by 225
  2. 2025A Survey of Frontiers in LLM Reasoning: Inference Scaling, Learning to Reason, and Agentic Systemscited by 108
  3. 2024HyperAgent: Generalist Software Engineering Agents to Solve Coding Tasks at Scalecited by 61
  4. 2024NExT: Teaching Large Language Models to Reason about Code Executioncited by 60
  5. 2023RepairLLaMA: Efficient Representations and Fine-Tuned Adapters for Program Repaircited by 50
  6. 2023RAP-Gen: Retrieval-Augmented Patch Generation with CodeT5 for Automatic Program Repaircited by 43
  7. 2025Understanding Code Agent Behaviour: An Empirical Study of Success and Failure Trajectoriescited by 30
  8. 2025SWE-Synth: Synthesizing Verifiable Bug-Fix Data to Enable Large Language Models in Resolving Real-World Bugscited by 22
  9. 2024Rectifier: Code Translation with Corrector via LLMscited by 20
  10. 2023ITER: Iterative Neural Repair for Multi-Location Patchescited by 16
  11. 2023KNOD: Domain Knowledge Distilled Tree Decoder for Automated Program Repaircited by 13
  12. 2024Aligning the Objective of LLM-based Program Repaircited by 12
21 more
  1. 2023Invalidator: Automated Patch Correctness Assessment via Semantic and Syntactic Reasoningcited by 11
  2. 2025Towards Effectively Leveraging Execution Traces for Program Repair with Code LLMscited by 11
  3. 2022Improving Automated Program Repair with Domain Adaptationcited by 10
  4. 2023RunBugRun -- An Executable Dataset for Automated Program Repaircited by 10
  5. 2025Dissecting the SWE-Bench Leaderboards: Profiling Submitters and Architectures of LLM- and Agent-Based Repair Systemscited by 8
  6. 2022Is this Change the Answer to that Problem? Correlating Descriptions of Bug and Code Changes for Evaluating Patch Correctnesscited by 7
  7. 2023Revisiting the Plastic Surgery Hypothesis via Large Language Modelscited by 7
  8. 2024Automated Program Repair: Emerging trends pose and expose problems for benchmarkscited by 7
  9. 2025Repair-R1: Better Test Before Repaircited by 6
  10. 2024Towards Reliable Evaluation of Neural Program Repair with Natural Robustness Testingcited by 5
  11. 2024Memory-Efficient Large Language Models for Program Repair with Semantic-Guided Patch Generationcited by 5
  12. 2025DynaFix: Iterative Automated Program Repair Driven by Execution-Level Dynamic Informationcited by 3
  13. 2025Adversarial Reasoning for Repair Based on Inferred Program Intentcited by 2
  14. 2026AscendOptimizer: Episodic Agent for Ascend NPU Operator Optimizationcited by 2
  15. 2024Exploring the Potential of Conversational Test Suite Based Program Repair on SWE-benchcited by 1
  16. 2025Accelerating Automatic Program Repair with Dual Retrieval-Augmented Fine-Tuning and Patch Generation on Large Language Modelscited by 1
  17. 2026Anchored Self-Play for Code Repaircited by 1
  18. 2024Peer-aided Repairer: Empowering Large Language Models to Repair Advanced Student Assignmentscited by 0
  19. 2024NARRepair: Non-Autoregressive Code Generation Model for Automatic Program Repaircited by 0
  20. 2025Self-Bootstrapping Automated Program Repair: Using LLMs to Generate and Evaluate Synthetic Training Data for Bug Repaircited by 0
  21. 2026Latent Programming Horizons in Coding Agentscited by 0