[2505.17703] Gradient-Based Program Repair: Fixing Bugs in Continuous Program Spaces

[2505.17703] Gradient-Based Program Repair: Fixing Bugs in Continuous Program Spaces

arXiv - Machine Learning 4 min read

About this article

Abstract page for arXiv paper 2505.17703: Gradient-Based Program Repair: Fixing Bugs in Continuous Program Spaces

Computer Science > Programming Languages arXiv:2505.17703 (cs) [Submitted on 23 May 2025 (v1), last revised 25 Mar 2026 (this version, v3)] Title:Gradient-Based Program Repair: Fixing Bugs in Continuous Program Spaces Authors:André Silva, Gustav Thorén, Martin Monperrus View a PDF of the paper titled Gradient-Based Program Repair: Fixing Bugs in Continuous Program Spaces, by Andr\'e Silva and 2 other authors View PDF HTML (experimental) Abstract:Automatic program repair seeks to generate correct code from buggy programs, with most approaches searching the correct program in a discrete, symbolic space of source code tokens. This symbolic search is fundamentally limited by its inability to directly reason about program behavior. We introduce Gradient-Based Program Repair (GBPR), a new approach that recasts program repair as continuous optimization in a differentiable numerical program space. Our core insight is to compile symbolic programs into differentiable numerical representations, enabling search in the numerical program space directly guided by program behavior. To evaluate GBPR, we present RaspBugs, a new benchmark of 1,466 buggy symbolic RASP programs and their respective numerical representations. Our experiments demonstrate that GBPR can effectively repair buggy symbolic programs by gradient-based optimization in the numerical program space, with convincing repair trajectories. To our knowledge, we are the first to state program repair as continuous optimization in...

Originally published on March 27, 2026. Curated by AI News.

Related Articles

Agentic AI capabilities to be integrated into defense platforms by BAE Systems, Scale AI
Ai Agents

Agentic AI capabilities to be integrated into defense platforms by BAE Systems, Scale AI

FALLS CHURCH, Virginia. BAE Systems and Scale AI have signed a strategic relationship agreement to speed the development and fielding of ...

AI News - General · 3 min ·

Photon framework scales AI vulnerability discovery

The Photon framework enhances the scalability of AI vulnerability discovery.

AI News - General · 1 min ·
UMKC Announces New Master of Science in Artificial Intelligence
Ai Infrastructure

UMKC Announces New Master of Science in Artificial Intelligence

UMKC announces a new Master of Science in Artificial Intelligence program aimed at addressing workforce demand for AI expertise, set to l...

AI News - General · 4 min ·
Can AI help predict which heart-failure patients will worsen within a year?

Can AI help predict which heart-failure patients will worsen within a year?

AI News - General · 9 min ·

No comments

No comments yet. Be the first to comment!

Stay updated with AI News

Get the latest news, tools, and insights delivered to your inbox.

Daily or weekly digest • Unsubscribe anytime