RealMath: A Continuous Benchmark for Evaluating Language Models on Research-Level Mathematics

Jie Zhang, Cezara Petrui, Kristina Nikolić, Florian Tramèr · DOI

Introduction

Evaluating the mathematical reasoning capabilities of Large Language Models (LLMs) has become a moving target. As models evolve, traditional benchmarks often fail to capture the nuances of actual mathematical research. RealMath is a novel, "continually refreshable" benchmark designed to bridge this gap. By sourcing problems directly from arXiv preprints and Math Stack Exchange, RealMath moves beyond "trick-heavy" competition problems to evaluate models on authentic, research-level mathematics.

The Challenge of Mathematical Evaluation

Current mathematical benchmarks for LLMs generally suffer from three primary issues:

  1. Simplicity: Datasets like GSM8K, once gold standards, are now effectively "solved" by modern frontier models.
  2. Artificial Difficulty: Competition-level benchmarks (e.g., IMO or Putnam) focus on "aha!" moments and clever tricks. While impressive, these do not necessarily reflect the day-to-day work of a research mathematician, which involves complex procedures and specific notations.
  3. Static Nature and Contamination: Once a benchmark is public, it eventually leaks into the training data of subsequent model generations, rendering evaluation scores meaningless over time.

RealMath addresses these by focusing on "math in the wild"—tasks where an LLM could serve as a genuine research assistant by verifying results or navigating specialized literature.

The RealMath Pipeline

To ensure the benchmark remains rigorous and free from contamination, the researchers developed an automated, five-stage pipeline to transform "organic" math into verifiable question-answer pairs.

The five-stage automated pipeline for generating the RealMath benchmark from arXiv and Stack Exchange sources.
  • Sourcing: LaTeX source files are scraped from arXiv (Mathematics and CS categories) and Math Stack Exchange.
  • Filtering for "Constructive" Theorems: Using an LLM (o3-mini) as a judge, the system identifies theorems that result in a single, unambiguous answer (e.g., a numerical value or a complexity class). Non-constructive existence proofs are excluded.
  • QA Generation: Theorems are transformed into question-answer pairs while preserving the original context, including definitions and notations.
  • Triviality Filtering: A final pass removes questions that are too simple or where the answer is explicitly stated in the paper's introduction.

Because new research is published daily, this pipeline can be refreshed monthly, ensuring models are tested on data they have never encountered during training.

Dataset Composition

The benchmark evaluates models across three distinct subsets:

  • Math.arXiv: 633 high-quality samples from math preprints.
  • CS.arXiv: 111 samples focusing on theoretical computer science.
  • Math.StackExchange: 542 samples from forum discussions, often focusing on graduate-level computations.

Key Insights and Performance

RealMath reveals that frontier models are surprisingly capable assistants. OpenAI’s o3 and o4-mini currently dominate the leaderboard. Notably, o3 achieved 49.1% accuracy on Math.arXiv and 70.7% on Math.StackExchange.

Accuracy trends of various LLMs on the RealMath benchmark relative to their release dates, showing significant progress in handling hard research problems.

Research vs. Competition

Models perform significantly better on RealMath than on "deliberately impossible" benchmarks like FrontierMath. This suggests that while LLMs may not yet solve the world's hardest unsolved problems, they are already viable tools for helping mathematicians verify specific results.

The "Contamination" Paradox

Interestingly, models performed better on papers published in 2025 than those from 2022. The authors hypothesize that newer models are trained on data very close to their release dates, making them more familiar with the current trends and language of modern research.

Context and Reasoning

Providing the full text of a paper preceding a theorem improves performance by approximately 20%. However, models often demonstrate high mathematical intuition, "hallucinating" the correct meaning of obscure notations based solely on the question's structure.

Limitations and Future Work

While RealMath represents a significant step forward, it has limitations:

  • Verification vs. Proof: The benchmark focuses on the final result (the "what") rather than the logical proof (the "how").
  • LLM-in-the-loop: The pipeline relies on o3-mini for filtering. While manual audits show only a 6% error rate, the benchmark is inherently bounded by the judge model's capabilities.
  • Constructive Bias: By requiring fixed answers, the benchmark excludes a vast amount of non-constructive mathematics.

Future work will focus on tracking the evolution of mathematical research over time and expanding the pipeline to include more diverse sources of knowledge.

Summary updated

BibTeX
@misc{zhang2025realmath,
  author = {Jie Zhang and Cezara Petrui and Kristina Nikolić and Florian Tramèr},
  title = {{RealMath: A Continuous Benchmark for Evaluating Language Models on Research-Level Mathematics}},
  year = {2025},
  eprint = {2505.12575},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2505.12575},
}
Figure