atlas

Research map / Large language models / Agents, code and math

One Example Shown, Many Concepts Known! Counterexample-Driven Conceptual Reasoning in Mathematical LLMs

ICML 2025 · Large language models › Agents, code and math · approach: Formal verification and proof data · 1 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Introduces CounterMath, a 1,216-item university-level counterexample-based math judgement benchmark, evaluates many LLMs on it, and fine-tunes Qwen2.5-Math-7B-Instruct with 1,025 filtered SFT samples.

Problem

Current mathematical LLMs prove statements mainly when they have seen similar proof processes in training; they lack conceptual understanding that counterexample-driven proof would reveal.

Approach

Evaluate and train LLMs to judge true/false of university-level statements and justify with counterexamples (proof by counterexample), using a benchmark built from counterexample textbooks plus an LLM-based filter/refine pipeline for SFT data from existing proof datasets.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Fine-tune Qwen2.5-Math-7B-Instruct with CounterMath-oriented SFT dataQwen2.5-Math-7B-Instruct · CounterMathF1 (macro): 38.3 -> 39.7Helped
Add a prompt encouraging reasoning by examples (ablation)Qwen2.5-Math-7B-Instruct · CounterMathF1 (macro): 38.3 -> 39.4Helped
Add a prompt encouraging reasoning by examples (ablation)Qwen2.5-Math-7B-Instruct · CounterMathStrict (%): 30.2 -> 33.1Helped
Add a hint prompt to the SFT model (ablation)Qwen2.5-Math-7B-Instruct-SFT · CounterMathStrict (%): 31.4 -> 31.1Hurt
Fine-tune Qwen2.5-math-7B-Instruct with CounterMath-oriented SFT dataQwen2.5-math-7B-Instruct · GSM8Kscore: 95.1 -> 95.6Helped
Fine-tune Qwen2.5-math-7B-Instruct with CounterMath-oriented SFT dataQwen2.5-math-7B-Instruct · MATHscore: 80.5 -> 87.9Helped
Fine-tune Qwen2.5-math-7B-Instruct with CounterMath-oriented SFT dataQwen2.5-math-7B-Instruct · Olympaidbench-Mathscore: 41.6 -> 46.4Helped
Fine-tune Qwen2.5-math-7B-Instruct with CounterMath-oriented SFT dataQwen2.5-math-7B-Instruct · MMLU-college-Mathscore: 74.0 -> 80.0Helped
Fine-tune Qwen2.5-math-7B-Instruct with CounterMath-oriented SFT dataQwen2.5-math-7B-Instruct · AIME 2024score: 20.0 -> 30.0Helped

Surprising findings

Limitations

Experimental setup

Datasets: ProofNet NaturalProof CounterMath

Benchmarks: CounterMath GSM8K MATH OlympiadBench MMLU-college-Math AIME 2024

Metrics: F1 (macro) Examples (%) Strict align (%) Loose align (%)

Baselines: Deepseek-Math-7B-RL Eurus-2-7B-PRIME Qwen2.5-Math-7B-Instruct Qwen2.5-Math-72B-Instruct GPT-4o OpenAI o1-preview Deepseek-R1 Claude3.7-sonnet Gemini2.5-pro QwQ-32B-Preview

Builds on: chain-of-thought Qwen2.5-Math AutoRace

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy