TL;DR
Mask-Proof is an automated pipeline that converts complex, research-level mathematical proofs into checkable "masked-step" tasks to rigorously evaluate the reasoning capabilities of Large Language Models (LLMs). By agentically hiding critical formula steps and automatically recovering necessary context, it provides a scalable, reproducible benchmark (Mask-ProofBench) that achieves a remarkable 96.8% evaluation agreement with human experts.
What Problem Does This Paper Address?
Evaluating how well LLMs perform step-by-step mathematical reasoning is notoriously difficult. Current benchmarks usually focus on final answers (like GSM8K or MATH) or require expensive, unscalable human expert grading for full proofs. End-to-end proof generation is highly open-ended and hard to verify automatically.
Furthermore, existing attempts at step-level evaluation face three major hurdles:
- Step Selection: Proofs contain many trivial lines; masking the wrong step risks measuring simple pattern matching rather than genuine mathematical inference.
- Missing Dependencies: Research papers frequently rely on external lemmas, definitions, or custom macros. Without recovering this context, a masked step becomes unsolvable.
- Scalable Checking: Rigid string matching fails because math expressions can be written in numerous equivalent ways, yet symbolic tools offer no general verification guarantees.
Methods
The authors introduce Mask-Proof, an automated curation and evaluation pipeline that transforms raw mathematical proofs into verifiable tasks:
- Self-Contained Recovery: Using a Codex CLI agent, the pipeline parses raw LaTeX sources to resolve explicit cross-references and implicit dependencies (such as definitions found elsewhere in the paper). It embeds them directly into the problem context so it is entirely self-contained.
- Agentic Masking: Instead of random masking, the pipeline uses specific rubrics to identify and replace exactly one inference-critical, non-trivial formula step with a
[MASK]token. - Mask-ProofJudge: To evaluate model reconstructions without relying on exact string matching, the pipeline employs an open-source LLM backbone (GPT-OSS-120B High) trained to assess semantic mathematical equivalence. It samples four solutions per problem and uses majority voting to minimize evaluation variance.
The complete workflow is illustrated in the pipeline diagram below:
Datasets
- Mask-ProofBench: A newly introduced benchmark containing 292 curated, research-level mathematical problems across 35 distinct fields (such as PDE/Analysis, Geometry, and Combinatorics). The source papers were pulled from recent arXiv submissions (August–October 2025) to minimize pretraining data contamination, and all instances were manually audited by human experts.
- IMO-ProofBench (Comparison Dataset): To test cross-dataset generalization, the authors applied Mask-Proof to 30 advanced competition proofs from the existing IMO-ProofBench, generating 35 masked instances.
Key Insights and Ideas
- Random Masking is a Trap: The authors discovered that masking steps uniformly at random severely inflates model scores. Random masking often hides trivial algebraic rearrangements or bookkeeping steps that standard models can easily guess using local surface cues, failing to differentiate true reasoning capabilities.
- Context Completeness is Vital: Research-level proofs are highly interconnected. Failing to recover external dependencies and definitions causes a massive drop in model performance (11% to 23%), proving that context incompleteness unfairly penalizes models and confounds evaluation.
- Reasoning Creates a Hard Boundary: The benchmark reveals a clear qualitative boundary (around 32% accuracy) that cleanly separates reasoning-enhanced models (which use internal chains of thought) from standard models.
Key Results
- Leaderboard Separation: Reasoning-enhanced models substantially outperformed standard models. For example, Grok-4.1-reasoning scored 50.9% compared to standard Grok-4.1's 24.2% (a 26.7% gap). The top-performing model on the benchmark was GPT-5.2 (High), achieving 63.3% accuracy.
- High Human Alignment: Mask-ProofJudge achieved a 96.8% agreement rate with human expert annotations when distinguishing mathematically equivalent answers from actual errors.
- Strong Generalization: When evaluated on the external IMO-ProofBench dataset, Mask-Proof's automated scoring closely tracked official expert scores, achieving an overall Spearman's rank correlation of $\rho = 0.79$.
Limitations and Future Work
- LaTeX Dependency: The pipeline currently relies strictly on raw LaTeX source files. Extending it to PDFs, scanned documents, or web text would require highly reliable mathematical OCR or multimodal parsing.
- Residual Cues: While the agentic masking and leakage audits mitigate shortcutting, they do not completely eliminate the possibility of residual context clues or backward inference from later lines in the proof.
- LLM Judge Biases: The automated judge is built on top of an LLM and might inherit inherent biases or systematic errors from its underlying base model.
Summary updated