CodeARC: Benchmarking Reasoning Capabilities of LLM Agents for Inductive Program Synthesis
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
- 2025EquiBench: Benchmarking Large Language Models' Reasoning about Program Semantics via Equivalence Checking18 Feb
- 2024SemCoder: Training Code Language Models with Comprehensive Semantics Reasoning3 Jun
- 2024NExT: Teaching Large Language Models to Reason about Code Execution23 Apr
- 2024LiveCodeBench: Holistic and Contamination Free Evaluation of Large Language Models for Code12 Mar
- 2024CodeMind: Evaluating Large Language Models for Code Reasoning15 Feb
- 2023Teaching Large Language Models to Self-Debug11 Apr
Other references · 38
- 2021Training Verifiers to Solve Math Word Problemscited by 9,743
- 2021Evaluating Large Language Models Trained on Codecited by 8,053
- 2021Program Synthesis with Large Language Modelscited by 3,509
- 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,193
- 2023WebArena: A Realistic Web Environment for Building Autonomous Agentscited by 1,908
- 2018CommonsenseQA: A Question Answering Challenge Targeting Commonsense Knowledgecited by 1,793
- 2023AgentBench: Evaluating LLMs as Agentscited by 1,211
- 2021Measuring Coding Challenge Competence With APPScited by 879
- 2024Large Language Model based Multi-Agents: A Survey of Progress and Challengescited by 752
- 2022Large Language Models Can Self-Improvecited by 656
- 2024BigCodeBench: Benchmarking Code Generation with Diverse Function Calls and Complex Instructionscited by 527
- 2023RepoBench: Benchmarking Repository-Level Code Auto-Completion Systemscited by 346
26 more
- 2023MLAgentBench: Evaluating Language Agents on Machine Learning Experimentationcited by 339
- 2021A Diverse Corpus for Evaluating and Developing English Math Word Problem Solverscited by 314
- 2024CRUXEval: A Benchmark for Code Reasoning, Understanding and Executioncited by 294
- 2024LogicVista: Multimodal LLM Logical Reasoning Benchmark in Visual Contextscited by 240
- 2022FOLIO: Natural Language Reasoning with First-Order Logiccited by 233
- 2023REFINER: Reasoning Feedback on Intermediate Representationscited by 203
- 2024Large Language Model-Based Agents for Software Engineering: A Surveycited by 173
- 2023ClassEval: A Manually-Crafted Benchmark for Evaluating LLMs on Class-level Code Generationcited by 166
- 2023TACO: Topics in Algorithmic COde generation datasetcited by 150
- 2019On the Measure of Intelligencecited by 129
- 2022Natural Language to Code Generation in Interactive Data Science Notebookscited by 86
- 2020LogiQA: A Challenge Dataset for Machine Reading Comprehension with Logical Reasoningcited by 68
- 2024LogicBench: Towards Systematic Evaluation of Logical Reasoning Ability of Large Language Modelscited by 67
- 2024KOR-Bench: Benchmarking Language Models on Knowledge-Orthogonal Reasoning Taskscited by 67
- 2024SynCode: LLM Generation with Grammar Augmentationcited by 66
- 2025CRANE: Reasoning with constrained LLM generationcited by 38
- 2024CoRNStack: High-Quality Contrastive Data for Better Code Retrieval and Rerankingcited by 37
- 2023Code Execution with Pre-trained Language Modelscited by 33
- 2024IterGen: Iterative Semantic-aware Structured LLM Generation with Backtrackingcited by 28
- 2024The Role of Deductive and Inductive Reasoning in Large Language Modelscited by 20
- 2024MIRAGE: Evaluating and Explaining Inductive Reasoning Process in Language Modelscited by 17
- 2024Code Simulation Challenges for Large Language Modelscited by 15
- 2024Is The Watermarking Of LLM-Generated Code Robust?cited by 7
- 2025MIR-Bench: Can Your LLM Recognize Complicated Patterns via Many-Shot In-Context Reasoning?cited by 7
- 2024Mokav: Execution-driven Differential Testing with LLMscited by 6
- 2019Visualization by Examplecited by 3
Built on by
Citing papers per year: 2025: 6; 2026: 9.
15 papers.
Sort:
By area:
- 2026ProgramBench: Can Language Models Rebuild Programs From Scratch?cited by 47
- 2025PhysGym: Benchmarking LLMs in Interactive Physics Discovery with Controlled Priorscited by 13
- 2025A Survey of Inductive Reasoning for Large Language Modelscited by 8
- 2025SuperCoder: Assembly Program Superoptimization with Large Language Modelscited by 5
- 2025LLMs Lean on Priors, Not Programming Language Semanticscited by 5
- 2026PatchWorld: Gradient-Free Optimization of Executable World Models for Agent Environmentscited by 5
- 2025Quokka: Accelerating Program Verification with LLMs via Invariant Synthesiscited by 4
- 2026ZAYA1-8B Technical Reportcited by 4
- 2025LLM Priors for ERM over Programscited by 3
- 2026The Periodic Table of LLM Reasoning: A Structured Survey of Reasoning Paradigms, Methods, and Failure Modescited by 0
- 2026RevengeBench: Reverse Engineering Code-Space Policies from Behavioral Experimentscited by 0
- 2026Don't Let Me Ask for It: LLMs Show Deficiencies in Active Multi-Turn Information Acquisition for Abductive Inferencecited by 0
- 2026Codoku: Renewable Program-Reasoning Challenges for Frontier Coding Agents28 Sep 2026
- 2026Toward Interactive Understanding of Code APIs25 Sep 2026
- 2026The RAIL Principles for Neurosymbolic AI: Reasoning, Assurances, Interfacing and Learning4 Aug 2026
- 2026Don't Let Me Ask for It: LLMs Show Deficiencies in Active Multi-Turn Information Acquisition for Abductive Inference4 Aug 2026
- 2026RevengeBench: Reverse Engineering Code-Space Policies from Behavioral Experiments24 Jun 2026
- 2026The Periodic Table of LLM Reasoning: A Structured Survey of Reasoning Paradigms, Methods, and Failure Modes9 Jun 2026
- 2026PatchWorld: Gradient-Free Optimization of Executable World Models for Agent Environments29 May 2026
- 2026ZAYA1-8B Technical Report6 May 2026
- 2026ProgramBench: Can Language Models Rebuild Programs From Scratch?5 May 2026
- 2025LLM Priors for ERM over Programs16 Oct 2025
- 2025A Survey of Inductive Reasoning for Large Language Models11 Oct 2025
- 2025LLMs Lean on Priors, Not Programming Language Semantics3 Oct 2025
- 2025A Survey of Inductive Reasoning for Large Language Modelscited by 8
- 2025LLMs Lean on Priors, Not Programming Language Semanticscited by 5
- 2026ZAYA1-8B Technical Reportcited by 4
- 2026The Periodic Table of LLM Reasoning: A Structured Survey of Reasoning Paradigms, Methods, and Failure Modescited by 0
- 2026Don't Let Me Ask for It: LLMs Show Deficiencies in Active Multi-Turn Information Acquisition for Abductive Inferencecited by 0
- 2026The RAIL Principles for Neurosymbolic AI: Reasoning, Assurances, Interfacing and Learningcited by 0
- 2026Codoku: Renewable Program-Reasoning Challenges for Frontier Coding Agentscited by 0
- 2026Codoku: Renewable Program-Reasoning Challenges for Frontier Coding Agents28 Sep 2026
- 2026The RAIL Principles for Neurosymbolic AI: Reasoning, Assurances, Interfacing and Learning4 Aug 2026
- 2026Don't Let Me Ask for It: LLMs Show Deficiencies in Active Multi-Turn Information Acquisition for Abductive Inference4 Aug 2026
- 2026The Periodic Table of LLM Reasoning: A Structured Survey of Reasoning Paradigms, Methods, and Failure Modes9 Jun 2026
- 2026ZAYA1-8B Technical Report6 May 2026
- 2025A Survey of Inductive Reasoning for Large Language Models11 Oct 2025
- 2025LLMs Lean on Priors, Not Programming Language Semantics3 Oct 2025
- 2026ProgramBench: Can Language Models Rebuild Programs From Scratch?cited by 47
- 2025SuperCoder: Assembly Program Superoptimization with Large Language Modelscited by 5
- 2025Quokka: Accelerating Program Verification with LLMs via Invariant Synthesiscited by 4
- 2025LLM Priors for ERM over Programscited by 3
- 2026RevengeBench: Reverse Engineering Code-Space Policies from Behavioral Experimentscited by 0
- 2026RevengeBench: Reverse Engineering Code-Space Policies from Behavioral Experiments24 Jun 2026
- 2026ProgramBench: Can Language Models Rebuild Programs From Scratch?5 May 2026
- 2025LLM Priors for ERM over Programs16 Oct 2025
- 2025Quokka: Accelerating Program Verification with LLMs via Invariant Synthesis25 Sep 2025
- 2025SuperCoder: Assembly Program Superoptimization with Large Language Models16 May 2025
Similar, not cited
Close in wording, no citation either way
- 2026Inductive Deductive Synthesis: Enabling AI to Generate Formally Verified Systems
- 2026ReaComp: Compiling LLM Reasoning into Symbolic Solvers for Efficient Program Synthesis
- 2024MapCoder: Multi-Agent Code Generation for Competitive Problem Solving
- 2025StackPilot: Autonomous Function Agents for Scalable and Environment-Free Code Execution
- 2026RAVEL: Reasoning Agents for Validating and Evaluating LLM Text Synthesis
- 2025Breakpoint: Scalable evaluation of system-level reasoning in LLM code agents
- 2026Inducing Reasoning Primitives from Agent Traces
- 2025textttReMind: Understanding Deductive Code Reasoning in LLMs