Skip to content

Repository files navigation

AdvancedMathBench: A Benchmark Suite for Advanced Mathematical Proof Generation and Verification

arXiv Hugging Face Paper Dataset AutoVerifier

Lingkai Kong, Zijian Wu, Yuzhe Gu, Haiteng Zhao, Zhouqi Hua, Wenyong Huang,
Shuang Sun, Zhicheng Xiong, Xiaotian Zhang, Shuya Zhao, Yan Wang, Disheng Xu,
Wenwei Zhang, Kai Chen

Overview

AdvancedMathBench evaluates whether language models can construct and verify natural-language proofs in advanced mathematics. It covers undergraduate-level (UG) and qualifying-examination-level (QE) mathematics, with problems drawn from examinations, mathematics competitions, and textbooks.

  • ProverBench contains 245 expert-reviewed problems for proof generation.
  • VerifierBench contains 888 proof trajectories with full-chain expert annotations, including fatal errors, recoverable errors, and explanations.
  • AutoVerifier is a trained proof verifier for automated ProverBench evaluation. The default pessimistic protocol accepts a proof only when all eight judgments accept it. VerifierBench additionally uses meta-verification to assess whether a model's error analysis agrees with expert annotations.

Figure 1, left: model performance on HMMT, USAMO, and ProverBench Figure 1, right: VerifierBench meta-verification TPR and TNR, with Balanced F1 labels

Figure 1. Model performance on AdvancedMathBench. Left: proof-generation performance compared with HMMT and USAMO. Right: meta-verification TPR and TNR; marker labels show Balanced F1.

Figure 2: AdvancedMathBench pipeline, from benchmark construction and expert annotation to verifier training and evaluation

Figure 2. Overview of benchmark construction and the automatic verification pipeline.

Benchmark Evaluation unit UG (ugd) QE (qe) Total
ProverBench Problem 200 45 245
VerifierBench Annotated proof 168 720 888

The overview and results below follow the final manuscript dated September 28, 2026. The initial arXiv version describes an earlier ProverBench revision; see release notes for version details.

Main results (Table 1)

Main results on ProverBench and VerifierBench from the final manuscript, in percent. ProverBench uses pessimistic proof acceptance. VerifierBench reports both correct/incorrect polarity (Rough) and agreement with expert error analyses (Meta-Verification). Bal. F1 is the harmonic mean of TPR and TNR.

ModelProverBenchVerifierBench
UGQERoughMeta-Verification
TPRTNRBal. F1TPRTNRBal. F1
Proprietary Models
GPT-5.5-xhigh64.548.978.973.376.078.955.164.9
GPT-5.5-high53.346.178.473.876.078.353.663.6
GPT-5.253.026.766.965.065.966.950.857.7
Gemini-3.1-Pro-Preview46.517.894.049.064.494.039.155.2
Claude-Opus-4.859.040.096.437.954.493.835.051.0
Open-source Models
DeepSeek-V4-Pro54.040.078.170.674.178.155.865.1
Qwen3.5-397B-A17B40.033.591.555.268.991.543.058.5
Kimi-K2.648.020.080.863.170.980.850.362.0
GLM-5.244.528.982.566.973.982.351.563.3
gpt-oss-120b20.52.295.238.755.095.332.047.9
Intern-S2-Preview-35B27.016.795.238.755.095.230.746.4

Strong proof generation does not necessarily imply strong proof verification. Binary verdict accuracy can also hide incorrect error explanations. See the results notes for metric definitions and reproduction scope.

Quick start

Python 3.10+ is required. Run the following commands from this repository's root. The API evaluator has no internal-repository dependencies and uses the Python standard library; the hub extra installs the Hugging Face download tools.

python -m pip install -e '.[hub]'
bash scripts/download_data.sh

This downloads both benchmark files at a pinned revision and checks their SHA256 hashes. If access requires authentication, run hf auth login first with an authorized account. See data documentation.

ProverBench

Configure an API prover and an AutoVerifier endpoint:

cp configs/prover_api.example.json configs/prover_api.local.json
export POLICY_API_KEY="YOUR_API_KEY"
# Edit the model names and endpoint URLs in the local config.
python -m advancedmathbench prover \
  --data data/proverbench/test.jsonl \
  --config configs/prover_api.local.json \
  --output outputs/prover \
  --samples 4 --verifier-repeats 8 --dry-run

--dry-run validates inputs and shows the call budget without calling models. Remove it to run evaluation. Each of the four generated proofs per problem receives eight independent verifier judgments. The example requires a deployed AutoVerifier; it does not start a model server.

VerifierBench

Configure the model to evaluate as a verifier:

cp configs/verifier_api.example.json configs/verifier_api.local.json
export VERIFIER_API_KEY="YOUR_API_KEY"
# Edit the model name and endpoint URL in the local config.
python -m advancedmathbench verifier \
  --data data/verifierbench/test.jsonl \
  --config configs/verifier_api.local.json \
  --output outputs/verifier --verifier-repeats 1 --dry-run

Remove --dry-run to run. For explanation-quality evaluation, use configs/verifier_meta.example.json with --meta; the manuscript uses gpt-oss-120b as the meta-verifier.

See the evaluation guide for meta-verification, local model loading, domain filters, outputs, and resuming. The metrics reference defines scoring and invalid-output handling. CLI scores are on 0–1; paper tables use percentages. Example settings are not a turnkey reproduction of paper results.

AutoVerifier

The model repository contains the checkpoint, tokenizer, and proof-verification prompt. To download the pinned checkpoint separately:

bash scripts/download_verifier.sh

The checkpoint is approximately 68 GiB. Optional local inference uses public Transformers; see the setup and compatibility notes before loading it. Full GPU inference has not been validated by the offline tests.

Repository layout

advancedmathbench/   Standalone evaluator and bundled task prompts
assets/             Paper figures in SVG format
configs/            API and local-model configuration examples
data/               Dataset download instructions and checksums
docs/               Evaluation, metrics, results, and release notes
scripts/            Pinned dataset and checkpoint download helpers
tests/              Offline tests; no credentials or model weights needed
CITATION.cff        Machine-readable paper citation
citation.bib        BibTeX citation

Run tests with python -m unittest discover -s tests -v. See validation for the tested scope.

Licensing

No code license is declared at this time. Dataset and model terms are separate; see licensing notes and the respective Hugging Face repositories.

Citation

If you use AdvancedMathBench, please cite the paper. The citation below follows the current arXiv author list. Also available as BibTeX and CITATION.cff.

@misc{kong2026advancedmathbenchbenchmarksuiteadvanced,
  title = {AdvancedMathBench: A Benchmark Suite for Advanced Mathematical Proof Generation and Verification},
  author = {Lingkai Kong and Zijian Wu and Yuzhe Gu and Haiteng Zhao and Wenyong Huang and Shuang Sun and Zhicheng Xiong and Xiaotian Zhang and Shuya Zhao and Yan Wang and Disheng Xu and Wenwei Zhang and Kai Chen},
  year = {2026},
  eprint = {2607.11849},
  archivePrefix = {arXiv},
  primaryClass = {cs.CL},
  doi = {10.48550/arXiv.2607.11849},
  url = {https://arxiv.org/abs/2607.11849}
}

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages