CodeARC: Benchmarking Reasoning Capabilities of LLM Agents for Inductive Program Synthesis
Abstract
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.
Community
Introducing CodeARC, a new framework designed to evaluate the reasoning, self-correction, and tool-using capabilities of LLM agents in inductive program synthesis. CodeARC challenges LLMs to iteratively synthesize and refine programs through function calling and feedback-driven reasoning. Among 18 state-of-the-art models evaluated, o3-mini performs best with a success rate of 52.7%, highlighting the difficulty of this task.
This is an automated message from the Librarian Bot. I found the following papers similar to this paper.
The following papers were recommended by the Semantic Scholar API
- L0-Reasoning Bench: Evaluating Procedural Correctness in Language Models via Simple Program Execution (2025)
- Scoring Verifiers: Evaluating Synthetic Verification in Code and Reasoning (2025)
- CODESIM: Multi-Agent Code Generation and Problem Solving through Simulation-Driven Planning and Debugging (2025)
- Building A Proof-Oriented Programmer That Is 64% Better Than GPT-4o Under Data Scarsity (2025)
- ConvCodeWorld: Benchmarking Conversational Code Generation in Reproducible Feedback Environments (2025)
- CodeI/O: Condensing Reasoning Patterns via Code Input-Output Prediction (2025)
- LLM-Guided Compositional Program Synthesis (2025)
Please give a thumbs up to this comment if you found it helpful!
If you want recommendations for any Paper on Hugging Face checkout this Space
You can directly ask Librarian Bot for paper recommendations by tagging it in a comment:
@librarian-bot
recommend
Models citing this paper 0
No model linking this paper
Datasets citing this paper 0
No dataset linking this paper
Spaces citing this paper 0
No Space linking this paper
Collections including this paper 0
No Collection including this paper