paper-with-me

Papers

Synthesize, Execute and Debug: Learning to Repair for Neural Program Synthesis

2020-07-16 · NeurIPS 2020 12 · Kavi Gupta, Peter Ebert Christensen, Xinyun Chen, Dawn Song

The use of deep learning techniques has achieved significant progress for program synthesis from input-output examples. However, when the program semantics become more complex, it still remains a challenge to synthesize programs that are consistent with the specification. In this work, we propose SED, a neural program generation framework that incorporates synthesis, execution, and debugging stages. Instead of purely relying on the neural program synthesizer to generate the final program, SED first produces initial programs using the neural program synthesizer component, then utilizes a neural program debugger to iteratively repair the generated programs. The integration of the debugger component enables SED to modify the programs based on the execution results and specification, which resembles the coding process of human programmers. On Karel, a challenging input-output program synthesis benchmark, SED reduces the error rate of the neural program synthesizer itself by a considerable margin, and outperforms the standard beam search for decoding.

📄 PDF Abstract BibTeX arXiv:2007.08095

Code (1)

sunblaze-ucb/SED pytorch

Tasks

Program Synthesis

Methods 이 논문이 사용한 방법론

Repair 설명 없음

Similar Papers 제목 키워드 기반

Fully Autonomous Programming using Iterative Multi-Agent Debugging with Large Language Models

2025-03-10 · Anastasiia Grishina, Vadim Liventsev, Aki Härmä, Leon Moonen

Program synthesis with Large Language Models (LLMs) suffers from a "near-miss syndrome": the generated code closely resembles a correct solution but fails unit tests due to minor errors. We address this with a multi-agen…

HumanEvalProgram Synthesis

Fully Autonomous Programming with Large Language Models

2023-04-20 · Vadim Liventsev, Anastasiia Grishina, Aki Härmä, Leon Moonen

Current approaches to program synthesis with Large Language Models (LLMs) exhibit a "near miss syndrome": they tend to generate programs that semantically resemble the correct answer (as measured by text similarity metri…

Program RepairProgram Synthesistext similarity

NExT: Teaching Large Language Models to Reason about Code Execution

2024-04-23 · Ansong Ni, Miltiadis Allamanis, Arman Cohan, Yinlin Deng 외

A fundamental skill among human developers is the ability to understand and reason about program execution. As an example, a programmer can mentally simulate code execution in natural language to debug and repair code (a…

HumanEvalmbppProgram Repair

Towards Mixed Optimization for Reinforcement Learning with Program Synthesis

2018-07-01 · Surya Bhupatiraju, Kumar Krishna Agrawal, Rishabh Singh

Deep reinforcement learning has led to several recent breakthroughs, though the learned policies are often based on black-box neural networks. This makes them difficult to interpret and to impose desired specification co…

Deep Reinforcement LearningProgram RepairProgram Synthesisreinforcement-learning+2

DynaFix: Iterative Automated Program Repair Driven by Execution-Level Dynamic Information

2025-12-31 · Zhili Huang, Ling Xu, Chao Liu, Weifeng Sun 외 arxiv

Automated Program Repair (APR) aims to automatically generate correct patches for buggy programs. Recent approaches leveraging large language models (LLMs) have shown promise but face limitations. Most rely solely on sta…

Program Repair