Synthesize, Execute and Debug: Learning to Repair for Neural Program Synthesis
Not on the map. Why?
Abstract (arXiv)
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.
Key facts. Cited by 39 papers in the map (data through 7 Oct 2026). First posted on arXiv 16 Jul 2020.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 5; 2022: 8; 2023: 11; 2024: 7; 2025: 6; 2026: 2.
39 papers.
Sort:
By area:
- 2023Teaching Large Language Models to Self-Debugcited by 963
- 2022Generating Sequences by Learning to Self-Correctcited by 271
- 2023Is Self-Repair a Silver Bullet for Code Generation?cited by 191
- 2023Planning with Large Language Models for Code Generationcited by 179
- 2021Case-based Reasoning for Natural Language Queries over Knowledge Basescited by 107
- 2023Large Language Models as Analogical Reasonerscited by 107
- 2024Beyond Functional Correctness: Exploring Hallucinations in LLM-Generated Codecited by 106
- 2021CURE: Code-Aware Neural Machine Translation for Automatic Program Repaircited by 85
- 2024NExT: Teaching Large Language Models to Reason about Code Executioncited by 60
- 2024From Code to Correctness: Closing the Last Mile of Code Generation with Hierarchical Debuggingcited by 46
- 2023SelfEvolve: A Code Evolution Framework via Large Language Modelscited by 43
- 2021Latent Execution for Neural Program Synthesiscited by 35
27 more
- 2023Fully Autonomous Programming with Large Language Modelscited by 31
- 2022Tensor Program Optimization with Probabilistic Programscited by 30
- 2024Is Programming by Example solved by LLMs?cited by 27
- 2023Deep Learning for Code Intelligence: Survey, Benchmark and Toolkitcited by 22
- 2023Coffee: Boost Your Code LLMs by Fixing Bugs with Feedbackcited by 15
- 2023Neural Task Synthesis for Visual Programmingcited by 13
- 2024Synthesizing Programmatic Reinforcement Learning Policies with Large Language Model Guided Searchcited by 13
- 2023RunBugRun -- An Executable Dataset for Automated Program Repaircited by 10
- 2021Learning to Combine Per-Example Solutions for Neural Program Synthesiscited by 8
- 2021Transcribing Natural Languages for The Deaf via Neural Editing Programscited by 7
- 2024Learning to Edit Visual Programs with Self-Supervisioncited by 7
- 2024Specify What? Enhancing Neural Specification Synthesis by Symbolic Methodscited by 6
- 2025ReCode: Improving LLM-based Code Repair with Fine-Grained Retrieval-Augmented Generationcited by 6
- 2026ReflexiCoder: Teaching Large Language Models to Self-Reflect on Generated Code and Self-Correct It via Reinforcement Learningcited by 5
- 2022Learning to Combine Instructions in LLVM Compilercited by 4
- 2025NL-Debugging: Exploiting Natural Language as an Intermediate Representation for Code Debuggingcited by 4
- 2022A Survey on Natural Language Processing for Programmingcited by 3
- 2025Fully Autonomous Programming using Iterative Multi-Agent Debugging with Large Language Modelscited by 3
- 2022Neural Program Synthesis with Querycited by 2
- 2022BenchPress: A Deep Active Benchmark Generatorcited by 2
- 2022ObSynth: An Interactive Synthesis System for Generating Object Models from Natural Language Specificationscited by 1
- 2025Replacing thinking with tool usage enables reasoning in small language modelscited by 1
- 2026SynthFix: Adaptive Neuro-Symbolic Code Vulnerability Repaircited by 1
- 2022Programmatic Policy Extraction by Iterative Local Searchcited by 0
- 2023BenchDirect: A Directed Language Model for Compiler Benchmarkscited by 0
- 2025Iterative Learning of Computable Phenotypes for Treatment Resistant Hypertension using Large Language Modelscited by 0
- 2025Towards Integrated Alignmentcited by 0
- 2026SynthFix: Adaptive Neuro-Symbolic Code Vulnerability Repair19 Apr 2026
- 2026ReflexiCoder: Teaching Large Language Models to Self-Reflect on Generated Code and Self-Correct It via Reinforcement Learning6 Mar 2026
- 2025ReCode: Improving LLM-based Code Repair with Fine-Grained Retrieval-Augmented Generation2 Sep 2025
- 2025Towards Integrated Alignment8 Aug 2025
- 2025Iterative Learning of Computable Phenotypes for Treatment Resistant Hypertension using Large Language Models7 Aug 2025
- 2025Replacing thinking with tool usage enables reasoning in small language models7 Jul 2025
- 2025NL-Debugging: Exploiting Natural Language as an Intermediate Representation for Code Debugging21 May 2025
- 2025Fully Autonomous Programming using Iterative Multi-Agent Debugging with Large Language Models10 Mar 2025
- 2024From Code to Correctness: Closing the Last Mile of Code Generation with Hierarchical Debugging2 Oct 2024
- 2024Specify What? Enhancing Neural Specification Synthesis by Symbolic Methods21 Jun 2024
- 2024Is Programming by Example solved by LLMs?12 Jun 2024
- 2024Learning to Edit Visual Programs with Self-Supervision4 Jun 2024
27 more
- 2024Synthesizing Programmatic Reinforcement Learning Policies with Large Language Model Guided Search26 May 2024
- 2024NExT: Teaching Large Language Models to Reason about Code Execution23 Apr 2024
- 2024Beyond Functional Correctness: Exploring Hallucinations in LLM-Generated Code1 Apr 2024
- 2023Deep Learning for Code Intelligence: Survey, Benchmark and Toolkit30 Dec 2023
- 2023Coffee: Boost Your Code LLMs by Fixing Bugs with Feedback13 Nov 2023
- 2023Large Language Models as Analogical Reasoners3 Oct 2023
- 2023Is Self-Repair a Silver Bullet for Code Generation?16 Jun 2023
- 2023SelfEvolve: A Code Evolution Framework via Large Language Models5 Jun 2023
- 2023Neural Task Synthesis for Visual Programming26 May 2023
- 2023Fully Autonomous Programming with Large Language Models20 Apr 2023
- 2023Teaching Large Language Models to Self-Debug11 Apr 2023
- 2023RunBugRun -- An Executable Dataset for Automated Program Repair3 Apr 2023
- 2023Planning with Large Language Models for Code Generation9 Mar 2023
- 2023BenchDirect: A Directed Language Model for Compiler Benchmarks2 Mar 2023
- 2022A Survey on Natural Language Processing for Programming12 Dec 2022
- 2022Generating Sequences by Learning to Self-Correct31 Oct 2022
- 2022ObSynth: An Interactive Synthesis System for Generating Object Models from Natural Language Specifications20 Oct 2022
- 2022BenchPress: A Deep Active Benchmark Generator13 Aug 2022
- 2022Tensor Program Optimization with Probabilistic Programs26 May 2022
- 2022Neural Program Synthesis with Query8 May 2022
- 2022Learning to Combine Instructions in LLVM Compiler22 Feb 2022
- 2022Programmatic Policy Extraction by Iterative Local Search18 Jan 2022
- 2021Transcribing Natural Languages for The Deaf via Neural Editing Programs17 Dec 2021
- 2021Latent Execution for Neural Program Synthesis29 Jun 2021
- 2021Learning to Combine Per-Example Solutions for Neural Program Synthesis14 Jun 2021
- 2021Case-based Reasoning for Natural Language Queries over Knowledge Bases18 Apr 2021
- 2021CURE: Code-Aware Neural Machine Translation for Automatic Program Repair26 Feb 2021
- 2023Teaching Large Language Models to Self-Debugcited by 963
- 2023Large Language Models as Analogical Reasonerscited by 107
- 2024NExT: Teaching Large Language Models to Reason about Code Executioncited by 60
- 2025Replacing thinking with tool usage enables reasoning in small language modelscited by 1
- 2025Towards Integrated Alignmentcited by 0
- 2025Towards Integrated Alignment8 Aug 2025
- 2022Generating Sequences by Learning to Self-Correctcited by 271
- 2023Is Self-Repair a Silver Bullet for Code Generation?cited by 191
- 2023Planning with Large Language Models for Code Generationcited by 179
- 2021Case-based Reasoning for Natural Language Queries over Knowledge Basescited by 107
- 2024Beyond Functional Correctness: Exploring Hallucinations in LLM-Generated Codecited by 106
- 2021CURE: Code-Aware Neural Machine Translation for Automatic Program Repaircited by 85
- 2024From Code to Correctness: Closing the Last Mile of Code Generation with Hierarchical Debuggingcited by 46
- 2023SelfEvolve: A Code Evolution Framework via Large Language Modelscited by 43
- 2021Latent Execution for Neural Program Synthesiscited by 35
- 2023Fully Autonomous Programming with Large Language Modelscited by 31
- 2022Tensor Program Optimization with Probabilistic Programscited by 30
- 2024Is Programming by Example solved by LLMs?cited by 27
12 most cited of 32 All 32 (JSON)
- 2026SynthFix: Adaptive Neuro-Symbolic Code Vulnerability Repair19 Apr 2026
- 2026ReflexiCoder: Teaching Large Language Models to Self-Reflect on Generated Code and Self-Correct It via Reinforcement Learning6 Mar 2026
- 2025Iterative Learning of Computable Phenotypes for Treatment Resistant Hypertension using Large Language Models7 Aug 2025
- 2025NL-Debugging: Exploiting Natural Language as an Intermediate Representation for Code Debugging21 May 2025
- 2024From Code to Correctness: Closing the Last Mile of Code Generation with Hierarchical Debugging2 Oct 2024
- 2024Specify What? Enhancing Neural Specification Synthesis by Symbolic Methods21 Jun 2024
- 2024Is Programming by Example solved by LLMs?12 Jun 2024
- 2024Learning to Edit Visual Programs with Self-Supervision4 Jun 2024
- 2024Synthesizing Programmatic Reinforcement Learning Policies with Large Language Model Guided Search26 May 2024
- 2024Beyond Functional Correctness: Exploring Hallucinations in LLM-Generated Code1 Apr 2024
- 2023Deep Learning for Code Intelligence: Survey, Benchmark and Toolkit30 Dec 2023
- 2023Coffee: Boost Your Code LLMs by Fixing Bugs with Feedback13 Nov 2023
12 newest of 32 All 32 (JSON)