SEED-APR: A closed-loop self-evolving framework for automated program repair

Current automated program repair (APR) methods that employ large language models frequently encounter issues such as patch overfitting, constrained semantic generalization, and stagnant evolution due to static test-case evaluation and single-path generation. In order to address these issues, a self-evolving patch generation framework, termed SEED-APR, is proposed. The integration of runtime feedback with semantic diffusion is a key feature of this framework. The approach employed in this study involves the utilization of a Code Semantic Diffusion Model (CodeSDM) to generate diverse, semantically equivalent patches via denoising diffusion in latent space. The Runtime Feedback Score (RF-score) is derived from lightweight sandbox execution and is used to evaluate patches against real-world behavioral constraints. The model autonomously refines its repair strategy through LoRA-based self-evolution, using contrastive learning to convert runtime feedback into gradient updates. This process establishes a closed loop of generation, evaluation and optimization. Experiments on Defects4J v2.0 and Bugs.jar demonstrate that SEED-APR attains repair accuracy of 58.7% and 55.2%, respectively, accompanied by 56.8% zero-shot cross-project accuracy and 0.78 semantic diversity. This performance has been demonstrated to be significantly superior to that of existing methods, including GPT-4-Coder. A comparison of SEED-APR with state-of-the-art methods such as GPT-4-Coder and CodeT5+ reveals significant improvements in terms of repair accuracy, cross-project generalization, and semantic diversity.

Authors

Institutions

Publication Details

Journal
Systems and Soft Computing
Published
2026-02-26
DOI
https://doi.org/10.1016/j.sasc.2026.200463
Primary Topic
Software Testing and Debugging Techniques
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

SEED-APR: A closed-loop self-evolving framework for automated program repair

W. Zhang, Senlin Jiang, Hao Pan
Systems and Soft Computing
Software Testing and Debugging Techniques
article

SEED-APR: A closed-loop self-evolving framework for automated program repair

W. Zhang, Senlin Jiang, Hao Pan
article en

Abstract

Current automated program repair (APR) methods that employ large language models frequently encounter issues such as patch overfitting, constrained semantic generalization, and stagnant evolution due to static test-case evaluation and single-path generation. In order to address these issues, a self-evolving patch generation framework, termed SEED-APR, is proposed. The integration of runtime feedback with semantic diffusion is a key feature of this framework. The approach employed in this study involves the utilization of a Code Semantic Diffusion Model (CodeSDM) to generate diverse, semantically equivalent patches via denoising diffusion in latent space. The Runtime Feedback Score (RF-score) is derived from lightweight sandbox execution and is used to evaluate patches against real-world behavioral constraints. The model autonomously refines its repair strategy through LoRA-based self-evolution, using contrastive learning to convert runtime feedback into gradient updates. This process establishes a closed loop of generation, evaluation and optimization. Experiments on Defects4J v2.0 and Bugs.jar demonstrate that SEED-APR attains repair accuracy of 58.7% and 55.2%, respectively, accompanied by 56.8% zero-shot cross-project accuracy and 0.78 semantic diversity. This performance has been demonstrated to be significantly superior to that of existing methods, including GPT-4-Coder. A comparison of SEED-APR with state-of-the-art methods such as GPT-4-Coder and CodeT5+ reveals significant improvements in terms of repair accuracy, cross-project generalization, and semantic diversity.

Systems and Soft ComputingVol. 8
Wuxi Institute of Technology (CN)
Openalex Percentile: Top 50%
Software Testing and Debugging Techniques
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.