TL;DR
Smaller open-source LLMs can verify complex mathematical proofs nearly as accurately as frontier models, but they suffer from significant inconsistency across repeated judgments. By employing a diverse ensemble of specialized prompts—such as "Logic Chain Verifiers" and "Proof Repair" agents—researchers boosted the performance of models like Qwen3.5-35B to match frontier-level verifiers at a fraction of the inference cost.
What Problem Does This Paper Address?
As Large Language Models (LLMs) begin to tackle gold-medal-level math problems, the bottleneck shifts from generation to verification. We need to know if a natural language proof is actually sound. While verification is traditionally considered "easier" than generation, natural language proofs are riddled with ambiguities, implicit leaps, and nested logic that make automated checking difficult.
Currently, "frontier" models (like GPT-5.2 or Gemini 3.1 Pro) are the gold standard for this task. However, these models are expensive and closed-source. This paper investigates a fundamental question: Do we actually need massive frontier models for verification, or can smaller, open-source models do the job if prompted correctly?
Methods
The authors systematically evaluated four open-source models (Qwen3.5 and GPT-OSS variants) and two frontier models. They focused on two metrics: Balanced Accuracy (correctness of judgment) and Self-Consistency (agreement across repeated runs).
The core innovation is a Prompt Ensemble approach. Rather than relying on a single "General Grading" prompt, the authors used an LLM-guided search (via Claude Code) to synthesize a suite of 12 prompt calls involving 8 distinct strategies:
- Logic Chain Verifier: Checks if each conclusion follows from its premises.
- Proof Repair: Asks the model to fix the proof; if a non-trivial fix is required, the proof is flagged as incorrect.
- Extreme Skeptic: A high-strictness prompt that assumes the proof is wrong unless every edge case is handled.
- Theorem Usage Analysis: Specifically verifies if lemmas and theorems are applied correctly.
The final verdict is determined by threshold voting: a proof is accepted only if at least 8 out of the 12 prompt calls judge it as correct.
Datasets
The study utilized three major benchmarks of natural language mathematical proofs, all featuring Olympiad-level problems and human-expert annotations:
- IMO-GradingBench: Proofs graded on a 0–7 scale.
- ProofArena: Binary-labeled proofs.
- ProofBench: Another 0–7 scale dataset.
- TrainProofs: A specialized subset of 200 examples used specifically for prompt optimization and search.
Key Insights and Ideas
- The Consistency Gap: The primary difference between frontier and open-source models isn't just raw intelligence, but reliability. Smaller models were only ~10% behind in accuracy but up to 25% more inconsistent.
- Elicitation vs. Capability: Smaller models often possess the mathematical knowledge to spot an error but fail to "attend" to it with general prompts. They might even "hallucinate" a fix for a gap in the proof and then declare the original proof correct.
- Turning Weakness into Strength: The "Proof Repair" prompt is a clever hack. It exploits the model's tendency to fill in gaps by explicitly asking it to do so, then using the necessity of that repair as evidence that the original proof was flawed.
- Prompt Sensitivity: All models, including frontier ones, showed massive performance swings based on the prompt style. For instance, the "GIMO" prompt (step-by-step evaluation) often biased models toward rejecting correct proofs by over-focusing on local inconsistencies.
Key Results
- Performance Boost: The ensemble method improved smaller models by up to 9.1% in balanced accuracy and 15.9% in self-consistency.
- Closing the Gap: With ensembling, Qwen3.5-35B performed on par with Gemini 3.1 Pro and GPT-5.2 (low reasoning) across multiple datasets.
- Cost Efficiency: The GPT-OSS-120B ensemble achieved ~84.8% accuracy at a cost of $5.51 per 1,000 examples. In comparison, GPT-5.2 with high reasoning costs $84.35 for similar accuracy—a 15x difference.
- Transferability: Prompts optimized on one model (GPT-OSS-120B) transferred effectively to others (Qwen3.5), suggesting these failure modes are general to the task of proof verification rather than model-specific.
Limitations and Future Work
- Scope of Mathematics: The findings are limited to Olympiad-level competition math. It remains unclear if these techniques scale to research-level mathematics where "missing knowledge" is a bigger factor than "reasoning gaps."
- Binary Simplification: The authors converted 0–7 human grades into binary "Correct/Incorrect" labels, which might discard useful nuance regarding partially correct proofs.
- Contamination: As with all LLM benchmarks, the authors acknowledge they cannot fully rule out that these specific competition problems were present in the models' training data.
- Future Directions: The authors suggest applying this methodology to other high-stakes verification domains, such as legal reasoning or financial auditing.
Summary updated