arXiv:2610.36767cs.AIOct 2026

Manuscript Offprint

arXiv:2610.36767

Can LLMs Reliably Grade Olympiad Proofs? A Study of Mathematical Verification with LLMs

Azim Ospanov, Zijin Feng, Ding Ding, Chengwu Liu, Haoli Bai, Jiacheng Sun, Lifeng Shang, Farzan Farnia

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Large Language Models (LLMs) have made remarkable progress on solving competition-level mathematics, yet their ability to verify natural-language mathematical proofs remains relatively underexplored. This gap is especially pronounced for Olympiad-level proofs, which require meticulous assessment of each claim in a long reasoning chain. Current proof verification thus primarily relies on expert inspection, which is costly to scale. In this paper, we present a systematic study of LLM-based verification in this setting. Specifically, we introduce a human-curated dataset of USAMO 2025 candidate solutions with expert grading, and conduct a broad evaluation of existing LLM verifiers across frontier models. We also propose TROJAN, an iterative self-critique pipeline for generating high-fidelity adversarial proofs at scale. Our comprehensive evaluation covers 20 models spanning seven metrics, two prompt styles, three inference methods, and three prompt templates, showing that state-of-the-art models still leave considerable room for improvement. To narrow this gap, we propose MABGrader, a Multi-Armed Bandit framework that reframes grading as arm selection over the discrete score space. MABGrader outperforms the SOTA ProofGrader by 26.4% in Quadratic Weighted Kappa and reduces grading error by 14%. Code and dataset are available at https://github.com/aziksh-ospanov/TROJAN.

1 Introduction

Mathematical problem-solving is a core capability of large language models (LLMs). Recent frontier models have demonstrated remarkable proficiency in competition-level mathematics, including the International Mathematical Olympiad (IMO) and the United States of America Mathematical Olympiad (USAMO) [58, 24]. Much of this progress, however, is measured by final-answer correctness, which is a limited proxy for complex mathematical reasoning since a solution may reach the correct answer while containing logical gaps, unjustified claims, or subtle errors [47, 33]. Moreover, many proving problems do not admit a final answer, requiring costly expert verification.

These motivate scalable methods for evaluating natural-language mathematical solutions. In this work, we study the verification of natural-language mathematical solutions. Specifically, an LLM-based verifier receives a mathematical problem, a candidate solution, and optionally a reference solution and a marking scheme; it must then identify reasoning errors and assign a fair grade [33, 4]. Recent work has approached this task by constructing proof-verification benchmarks and designing LLM-based graders: MathArena [4] evaluates LLMs on competition proof problems using expert graders to assess model-generated solutions, ProofAutoGrader [32] constructs IMO-GradingBench and studies automatic grading with reference solutions and guidelines, and ProofGrader [33] analyzes how model choice, grading schemes, reference solutions, and ensembling affect agreement with expert.

*First author: azimospanov@outlook.com

†^{\dagger}Corresponding authors: fengzijinn@gmail.com, farnia@cse.cuhk.edu.hk

40th Conference on Neural Information Processing Systems (NeurIPS 2026).

Figure

Models

Sonnet 4.6 (no think)

DS-v4 Flash (think) + MABGr.

Gemini 3 Pro (think) + MABGr.

Prometheus 7B

Sonnet 4.6 (think)

DS-v4 Pro

GPT-4o

Prometheus 8×7B

DS-v3.2 (no think)

Gemini 2.5 Flash

GPT-5

Qwen3 8B

DS-v3.2 (think)

Gemini 2.5 Pro (no think)

GPT-5 Mini

Qwen3.5 27B

DS-v4 Flash (no think)

Gemini 2.5 Pro (think)

Kimi K2.5

Qwen3.5 27B + MABGr.

DS-v4 Flash (think)

Gemini 3 Pro (think)

Kimi K2.5 + MABGr.

Qwen3.5 9B

Dot size = params

Small

Medium

Large

Very Large

Figure 1: Performance of models on Trojan-Bench(H), comparing Majority@16 with our MABGr. inference method across 4 metrics. Color and marker size denotes the model and parameter scale, resp. The spread indicates considerable room for improvement, while MABGr. show consistent gains.

Despite this progress, two challenges remain for Olympiad-level mathematical verification. First, existing datasets often collect LLM-generated candidate solutions and rely on human experts to grade them, which is costly, difficult to scale, and provides limited control over the error distribution [4, 33]. This makes it difficult to diagnose which types of mistakes LLM can or cannot detect. Second, verification itself remains difficult. Competition proofs are long, multi-step arguments in which a single mistake or omission can invalidate later conclusions or alter the appropriate partial credit. A verifier must thus go beyond surface plausibility by localizing the failure point and assessing its effect on the final grade. Figure 1 illustrates this gap. Existing approaches, including prompt engineering, PRM/ORM-based selection [29, 57], and LLM-judge ensembles [8, 22], can improve verification performance, but often require careful finetuning and stacking of different models. These limitations motivate diagnostic benchmarks for targeted error analysis and inference methods that improve grading without modifying the underlying base model.

In this work, we present a systematic study of LLM-based verification for Olympiad-level mathematics. We introduce a human-curated benchmark dataset derived from the USAMO 2025, where rubric-aligned adversarial errors, such as imprecise notation and unjustified lemma applications, are deliberately injected into candidate solutions. This design enables targeted evaluation of whether LLM judges can detect specific reasoning flaws and assign appropriate partial credit, while providing greater control over error type and severity than spontaneous LLM-generated mistakes. To scale data generation, we propose an iterative self-critique pipeline called TROJAN (Targeted adveRsarial errOr inJection for mAth evaluatioN) that produces adversarial solutions with human-like flaws. We show that fine-tuning on this synthetic data improves agreement with expert grading. We further propose MABGrader, an agentic Multi-Armed Bandit framework for mathematical verification. Rather than producing a verification judgment in one pass, MABGrader formulates verification as an optimal selection problem over candidate judgments, where each arm corresponds to a possible grade with supporting error analysis. Through iterative sampling and reward optimization, it allocates more computation to uncertain cases and improves grade selection without modifying the underlying base model. Our contributions are summarized as follows:

• We introduce Trojan-Bench(H), a human-curated dataset of error-injected USAMO 2025 solutions for evaluating how LLM verifiers detect subtle reasoning flaws and assign grades.

• We propose TROJAN, a self-critique pipeline for generating high-fidelity adversarial samples, and show that training on the resulting Trojan-Bench(S) improves alignment with experts.

• We conduct a systematic evaluation of 20 models across multiple prompts, inference methods, and metrics, measuring their verification abilities on Olympiad-level mathematics.

• We introduce MABGrader, a Multi-Armed Bandit algorithm that mitigates LLM verification instability and provides a robust alternative to single- and multi-shot grading methods.

References (74)