mlsanityData to 7 Oct 2026

Fully Autonomous Programming with Large Language Models

arXiv 2304.10423 ↗First posted 20 Apr 2023cs.SE cs.AI cs.NEcited by 31

Not on the map. Why?

Abstract (arXiv)

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 metrics or human evaluation), but achieve a low or even zero accuracy as measured by unit tests due to small imperfections, such as the wrong input or output format. This calls for an approach known as Synthesize, Execute, Debug (SED), whereby a draft of the solution is generated first, followed by a program repair phase addressing the failed tests. To effectively apply this approach to instruction-driven LLMs, one needs to determine which prompts perform best as instructions for LLMs, as well as strike a balance between repairing unsuccessful programs and replacing them with newly generated ones. We explore these trade-offs empirically, comparing replace-focused, repair-focused, and hybrid debug strategies, as well as different template-based and model-based prompt-generation techniques. We use OpenAI Codex as the LLM and Program Synthesis Benchmark 2 as a database of problem descriptions and tests for evaluation. The resulting framework outperforms both conventional usage of Codex without the repair phase and traditional genetic programming approaches.

Key facts. Cited by 31 papers in the map (data through 7 Oct 2026). Builds on 30 of its 62 references that are in the map. First posted on arXiv 20 Apr 2023.

Builds on

30 of 62 references.

References · 30

  1. 2017Attention Is All You Needcited by 59,932
  2. 2022Training language models to follow instructions with human feedbackcited by 15,712
  3. 2021Evaluating Large Language Models Trained on Codecited by 8,053
  4. 2022Competition-Level Code Generation with AlphaCodecited by 1,427
  5. 2021CodeXGLUE: A Machine Learning Benchmark Dataset for Code Understanding and Generationcited by 732
  6. 2019CodeSearchNet Challenge: Evaluating the State of Semantic Code Searchcited by 638
  7. 2020CodeBLEU: a Method for Automatic Evaluation of Code Synthesiscited by 468
  8. 2021Asleep at the Keyboard? Assessing the Security of GitHub Copilot's Code Contributionscited by 417
  9. 2019A Survey of Deep Learning Techniques for Autonomous Drivingcited by 401
  10. 2020Unsupervised Translation of Programming Languagescited by 262
  11. 2020Deep Learning based Vulnerability Detection: Are We There Yet?cited by 142
  12. 2023An Analysis of the Automatic Bug Fixing Performance of ChatGPTcited by 108
18 more
  1. 2022Repository-Level Prompt Generation for Large Language Models of Codecited by 106
  2. 2018Mapping Language to Code in Programmatic Contextcited by 104
  3. 2022Automated Repair of Programs from Large Language Modelscited by 71
  4. 2022Repair Is Nearly Generation: Multilingual Program Repair with LLMscited by 68
  5. 2019On-Device Machine Learning: An Algorithms and Learning Theory Perspectivecited by 63
  6. 2020Synthesize, Execute and Debug: Learning to Repair for Neural Program Synthesiscited by 39
  7. 2021Latent Execution for Neural Program Synthesiscited by 35
  8. 2021The Role of Explainability in Assuring Safety of Machine Learning in Healthcarecited by 26
  9. 2021Choose Your Programming Copilot: A Comparison of the Program Synthesis Performance of GitHub Copilot and Genetic Programmingcited by 24
  10. 2023Fixing Hardware Security Bugs with Large Language Modelscited by 24
  11. 2022Less is More: Summary of Long Instructions is Better for Program Synthesiscited by 17
  12. 2023CrossCodeBench: Benchmarking Cross-Task Generalization of Source Code Modelscited by 16
  13. 2018NAPS: Natural Program Synthesis Datasetcited by 14
  14. 2022Neurosymbolic Repair for Low-Code Formula Languagescited by 12
  15. 2021Problem-solving benefits of down-sampled lexicase selectioncited by 8
  16. 2022Prompt-tuned Code Language Model as a Neural Knowledge Base for Type Inference in Statically-Typed Partial Codecited by 6
  17. 2021Autoencoders as Tools for Program Synthesiscited by 4
  18. 2021BF++: a language for general-purpose program synthesiscited by 3

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2023: 3; 2024: 13; 2025: 11; 2026: 4.

31 papers.

Sort:

By area:

  1. 2024ReEvo: Large Language Models as Hyper-Heuristics with Reflective Evolutioncited by 266
  2. 2024Evolution of Heuristics: Towards Efficient Automatic Algorithm Design Using Large Language Modelcited by 258
  3. 2024Large Language Model-Based Agents for Software Engineering: A Surveycited by 173
  4. 2024Evolving Code with A Large Language Modelcited by 42
  5. 2024T-RAG: Lessons from the LLM Trenchescited by 23
  6. 2026In Line with Context: Repository-Level Code Generation via Context Inliningcited by 18
  7. 2024Evolve Cost-aware Acquisition Functions Using Large Language Modelscited by 17
  8. 2023GPT-Based Models Meet Simulation: How to Efficiently Use Large-Scale Pre-Trained Language Models Across Simulation Taskscited by 14
  9. 2023Adapting Large Language Models for Education: Foundational Capabilities, Potentials, and Challengescited by 13
  10. 2024Leveraging Large Language Models for Enhancing the Understandability of Generated Unit Testscited by 11
  11. 2024Artificial-Intelligence Generated Code Considered Harmful: A Road Map for Secure and High-Quality Code Generationcited by 11
  12. 2025DISC: Dynamic Decomposition Improves LLM Inference Scalingcited by 9
19 more
  1. 2025Decision Tree Induction Through LLMs via Semantically-Aware Evolutioncited by 6
  2. 2023Frustrated with Code Quality Issues? LLMs can Help!cited by 5
  3. 2024tnGPS: Discovering Unknown Tensor Network Structure Search Algorithms via Large Language Models (LLMs)cited by 5
  4. 2024Identify Critical Nodes in Complex Network with Large Language Modelscited by 4
  5. 2024Assessing the Latent Automated Program Repair Capabilities of Large Language Models using Round-Trip Translationcited by 3
  6. 2024Chain of Targeted Verification Questions to Improve the Reliability of Code Generated by LLMscited by 3
  7. 2025Fully Autonomous Programming using Iterative Multi-Agent Debugging with Large Language Modelscited by 3
  8. 2025On Simulation-Guided LLM-based Code Generation for Safe Autonomous Driving Softwarecited by 3
  9. 2025Codehacks: A Dataset of Adversarial Tests for Competitive Programming Problems Obtained from Codeforcescited by 2
  10. 2025Fine-Tuning Large Language Models and Evaluating Retrieval Methods for Improved Question Answering on Building Codescited by 2
  11. 2024Exploring RL-based LLM Training for Formal Language Tasks with Programmed Rewardscited by 1
  12. 2025Large Language Models in Code Co-generation for Safe Autonomous Vehiclescited by 1
  13. 2026See it to Place it: Evolving Macro Placements with Vision-Language Modelscited by 1
  14. 2025Iterative Learning of Computable Phenotypes for Treatment Resistant Hypertension using Large Language Modelscited by 0
  15. 2025Towards Integrated Alignmentcited by 0
  16. 2025An In-depth Study of LLM Contributions to the Bin Packing Problemcited by 0
  17. 2025CogMCTS: A Novel Cognitive-Guided Monte Carlo Tree Search Framework for Iterative Heuristic Evolution with Large Language Modelscited by 0
  18. 2026Heuristic Search as Language-Guided Program Optimizationcited by 0
  19. 2026CDEoH: Category-Driven Automatic Algorithm Design With Large Language Modelscited by 0