MATH Level 5

21 min read
Updated
Suggest editHistoryTalk
RawGraph

Last edited

Fact-checked

In review queue

Sources

15 citations

Revision

v3 · 4,170 words

Fact-checks are independent of edits: a reviewer re-verifies the article against its sources and stamps the date. How we verify

MATH Level 5
Overview
Full nameMATH dataset, Level 5 difficulty subset
AbbreviationMATH L5
DescriptionThe hardest difficulty tier of the MATH (benchmark) dataset, comprising competition mathematics problems labeled with the maximum Art of Problem Solving difficulty rating
Release dateMarch 2021 (parent dataset)
Parent datasetMATH (12,500 problems)
Level 5 test problems1,324
AuthorsDan Hendrycks, Collin Burns, Saurav Kadavath, Akul Arora, Steven Basart, Eric Tang, Dawn Song, Jacob Steinhardt
OrganizationUC Berkeley, University of Chicago, OpenAI (at time of writing)
VenueNeurIPS 2021 (Datasets and Benchmarks Track)
Technical Details
TypeMathematical reasoning, problem solving
ModalityText (LaTeX)
Task formatOpen-ended written solutions with exact-match final answers
Evaluation metricExact match accuracy on the final boxed answer
DomainsAlgebra, counting and probability, geometry, intermediate algebra, number theory, prealgebra, precalculus
LanguagesEnglish
Difficulty rubricAoPS difficulty scale, where Level 5 corresponds to AIME and harder competition problems
Resources
Paperhttps://arxiv.org/abs/2103.03874
GitHubhttps://github.com/hendrycks/math
Datasethttps://huggingface.co/datasets/hendrycks/competition_math
LicenseMIT

MATH Level 5 is the hardest difficulty tier of the MATH (benchmark) dataset introduced by Dan Hendrycks and colleagues in the 2021 paper Measuring Mathematical Problem Solving With the MATH Dataset.[1] The full MATH corpus contains 12,500 problems drawn from United States high-school mathematics competitions; each problem is annotated with a difficulty rating from 1 to 5 following the Art of Problem Solving (AoPS) competition rating convention.[1][15] The 1,324 Level 5 problems in the 5,000 problem test set sit at the top of that scale and are drawn primarily from the American Invitational Mathematics Examination and the hardest AMC problems.[12] For four years they functioned as a frontier evaluation for large language models and were a primary scoreboard along which the field tracked progress in mathematical reasoning, until reasoning-trained models pushed accuracy on full MATH and its 500 problem subset past 95 percent in late 2024 and early 2025.[9][11]

Level 5 has remained more useful than overall MATH accuracy because it is the slice where saturation is slowest. While GPT-3 davinci scored below 7 percent overall on the original MATH benchmark and roughly 4 percent on Level 5 problems,[1] the same Level 5 problems remained well below 70 percent for non reasoning models well into 2024. Improvements driven by chain of thought prompting, mathematics pretraining corpora such as AMPS, process reward modeling, and reinforcement learning from verifier feedback can be traced through their Level 5 numbers more cleanly than through the easier tiers, which tend to saturate first.

Origins and motivation

The MATH dataset was created in late 2020 and early 2021 by researchers at UC Berkeley, the University of Chicago, and OpenAI.[1] The motivating question, stated in the abstract of the paper, was whether the scaling trends observed for natural language benchmarks would extend to genuine mathematical problem solving, or whether mathematical reasoning required qualitatively new techniques.[1] The authors collected 12,500 problems from public sources, primarily problem archives associated with American high school competitions such as the AMC 8, AMC 10, AMC 12, and AIME, along with state and regional contests.[1] Each problem comes with a step by step written solution from the competition community.[1]

The paper concluded that simply increasing parameter counts was unlikely to produce strong mathematical reasoning, and that meaningful progress would require either much larger compute budgets than were practical at the time or qualitatively new algorithms.[1] That conclusion turned out to be partly right and partly wrong: dedicated mathematical pretraining and reasoning algorithms did push accuracy up sharply, but scale did help, especially when combined with reinforcement learning on verifiable rewards.

The AoPS difficulty scale

Difficulty in the MATH dataset is annotated using the rating scheme used by the Art of Problem Solving community on the AoPS Wiki.[1][15] The authors describe the convention directly: a subject's easiest problems for humans are labeled Level 1 and the hardest are labeled Level 5.[1] Concretely, the first several problems of an AMC 8 exam are usually Level 1 problems, the middle problems of AMC 10 and AMC 12 contests typically fall in Levels 2 and 3, the last AMC problems and the first AIME problems land in Level 4, and AIME problems generally and certainly the harder AIME problems are Level 5.[15] There is no formal calibration across subjects; ratings reflect the AoPS community's collective judgment about what constitutes a hard problem in each topic.[15]

Dataset composition

AttributeValue
Total problems12,500
Training set7,500
Test set5,000
Subjects7
Difficulty levels5 (Level 1 through Level 5)
Test set Level 5 problems1,324
Solution formatFull step by step LaTeX writeup with final boxed answer
LicenseMIT

The seven subject categories are prealgebra, algebra, intermediate algebra, counting and probability, number theory, geometry, and precalculus.[1] Each problem carries a subject tag and a difficulty tag, allowing researchers to slice performance along both axes.[1] The Level 5 test slice is enriched in algebra, intermediate algebra, counting and probability, and precalculus relative to prealgebra and geometry, because those topics are over represented in AIME style problems.

Why Level 5 became a frontier metric

When the MATH paper was published, the gap between overall scores and Level 5 scores already looked substantial. The GPT-2 1.5B model reported in the original paper achieved about 6.9 percent overall accuracy when pretrained on the AMPS auxiliary corpus and fine tuned on MATH, but only around 4 percent on Level 5 problems, with Level 1 problems closer to 15 percent.[1] As large language models scaled and as new training techniques such as chain of thought prompting became standard, the easier levels saturated first. By 2023 frontier models were over 90 percent on Level 1 and Level 2 problems while still struggling with Level 5.

This pattern made Level 5 a useful telemetry. A model whose overall MATH score climbed from 50 percent to 70 percent could be doing so by sweeping up easier problems while leaving the AIME class problems essentially untouched, or by genuinely improving on the hardest problems. The per level breakdown made the difference visible.

Epoch AI formalized Level 5 as a standalone evaluation in 2024 specifically because it had not yet saturated while overall MATH and its 500 problem subset MATH-500 were trending toward 99 percent.[12] Their hosted leaderboard runs the 1,324 Level 5 test problems with multiple equivalence scorers, including normalized string match, SymPy symbolic equivalence, and a model graded equivalence check.[12] The site treats Level 5 as a stricter, slower saturating signal than full MATH.[12]

Subject composition of Level 5

The seven subjects do not contribute equally to the Level 5 slice. Algebra, intermediate algebra, and precalculus dominate, reflecting the topical balance of AIME style problems. Geometry and prealgebra contribute relatively fewer Level 5 problems. The table below characterizes the kinds of problems typical of each subject at the top difficulty.

SubjectTypical Level 5 question style
AlgebraFunctional equations, systems with constraints, inequalities with extremal conditions
Counting and probabilityMulti step combinatorial identities, casework heavy probability with constraints
GeometrySynthetic geometry with multiple auxiliary constructions, coordinate or trigonometric setups
Intermediate algebraPolynomial roots and Vieta's formulas, complex numbers, sequences and series, advanced inequalities
Number theoryModular arithmetic with multi step casework, Diophantine equations, divisibility puzzles
PrealgebraSparse at Level 5, but includes unusually long arithmetic puzzles when present
PrecalculusTrigonometric identities, sums involving roots of unity, telescoping identities

Intermediate algebra in particular has historically been the hardest subject for models, with multi step manipulations of polynomial roots and complex valued sums being the most common failure mode.

Evaluation methodology

The MATH protocol is exact match on the final answer, which is enclosed in a boxed{} command in the LaTeX solution.[1] Models are expected to produce a full written derivation followed by the boxed final answer, and only the contents of the final box are checked.[1] This avoids the problem of partial credit while preserving the requirement that the model produce a written argument that supports the answer.

Answer equivalence

Because mathematical answers can be expressed in many equivalent forms, the de facto standard pipelines accept multiple representations:

MethodWhat it checks
Normalized string matchStrips whitespace, normalizes LaTeX commands, and compares strings
SymPy equivalenceParses both answers as symbolic expressions and tests algebraic equivalence
Model graded equivalenceAn auxiliary language model verifies whether two answers are mathematically the same

The Hendrycks reference pipeline uses normalized string match with a hand written canonicalizer, while Epoch AI's MATH Level 5 implementation runs all three scorers and reports the model graded version as primary.[2][12] Differences between scorers are usually under one percentage point but can matter near the top of the leaderboard.

Sampling and aggregation

Many reported MATH Level 5 numbers correspond to single sample greedy or low temperature decoding (pass@1). Earlier flagship results, especially from Minerva, often used majority voting across many sampled solutions; Minerva 540B reports used self consistency with up to 64 samples.[4] With chain of thought reasoning, sampling diversity tends to help on the hardest problems, so majority voting results are typically several points higher than pass@1 on Level 5.

Baseline results from the original paper

The original Hendrycks et al. paper benchmarked language models available in early 2021.[1] The headline results are summarized below.

ModelPretrainingOverall accuracyApproximate Level 5 accuracy
GPT-2 0.1BStandard~3.0%<2%
GPT-2 0.7BStandard~3.7%<3%
GPT-2 1.5BStandard~5.4%<4%
GPT-2 1.5B+ AMPS~6.9%~4%
GPT-3 davinciStandard~5%similar to GPT-2 1.5B

The paper introduces a 23 GB auxiliary pretraining corpus called the Auxiliary Mathematics Problems and Solutions (AMPS) dataset, comprising over 100,000 Khan Academy style problems and roughly five million problems generated from Mathematica scripts.[1] Pretraining on AMPS prior to fine tuning on MATH consistently boosted accuracy by several points but did not change the qualitative picture.[1] The authors used these numbers to argue that scaling alone would not solve the benchmark.[1]

The paper also reported informal human baselines. A computer science PhD student who did not particularly enjoy mathematics scored about 40 percent.[1] A three time International Mathematical Olympiad gold medalist scored about 90 percent.[1] These figures are not formal estimates and apply to the full MATH test set rather than to Level 5 specifically, where the human gap between the two extremes would be wider.

Leaderboard milestones

The following table tracks reported performance on MATH and on Level 5 specifically across major model releases. Numbers refer to the standard test split unless otherwise stated, and Level 5 numbers are listed where they have been published separately.

YearModelOverall MATHLevel 5Notes
2021GPT-2 1.5B + AMPS6.9%~4%Hendrycks et al. baseline[1]
2021GPT-3 davinci~5%~3-4%Few-shot prompting[1]
2022Minerva 8B (maj@k)25.4%not isolatedMath-trained PaLM[4]
2022Minerva 62B (maj@k)43.4%not isolatedMath-trained PaLM[4]
2022Minerva 540B (maj@k)50.3%not isolatedFirst model to exceed 50% overall[4]
2023GPT-4 (CoT)~42%not officially isolatedGPT-4 technical report[13]
2023GPT-4 + code interpreter~70%not officially isolatedthe-decoder reporting
2023Llemma 34B (maj@256)~25%not isolatedOpen base model, approaching Minerva 62B[7]
2024DeepSeekMath 7B RL51.7%not isolatedGRPO reinforcement learning[8]
2024Claude 3 Opus~60%not officially isolatedAnthropic Claude 3 model card
2024OpenAI o1 (CoT)94.8% (work-in-progress)not isolatedFirst major reasoning model[9]
2024OpenAI o3not formally reported on MATHnot isolatedReported AIME 2024 96.7%[10]
2025DeepSeek R197.3% on MATH-500not officially isolatedRL trained reasoning[11]

Reported overall scores hide most of the Level 5 story, because by 2024 the Level 5 contribution to remaining error became dominant. A model at 94 percent overall on MATH typically gets the Level 1, 2, and 3 problems essentially correct; almost all the missed problems are in Level 4 and Level 5, and most of those are in Level 5.

Minerva and the role of mathematical pretraining

Minerva was the first major leap on MATH, jumping from the GPT-3 baseline of around 5 percent to 50.3 percent with the 540B variant in 2022.[4] Built on PaLM and further trained on a 118 GB corpus of scientific papers from arXiv and other mathematical content, Minerva used chain of thought prompting and majority voting with up to 64 samples.[4] The paper's error analysis attributed roughly half of remaining errors to calculation mistakes and half to genuine reasoning failures, and noted that performance dropped sharply on intermediate algebra and other subjects that are over represented at Level 5.[4]

Minerva's contribution was twofold. First, it demonstrated that domain specific pretraining could close most of the gap to the top of the published MATH leaderboard at the time. Second, it gave the field a concrete error decomposition between arithmetic execution and reasoning, which motivated later work on tool use (calculators, Python interpreters), self consistency, and process supervision.

GPT-4 and the contamination question

The GPT-4 technical report from March 2023 reported MATH accuracy in the low forties without external tools and around 70 percent with code interpreter augmentation.[13] OpenAI explicitly acknowledged in the GPT-4 system card and a Hendrycks led decontamination note that the training data included parts of the MATH training set;[13] reported test set numbers are therefore on a held out test split, but the standard 5,000 test set remains potentially within the broader pretraining distribution for any frontier model trained after the dataset's public release. This contamination concern is one reason later evaluations turned to held out subsets, fresh competition problems (such as new AIME years), and adversarial perturbations of MATH problems.[14]

Reasoning models and saturation

OpenAI o1, introduced in September 2024 with a system card on September 12, was the first widely benchmarked model to push MATH past 90 percent without external tools.[9] The o1 series reports a 94.8 percent score on MATH for a work in progress checkpoint, with o1-preview at 85.5 percent.[9] The system card frames MATH as effectively saturated at this point.[9] o3, announced in December 2024, reports 96.7 percent on AIME 2024, the human competition from which most Level 5 problems are drawn, indicating that the AIME class is no longer a strict frontier.[10]

DeepSeek R1, released in January 2025, reports 97.3 percent on the 500 problem MATH-500 subset and is the first widely available open weight model in this regime.[11] R1's reinforcement learning pipeline, using outcome rewards on math problems and the Group Relative Policy Optimization algorithm originally introduced in DeepSeekMath, is the canonical example of pushing reasoning by rewarding successful problem solving rather than imitating human written solutions.[8][11]

Despite these gains, the Level 5 slice has resisted full saturation. Even when overall MATH scores exceed 95 percent, the remaining errors are concentrated in Level 5, and frontier model documentation typically reports Level 5 accuracy several points below the overall figure. Public reporting on this slice has become less common as MATH itself has been displaced by harder benchmarks; researchers tracking long horizon progress have moved much of their attention to FrontierMath, HMMT, the unseen AIME, and the IMO grand challenge.

MATH Level 5 sits in a specific niche between curriculum aligned datasets such as GSM8K and research level mathematics benchmarks such as FrontierMath. The table below positions it relative to other widely used mathematical evaluations.

BenchmarkDifficulty levelProblem sourceTypical frontier accuracy (2025)
GSM8KGrade school word problemsOpenAI commissioned writers>95%
MATH (full)Mixed levels 1-5US high school competitions>95%
MATH-500Random 500 problem subset of MATHSubset of MATH test>95%
MATH Level 5AIME and hardest AMC problemsSubset of MATH test, hardest tierlow to high 90s, lags overall MATH
AMC 10 / AMC 12Late high schoolAnnual competitionsvery high for reasoning models
AIMETop US high school competitionAnnual AIME examsover 90% for reasoning models
USAMOUS Mathematical OlympiadProof basedearly stage, partial credit graded
IMOInternational OlympiadProof basedvery early stage, special purpose systems
FrontierMathResearch mathematicsCustom commissionedlow double digits for the strongest models in 2025

The MATH benchmark and its Level 5 subset are descended from the same competition ecosystem that produces the AMC and AIME contests, but use historical problems rather than new ones.[1] This makes contamination a structural risk: any frontier model trained on a recent crawl of the open web is likely to have seen the questions and solutions, since the AoPS community discusses these problems extensively online. The unseen AIME and other fresh competition based benchmarks were introduced specifically to address this.

The relationship between MATH Level 5 accuracy and AIME accuracy is informative but not identical. AIME 2024 contains 30 problems (across AIME I and AIME II), each scored as an integer answer from 0 to 999. MATH Level 5 contains 1,324 problems with a similar style but a wider variety of answer formats.[12] A model that does well on MATH Level 5 will typically do well on AIME but may handle the precise answer formatting and time pressure structure of AIME differently.

Contamination, perturbation, and unseen evaluations

Because MATH was scraped from public competition archives, the same problems appear in many forms across the open web, including AoPS forum discussions, problem of the week sites, and educational content. Several lines of research have studied the extent to which the resulting contamination inflates reported numbers:

  • The MATH-Perturb benchmark applies systematic semantic perturbations to MATH problems and finds noticeably lower accuracy on perturbed versions, especially at higher difficulty.[14]
  • Inference-time decontamination techniques rephrase test items and compare model performance to original; gaps tend to be larger at Level 5 than at lower levels.
  • HARP (a human annotated reasoning benchmark) and other newly written problem sets specifically avoid overlap with MATH's competition sources to provide cleaner held out signal.

A pragmatic alternative is to evaluate on the freshest AIME competition for the current year, which the test set predates and which would not have been seen during pretraining for older models. As of 2025 this is the standard comparison for reasoning models. MATH Level 5 retains value as a large enough sample (1,324 problems) to yield tight confidence intervals and as a continuity bridge to historical results.[12]

Common failure modes

Error analyses across Minerva, GPT-4, OpenAI o1, and DeepSeek R1 highlight a consistent set of failure modes on Level 5 problems:

Failure typeDescriptionFrequency among errors
Arithmetic slipsMulti step calculations carried through correctly except for a small algebra or arithmetic errorhigh for pre-reasoning models, lower for o1 and R1
Casework omissionsMissing a case in combinatorics or number theory problems with multiple branchespersistent across model generations
Misreading the problemSolving a different problem than the one stated, often by ignoring a constraintfalls with longer chains of thought
Premature claim of factorizations or identitiesAsserting a polynomial factorization or trigonometric identity without verificationcommon in intermediate algebra and precalculus
Plausible but wrong final boxed answerReasoning is roughly correct but the final extraction step produces an answer that does not match the question's required formcommon at Level 5 where answer formats are unusual

Reasoning trained models with long chains of thought tend to reduce the first three categories more than the last two. The remaining errors at the very top of the leaderboard are dominated by genuine reasoning gaps and idiosyncratic answer formatting issues rather than careless mistakes.

Reception and influence

The MATH dataset has been cited thousands of times since its 2021 release, and its difficulty rating scheme has been reused in derivative benchmarks. MATH-500, the 500 problem subset introduced by OpenAI's Let's Verify Step by Step paper (Lightman et al., 2023), became the standard evaluation in much of the process reward modeling literature, including the PRM800K release.[5][6] MATH-Shepherd, a follow up on process supervision without human annotation, similarly evaluates on MATH and reports per level breakdowns.

The role of MATH Level 5 specifically as a frontier metric has been important in several research narratives:

  • It served as a continuity measure across the transition from non reasoning models such as GPT-4 to reasoning models such as o1 and R1, allowing apples to apples comparisons even after the field reframed its evaluation strategy around chain of thought.
  • It motivated the development of process reward models and the PRM800K corpus, since process supervision was most clearly beneficial on the hardest problems.[5][6]
  • It anchored Epoch AI's framing of the broader transition from MATH to harder benchmarks: as MATH-500 trended toward 99 percent, Level 5 retained discriminating power for another year.[12]

Limitations

LimitationDescription
Subjective level labelsThe AoPS difficulty scale is community curated and not formally calibrated across subjects[15]
Public availabilityProblems and solutions are extensively discussed online, creating contamination risk
English onlyProblems and solutions are in English LaTeX, limiting cross lingual evaluation
Answer format quirksExact match on boxed answers can disadvantage models that produce mathematically equivalent but textually different forms; mitigations exist via symbolic equivalence scorers
Static test setThe 1,324 Level 5 problems do not update over time, so the benchmark cannot track novelty[12]
Diminishing headroomReasoning models in 2025 score above 95 percent on overall MATH; remaining errors concentrate in Level 5 but the absolute headroom is narrow

These constraints have driven the field toward complementary benchmarks (FrontierMath, HMMT, unseen AIME, IMO grand challenge) and toward dynamic evaluations that incorporate new problems each year.

See also

References

  1. Hendrycks, D., Burns, C., Kadavath, S., Arora, A., Basart, S., Tang, E., Song, D., Steinhardt, J. (2021). Measuring Mathematical Problem Solving With the MATH Dataset. NeurIPS 2021 Datasets and Benchmarks Track. https://arxiv.org/abs/2103.03874
  2. Hendrycks MATH GitHub repository. https://github.com/hendrycks/math
  3. MATH dataset card on Hugging Face. https://huggingface.co/datasets/hendrycks/competition_math
  4. Lewkowycz, A., et al. (2022). Solving Quantitative Reasoning Problems with Language Models (Minerva). NeurIPS 2022. https://research.google/blog/minerva-solving-quantitative-reasoning-problems-with-language-models/
  5. Lightman, H., Kosaraju, V., Burda, Y., et al. (2023). Let's Verify Step by Step. https://arxiv.org/abs/2305.20050
  6. OpenAI prm800k repository and MATH-500 subset. https://github.com/openai/prm800k
  7. Azerbayev, Z., et al. (2023). Llemma: An Open Language Model for Mathematics. https://arxiv.org/abs/2310.10631
  8. Shao, Z., et al. (2024). DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Models. https://arxiv.org/abs/2402.03300
  9. OpenAI. Learning to reason with LLMs (o1 announcement and system card). September 12, 2024. https://openai.com/index/learning-to-reason-with-llms/
  10. OpenAI. Introducing OpenAI o3 and o4-mini. December 2024. https://openai.com/index/introducing-o3-and-o4-mini/
  11. DeepSeek-AI. (2025). DeepSeek-R1: Incentivizing Reasoning Capability in LLMs via Reinforcement Learning. https://github.com/deepseek-ai/DeepSeek-R1
  12. Epoch AI. MATH Level 5 benchmark page. https://epoch.ai/benchmarks/math-level-5
  13. Hendrycks et al. and OpenAI. GPT-4 Technical Report (March 2023). https://arxiv.org/abs/2303.08774
  14. MATH-Perturb. (2025). Benchmarking LLMs' Math Reasoning Abilities against Hard Perturbations. https://arxiv.org/abs/2502.06453
  15. AoPS Wiki, Competition ratings. https://artofproblemsolving.com/wiki/index.php/AoPS_Wiki:Competition_ratings

Improve this article

Add missing citations, update stale details, or suggest a clearer explanation. Every suggestion is reviewed for sourcing before it goes live.

2 revisions by 1 contributors · full history

Suggest edit

What links here