Can Language Models Falsify? Evaluating Algorithmic Reasoning with Counterexample Creation
On the map: LLM reasoning → Mathematical reasoning
Abstract (arXiv)
There is growing excitement about the potential of Language Models (LMs) to accelerate scientific discovery. Falsifying hypotheses is key to scientific progress, as it allows claims to be iteratively refined over time. This process requires significant researcher effort, reasoning, and ingenuity. Yet current benchmarks for LMs predominantly assess their ability to generate solutions rather than challenge them. We advocate for developing benchmarks that evaluate this inverse capability - creating counterexamples for subtly incorrect solutions. To demonstrate this approach, we start with the domain of algorithmic problem solving, where counterexamples can be evaluated automatically using code execution. Specifically, we introduce REFUTE, a dynamically updating benchmark that includes recent problems and incorrect submissions from programming competitions, where human experts successfully identified counterexamples. Our analysis finds that the best reasoning agents, even OpenAI o3-mini (high) with code execution feedback, can create counterexamples for only <9% of incorrect solutions in REFUTE, even though ratings indicate its ability to solve up to 48% of these problems from scratch. We hope our work spurs progress in evaluating and enhancing LMs' ability to falsify incorrect solutions - a capability that is crucial for both accelerating research and making models self-improve through reliable reflective reasoning.
Key facts. Cited by 7 papers in the map (data through 14 Oct 2026). Placed in Mathematical reasoning, one of 17 directions in LLM reasoning. Builds on 27 of its 67 references that are in the map. First posted on arXiv 26 Feb 2025.
Builds on
27 of 67 references.
References · 27
- 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,695
- 2025DeepSeek-R1: Incentivizing Reasoning Capability in LLMs via Reinforcement Learningcited by 6,330
- 2024LiveCodeBench: Holistic and Contamination Free Evaluation of Large Language Models for Codecited by 2,004
- 2021WebGPT: Browser-assisted question-answering with human feedbackcited by 1,745
- 2018FEVER: a large-scale dataset for Fact Extraction and VERificationcited by 1,375
- 2024The AI Scientist: Towards Fully Automated Open-Ended Scientific Discoverycited by 1,071
- 2023DSPy: Compiling Declarative Language Model Calls into Self-Improving Pipelinescited by 832
- 2024Executable Code Actions Elicit Better LLM Agentscited by 564
- 2025Humanity's Last Examcited by 491
- 2024Can LLMs Generate Novel Research Ideas? A Large-Scale Human Study with 100+ NLP Researcherscited by 363
- 2022Measuring Progress on Scalable Oversight for Large Language Modelscited by 225
- 2023Is Self-Repair a Silver Bullet for Code Generation?cited by 197
15 more
- 2024RE-Bench: Evaluating frontier AI R&D capabilities of language model agents against human expertscited by 175
- 2021Automated Fact-Checking for Assisting Human Fact-Checkerscited by 144
- 2023Complex Claim Verification with Evidence Retrieved in the Wildcited by 110
- 2024On scalable oversight with weak LLMs judging strong LLMscited by 99
- 2023PentestGPT: An LLM-empowered Automatic Penetration Testing Toolcited by 97
- 2025Critique Fine-Tuning: Learning to Critique is More Effective than Learning to Imitatecited by 63
- 2024EnIGMA: Interactive Tools Substantially Assist LM Agents in Finding Security Vulnerabilitiescited by 52
- 2024CiteME: Can Language Models Accurately Cite Scientific Claims?cited by 48
- 2024Large Language Models in Cybersecurity: State-of-the-Artcited by 34
- 2024Large Language Models as Test Case Generators: Performance Evaluation and Enhancementcited by 28
- 2024Supernotes: Driving Consensus in Crowd-Sourced Fact-Checkingcited by 22
- 2024Mind the Gap: Examining the Self-Improvement Capabilities of Large Language Modelscited by 18
- 2024Leveraging Print Debugging to Improve Code Generation in Large Language Modelscited by 15
- 2020CounterExample Guided Neural Synthesiscited by 4
- 2024On the Challenges of Fuzzing Techniques via Large Language Modelscited by 4
Built on by
Citing papers per year: 2025: 2; 2026: 5.
7 papers.
- 2025From Code Foundation Models to Agents and Applications: A Comprehensive Survey and Practical Guide to Code Intelligencecited by 15
- 2025HarnessLLM: Automatic Testing Harness Generation via Reinforcement Learningcited by 2
- 2026Beyond Problem Solving: UOJ-Bench for Evaluating Code Generation, Hacking, and Repair in Competitive Programmingcited by 2
- 2026Selection Without Signal, Recovery Through Expression: A Measurement Study of Post-Hoc Falsification Operators for Frozen Small Code Modelscited by 2
- 2026Stellar Colosseum: A Many-Agent Harness for Long-Horizon Research in Mathematics and Theoretical Computer Sciencecited by 1
- 2026Counterexample Generation via Per-Theorem Symbolic Verifiers: When Imitation Hurts and Reinforcement Repairscited by 0
- 2026Beyond the Verdict: Agentic Code Judging with Verifiable Feedbackcited by 0
- 2026Beyond the Verdict: Agentic Code Judging with Verifiable Feedback13 Oct 2026
- 2026Counterexample Generation via Per-Theorem Symbolic Verifiers: When Imitation Hurts and Reinforcement Repairs1 Oct 2026
- 2026Stellar Colosseum: A Many-Agent Harness for Long-Horizon Research in Mathematics and Theoretical Computer Science14 Sep 2026
- 2026Selection Without Signal, Recovery Through Expression: A Measurement Study of Post-Hoc Falsification Operators for Frozen Small Code Models15 Jun 2026
- 2026Beyond Problem Solving: UOJ-Bench for Evaluating Code Generation, Hacking, and Repair in Competitive Programming11 Jun 2026
- 2025From Code Foundation Models to Agents and Applications: A Comprehensive Survey and Practical Guide to Code Intelligence23 Nov 2025
- 2025HarnessLLM: Automatic Testing Harness Generation via Reinforcement Learning2 Nov 2025
Similar, not cited
Close in wording, no citation either way
- 2026FALSIFYBENCH: Evaluating Inductive Reasoning in LLMs with Rule Discovery Games
- 2026Though Language Models Err While They Strive: Conformal Prediction for Self-Correcting Scientific Generation
- 2026Learning to Disprove: Formal Counterexample Generation with Large Language Models
- 2025BeyondBench: Contamination-Resistant Evaluation of Reasoning in Language Models
- 2024The CLRS-Text Algorithmic Reasoning Language Benchmark
- 2026The Counterexample Game: Iterated Conceptual Analysis and Repair in Language Models
- 2025Are Language Models Efficient Reasoners? A Perspective from Logic Programming
- 2026TRACES: Tagging Reasoning Steps for Adaptive Cost-Efficient Early-Stopping