mlsanityData to 13 Oct 2026

ALGO: Synthesizing Algorithmic Programs with LLM-Generated Oracle Verifiers

arXiv 2305.14591 ↗First posted 24 May 2023cs.CL cs.SEcited by 41

Not on the map. Why?

Abstract (arXiv)

Large language models (LLMs) excel at implementing code from functionality descriptions but struggle with algorithmic problems that require not only implementation but also identification of the suitable algorithm. Moreover, LLM-generated programs lack guaranteed correctness and require human verification. To address these challenges, we propose ALGO, a framework that synthesizes Algorithmic programs with LLM-Generated Oracles to guide the generation and verify their correctness. ALGO first generates a reference oracle by prompting an LLM to exhaustively enumerate all the combinations of relevant variables. This oracle is then utilized to guide an arbitrary search strategy in exploring the algorithm space and to verify the synthesized algorithms. Our study shows that the LLM-generated oracles are correct for 88% of the cases. With the oracles as verifiers, ALGO can be integrated with any existing code generation model in a model-agnostic manner to enhance its performance. Experiments show that when equipped with ALGO, we achieve an 8x better one-submission pass rate over the Codex model and a 2.6x better one-submission pass rate over CodeT, the current state-of-the-art model on CodeContests. We can also get 1.3x better pass rate over the ChatGPT Code Interpreter on unseen problems. The problem set we used for testing, the prompts we used, the verifier and solution programs, and the test cases generated by ALGO are available at https://github.com/zkx06111/ALGO.

Key facts. Cited by 41 papers in the map (data through 13 Oct 2026). Builds on 25 of its 37 references that are in the map. First posted on arXiv 24 May 2023.

Builds on

25 of 37 references.

References · 25

  1. 2022Training language models to follow instructions with human feedbackcited by 15,856
  2. 2021Evaluating Large Language Models Trained on Codecited by 8,205
  3. 2021Program Synthesis with Large Language Modelscited by 3,573
  4. 2023Self-Refine: Iterative Refinement with Self-Feedbackcited by 3,367
  5. 2023Sparks of Artificial General Intelligence: Early experiments with GPT-4cited by 2,586
  6. 2022Competition-Level Code Generation with AlphaCodecited by 1,445
  7. 2023Teaching Large Language Models to Self-Debugcited by 972
  8. 2021Measuring Coding Challenge Competence With APPScited by 891
  9. 2022CodeGen: An Open Large Language Model for Code with Multi-Turn Program Synthesiscited by 884
  10. 2022Large Language Models Can Self-Improvecited by 659
  11. 2022InCoder: A Generative Model for Code Infilling and Synthesiscited by 497
  12. 2022CodeT: Code Generation with Generated Testscited by 377
13 more
  1. 2022Generating Sequences by Learning to Self-Correctcited by 273
  2. 2023Reward Design with Language Modelscited by 259
  3. 2023LEVER: Learning to Verify Language-to-Code Generation with Executioncited by 235
  4. 2023Planning with Large Language Models for Code Generationcited by 182
  5. 2019SPoC: Search-based Pseudocode to Codecited by 176
  6. 2022Natural Language to Code Translation with Executioncited by 123
  7. 2022Reading Between the Lines: Modeling User Behavior and Costs in AI-Assisted Programmingcited by 91
  8. 2022Coder Reviewer Reranking for Code Generationcited by 84
  9. 2021TOGA: A Neural Method for Test Oracle Generationcited by 57
  10. 2022Fault-Aware Neural Code Rankerscited by 33
  11. 2015A Theory of Formal Synthesis via Inductive Learningcited by 17
  12. 2022Type-Directed Synthesis of Visualizations from Natural Language Queriescited by 5
  13. 2022ObSynth: An Interactive Synthesis System for Generating Object Models from Natural Language Specificationscited by 1

Built on by

Cited by year (2026 to 13 Oct)

Citing papers per year: 2023: 7; 2024: 16; 2025: 12; 2026: 6.

41 papers.

Sort:

By area:

  1. 2023Large Language Models for Software Engineering: A Systematic Literature Reviewcited by 395
  2. 2024CRUXEval: A Benchmark for Code Reasoning, Understanding and Executioncited by 297
  3. 2023Automatically Correcting Large Language Models: Surveying the landscape of diverse self-correction strategiescited by 237
  4. 2025R2E-Gym: Procedural Environments and Hybrid Verifiers for Scaling Open-Weights SWE Agentscited by 143
  5. 2024Debug like a Human: A Large Language Model Debugger via Verifying Runtime Execution Step-by-stepcited by 123
  6. 2025ACECODER: Acing Coder RL via Automated Test-Case Synthesiscited by 91
  7. 2023Phenomenal Yet Puzzling: Testing Inductive Reasoning Capabilities of Language Models with Hypothesis Refinementcited by 89
  8. 2024From LLMs to LLM-based Agents for Software Engineering: A Survey of Current, Challenges and Futurecited by 86
  9. 2025LLM-based Agents Suffer from Hallucinations: A Survey of Taxonomy, Methods, and Directionscited by 50
  10. 2024Confidence Matters: Revisiting Intrinsic Self-Correction Capabilities of Large Language Modelscited by 47
  11. 2023Enhancing Large Language Models in Coding Through Multi-Perspective Self-Consistencycited by 46
  12. 2025LongCodeZip: Compress Long Context for Code Language Modelscited by 39
29 more
  1. 2024Automated Proof Generation for Rust Code via Self-Evolutioncited by 31
  2. 2024EffiLearner: Enhancing Efficiency of Generated Code via Self-Optimizationcited by 29
  3. 2023LLM-Assisted Code Cleaning For Training Accurate Code Generatorscited by 27
  4. 2023Competition-Level Problems are Effective LLM Evaluatorscited by 25
  5. 2023Zero-Shot Detection of Machine-Generated Codescited by 24
  6. 2024EVOR: Evolving Retrieval for Code Generationcited by 22
  7. 2025SWE-Synth: Synthesizing Verifiable Bug-Fix Data to Enable Large Language Models in Resolving Real-World Bugscited by 22
  8. 2024The Counterfeit Conundrum: Can Code Language Models Grasp the Nuances of Their Incorrect Generations?cited by 20
  9. 2024Scaling LLM Inference with Optimized Sample Compute Allocationcited by 16
  10. 2024Measuring the Influence of Incorrect Code on Test Generationcited by 11
  11. 2025AutoCode: LLMs as Problem Setters for Competitive Programmingcited by 11
  12. 2024Scattered Forest Search: Smarter Code Space Exploration with LLMscited by 10
  13. 2025Can LLMs Generate High-Quality Test Cases for Algorithm Problems? TestCase-Eval: A Systematic Evaluation of Fault Coverage and Exposurecited by 10
  14. 2024Top Pass: Improve Code Generation by Pass@k-Maximized Code Rankingcited by 9
  15. 2025Scoring Verifiers: Evaluating Synthetic Verification for Code and Reasoningcited by 9
  16. 2024ArchCode: Incorporating Software Requirements in Code Generation with Large Language Modelscited by 8
  17. 2025Scaling Test-Time Compute to Achieve IOI Gold Medal with Open-Weight Modelscited by 8
  18. 2026Can Vision-Language Models Handle Long-Context Code? An Empirical Study on Visual Compressioncited by 5
  19. 2025How Many Code and Test Cases Are Enough? Evaluating Test Cases Generation from a Binary-Matrix Perspectivecited by 4
  20. 2026Falsification, Not Exposure: An Internally Preregistered Placebo-Controlled Decomposition of Self-Repair Feedback in Frozen Small Code Modelscited by 4
  21. 2024Generative transformations and patterns in LLM-native approaches for software verification and falsificationcited by 2
  22. 2025HarnessLLM: Automatic Testing Harness Generation via Reinforcement Learningcited by 2
  23. 2024GUI Test Migration via Abstraction and Concretizationcited by 1
  24. 2024Enhancing Relation Extraction via Supervised Rationale Verification and Feedbackcited by 1
  25. 2025Leveraging LLMs to Streamline the Review of Public Funding Applicationscited by 1
  26. 2026Perceptual Self-Reflection in Agentic Physics Simulation Code Generationcited by 1
  27. 2026ACES: Who Tests the Tests? Leave-One-Out AUC Consistency for Code Generationcited by 1
  28. 2026Imperfect Visual Verification for Code Edition : A Case Study on TikZcited by 0
  29. 2026ExeCRE: Execution-Consistency Guided Reliability Estimation for Self-Correcting Code Generationcited by 0