mlsanityData to 7 Oct 2026

CodeARC: Benchmarking Reasoning Capabilities of LLM Agents for Inductive Program Synthesis

arXiv 2503.23145 ↗First posted 29 Mar 2025cs.PL cs.AI cs.CLcited by 15

On the map: LLM reasoning → Reasoning for agents, planning and code

also in 1 more
Abstract (arXiv)

Inductive program synthesis, or programming by example, requires synthesizing functions from input-output examples that generalize to unseen inputs. While large language model agents have shown promise in programming tasks guided by natural language, their ability to perform inductive program synthesis is underexplored. Existing evaluation protocols rely on static sets of examples and held-out tests, offering no feedback when synthesized functions are incorrect and failing to reflect real-world scenarios such as reverse engineering. We propose CodeARC, the Code Abstraction and Reasoning Challenge, a new evaluation framework where agents interact with a hidden target function by querying it with new inputs, synthesizing candidate functions, and iteratively refining their solutions using a differential testing oracle. This interactive setting encourages agents to perform function calls and self-correction based on feedback. We construct the first large-scale benchmark for general-purpose inductive program synthesis, featuring 1114 functions. Among 18 models evaluated, o3-mini performs best with a success rate of 52.7%, highlighting the difficulty of this task. Fine-tuning LLaMA-3.1-8B-Instruct on curated synthesis traces yields up to a 31% relative performance gain. CodeARC provides a more realistic and challenging testbed for evaluating LLM-based program synthesis and inductive reasoning. Our code, data, and models are publicly available at https://github.com/Anjiang-Wei/CodeARC

Key facts. Cited by 15 papers in the map (data through 7 Oct 2026). Placed in Reasoning for agents, planning and code, one of 17 directions in LLM reasoning. Builds on 44 of its 89 references that are in the map. First posted on arXiv 29 Mar 2025.

Builds on

44 of 89 references.

Closest ancestors · 6

Same direction, newest first

  1. 2025EquiBench: Benchmarking Large Language Models' Reasoning about Program Semantics via Equivalence Checking18 Feb
  2. 2024SemCoder: Training Code Language Models with Comprehensive Semantics Reasoning3 Jun
  3. 2024NExT: Teaching Large Language Models to Reason about Code Execution23 Apr
  4. 2024LiveCodeBench: Holistic and Contamination Free Evaluation of Large Language Models for Code12 Mar
  5. 2024CodeMind: Evaluating Large Language Models for Code Reasoning15 Feb
  6. 2023Teaching Large Language Models to Self-Debug11 Apr

Other references · 38

  1. 2021Training Verifiers to Solve Math Word Problemscited by 9,743
  2. 2021Evaluating Large Language Models Trained on Codecited by 8,053
  3. 2021Program Synthesis with Large Language Modelscited by 3,509
  4. 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,193
  5. 2023WebArena: A Realistic Web Environment for Building Autonomous Agentscited by 1,908
  6. 2018CommonsenseQA: A Question Answering Challenge Targeting Commonsense Knowledgecited by 1,793
  7. 2023AgentBench: Evaluating LLMs as Agentscited by 1,211
  8. 2021Measuring Coding Challenge Competence With APPScited by 879
  9. 2024Large Language Model based Multi-Agents: A Survey of Progress and Challengescited by 752
  10. 2022Large Language Models Can Self-Improvecited by 656
  11. 2024BigCodeBench: Benchmarking Code Generation with Diverse Function Calls and Complex Instructionscited by 527
  12. 2023RepoBench: Benchmarking Repository-Level Code Auto-Completion Systemscited by 346
26 more
  1. 2023MLAgentBench: Evaluating Language Agents on Machine Learning Experimentationcited by 339
  2. 2021A Diverse Corpus for Evaluating and Developing English Math Word Problem Solverscited by 314
  3. 2024CRUXEval: A Benchmark for Code Reasoning, Understanding and Executioncited by 294
  4. 2024LogicVista: Multimodal LLM Logical Reasoning Benchmark in Visual Contextscited by 240
  5. 2022FOLIO: Natural Language Reasoning with First-Order Logiccited by 233
  6. 2023REFINER: Reasoning Feedback on Intermediate Representationscited by 203
  7. 2024Large Language Model-Based Agents for Software Engineering: A Surveycited by 173
  8. 2023ClassEval: A Manually-Crafted Benchmark for Evaluating LLMs on Class-level Code Generationcited by 166
  9. 2023TACO: Topics in Algorithmic COde generation datasetcited by 150
  10. 2019On the Measure of Intelligencecited by 129
  11. 2022Natural Language to Code Generation in Interactive Data Science Notebookscited by 86
  12. 2020LogiQA: A Challenge Dataset for Machine Reading Comprehension with Logical Reasoningcited by 68
  13. 2024LogicBench: Towards Systematic Evaluation of Logical Reasoning Ability of Large Language Modelscited by 67
  14. 2024KOR-Bench: Benchmarking Language Models on Knowledge-Orthogonal Reasoning Taskscited by 67
  15. 2024SynCode: LLM Generation with Grammar Augmentationcited by 66
  16. 2025CRANE: Reasoning with constrained LLM generationcited by 38
  17. 2024CoRNStack: High-Quality Contrastive Data for Better Code Retrieval and Rerankingcited by 37
  18. 2023Code Execution with Pre-trained Language Modelscited by 33
  19. 2024IterGen: Iterative Semantic-aware Structured LLM Generation with Backtrackingcited by 28
  20. 2024The Role of Deductive and Inductive Reasoning in Large Language Modelscited by 20
  21. 2024MIRAGE: Evaluating and Explaining Inductive Reasoning Process in Language Modelscited by 17
  22. 2024Code Simulation Challenges for Large Language Modelscited by 15
  23. 2024Is The Watermarking Of LLM-Generated Code Robust?cited by 7
  24. 2025MIR-Bench: Can Your LLM Recognize Complicated Patterns via Many-Shot In-Context Reasoning?cited by 7
  25. 2024Mokav: Execution-driven Differential Testing with LLMscited by 6
  26. 2019Visualization by Examplecited by 3

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2025: 6; 2026: 9.

15 papers.

Sort:

By area:

Similar, not cited

Close in wording, no citation either way

  1. 2026Inductive Deductive Synthesis: Enabling AI to Generate Formally Verified Systems
  2. 2026ReaComp: Compiling LLM Reasoning into Symbolic Solvers for Efficient Program Synthesis
  3. 2024MapCoder: Multi-Agent Code Generation for Competitive Problem Solving
  4. 2025StackPilot: Autonomous Function Agents for Scalable and Environment-Free Code Execution
  5. 2026RAVEL: Reasoning Agents for Validating and Evaluating LLM Text Synthesis
  6. 2025Breakpoint: Scalable evaluation of system-level reasoning in LLM code agents
  7. 2026Inducing Reasoning Primitives from Agent Traces
  8. 2025textttReMind: Understanding Deductive Code Reasoning in LLMs