Can Language Models Falsify? Evaluating Algorithmic Reasoning with Counterexample Creation

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Sinha, Shiven, Goel, Shashwat, Kumaraguru, Ponnurangam, Geiping, Jonas, Bethge, Matthias, Prabhu, Ameya
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866910846522753024
author Sinha, Shiven
Goel, Shashwat
Kumaraguru, Ponnurangam
Geiping, Jonas
Bethge, Matthias
Prabhu, Ameya
author_facet Sinha, Shiven
Goel, Shashwat
Kumaraguru, Ponnurangam
Geiping, Jonas
Bethge, Matthias
Prabhu, Ameya
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2502_19414
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Can Language Models Falsify? Evaluating Algorithmic Reasoning with Counterexample Creation
Sinha, Shiven
Goel, Shashwat
Kumaraguru, Ponnurangam
Geiping, Jonas
Bethge, Matthias
Prabhu, Ameya
Machine Learning
Software Engineering
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.
title Can Language Models Falsify? Evaluating Algorithmic Reasoning with Counterexample Creation
topic Machine Learning
Software Engineering
url https://arxiv.org/abs/2502.19414