mlsanityData to 7 Oct 2026

CoRE: A Fine-Grained Code Reasoning Benchmark Beyond Output Prediction

arXiv 2604.25399 ↗First posted 28 Apr 2026cs.SEcited by 2

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

Abstract (arXiv)

Despite strong performance on code generation tasks, it remains unclear whether large language models (LLMs) genuinely reason about code execution. Existing code reasoning benchmarks primarily evaluate final output correctness under a single canonical implementation, leaving two critical aspects underexplored: (1) whether LLMs can maintain consistency to functionally equivalent implementations, and (2) whether LLMs can accurately reason about intermediate execution states. We introduce CoRE, a Code Reasoning benchmark that evaluates code reasoning through implementation invariance and process transparency. Extensive evaluations on eight frontier LLMs reveal two fundamental limitations. First, models exhibit a substantial robustness gap, with performance varying significantly across equivalent implementations. Second, we observe superficial execution, where models arrive at correct final outputs without correctly reasoning about intermediate execution states. Together, these findings demonstrate that output-only evaluations are insufficient for assessing code reasoning and position CoRE as a necessary benchmark for evaluating robust and faithful code reasoning.footnoteData and code are available at https://github.com/ZJUSig/CoRE.

Key facts. Cited by 2 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 15 of its 36 references that are in the map. First posted on arXiv 28 Apr 2026.

Builds on

15 of 36 references.

Closest ancestors · 2

Same direction, newest first

  1. 2025textttReMind: Understanding Deductive Code Reasoning in LLMs1 Nov
  2. 2024LiveCodeBench: Holistic and Contamination Free Evaluation of Large Language Models for Code12 Mar

Other references · 13

  1. 2025Qwen3 Technical Reportcited by 8,195
  2. 2021Evaluating Large Language Models Trained on Codecited by 8,053
  3. 2025DeepSeek-R1: Incentivizing Reasoning Capability in LLMs via Reinforcement Learningcited by 6,146
  4. 2024GPT-4o System Cardcited by 4,467
  5. 2022Solving math word problems with process- and outcome-based feedbackcited by 871
  6. 2025DeepSeek-V3.2: Pushing the Frontier of Open Large Language Modelscited by 755
  7. 2024DeepSeek-V3 Technical Reportcited by 724
  8. 2023Measuring Faithfulness in Chain-of-Thought Reasoningcited by 668
  9. 2024CRUXEval: A Benchmark for Code Reasoning, Understanding and Executioncited by 294
  10. 2024RepairAgent: An Autonomous, LLM-Based Agent for Program Repaircited by 225
  11. 2025AnyTalker: Scaling Multi-Person Talking Video Generation with Interactivity Refinementcited by 19
  12. 2025Balancing Fidelity and Plasticity: Aligning Mixed-Precision Fine-Tuning with Linguistic Hierarchiescited by 5
1 more
  1. 2024QPruner: Probabilistic Decision Quantization for Structured Pruning in Large Language Modelscited by 2

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 2.

2 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2025Demystifying Errors in LLM Reasoning Traces: An Empirical Study of Code Execution Simulation
  2. 2025CoRe: Benchmarking LLMs Code Reasoning Capabilities through Static Analysis Tasks
  3. 2026An Execution-Verified Multi-Language Benchmark for Code Semantic Reasoning
  4. 2025Beyond Synthetic Benchmarks: Evaluating LLM Performance on Real-World Class-Level Code Generation
  5. 2025A Tool for In-depth Analysis of Code Execution Reasoning of Large Language Models
  6. 2024CodeMind: Evaluating Large Language Models for Code Reasoning
  7. 2025EquiBench: Benchmarking Large Language Models' Reasoning about Program Semantics via Equivalence Checking
  8. 2026Inferring Code Correctness from Specification