Skip to main content
#ai-benchmark#model-evaluation#mathematics#metrics

AI Benchmark 08 — Why can the same math answer earn different scores?

Compare how GSM8K, MATH, AIME, and MathArena Apex extract and grade answers, then check the denominators behind their scores with a camera calibration example and original research figures.

Series map

AI Benchmark

8 of 40 chapters published · Six parts

Part I. Evaluation foundations 6/6
  1. 01 How do we measure AI intelligence?
  2. 02 Accuracy, Precision, Recall, F1, Elo, AUC
  3. 03 Pass@k, Pass^k, confidence intervals and repeated trials
  4. 04 Evaluation Harness, Scaffold, Verifier
  5. 05 Contamination, reward hacking and evaluation bias
  6. 06 Artificial Analysis Index and Vals Index
Part II. Knowledge, reasoning and mathematics 2/7
  1. 07 MMLU, MMLU-Pro, GPQA Diamond
  2. 08 GSM8K, MATH, AIME, MathArena Apex
  3. 09 Humanity's Last Exam and HLE-Diamond · Planned
  4. 10 ARC-AGI 1 & 2 and novel rule induction · Planned
  5. 11 CritPt, ProofBench, MysteryMechanism, RiemannBench · Planned
  6. 12 AA-Omniscience, SimpleQA and hallucination evaluation · Planned
  7. 13 IFEval, IFBench, ComplexConstraints · Planned
Part III. Coding and autonomous research 0/8
  1. 14 HumanEval, MBPP, LiveCodeBench, Codeforces · Planned
  2. 15 The SWE-bench family · Planned
  3. 16 DeepSWE, FrontierCode, FrontierSWE · Planned
  4. 17 Terminal-Bench 1–4 and execution environments · Planned
  5. 18 CursorBench, SWE-sweep, SWE Marathon · Planned
  6. 19 Vibe Code, ProgramBench, NL2Repo, Code Migration · Planned
  7. 20 PMPP-Hard and GPU kernel optimization · Planned
  8. 21 MLE-Bench, NanoGPT, PostTrainBench and scientific research · Planned
Part IV. Agents and professional work 0/8
  1. 22 BrowseComp, DeepSearchQA, WANDR · Planned
  2. 23 BFCL, MCP Atlas, Toolathlon · Planned
  3. 24 τ-bench, AgentBench, EnterpriseOps-Gym · Planned
  4. 25 WebArena, OSWorld, ScreenSpot · Planned
  5. 26 GDPval, AA-Briefcase, JobBench, Agents' Last Exam · Planned
  6. 27 Finance Agent, AA-AnalystAgent, Diligence, Tax · Planned
  7. 28 AutomationBench, Remote Labor Index, LifeVal · Planned
  8. 29 METR Time Horizon, Vending-Bench and long-horizon autonomy · Planned
Part V. Vision, memory and robotics 0/8
  1. 30 MMMU-Pro, MathVision, PerceptionBench · Planned
  2. 31 OmniDocBench, OCRBench, GDP.pdf, OfficeQA · Planned
  3. 32 Chartography, CharXiv, BabyVision, ZeroBench · Planned
  4. 33 ScreenSpot-Pro, GroundingME, SAGE · Planned
  5. 34 MuirBench, LVBench, Blender-VideoBench, Code2Video · Planned
  6. 35 LongBench, MRCR, GraphWalks, AA-LCR · Planned
  7. 36 LongMemEval, BEAM and long-term memory · Planned
  8. 37 BenchCAD, RoboDojo, VLA, Decision models · Planned
Part VI. Safety and practice 0/3
  1. 38 FORTRESS, StrongREJECT, HoneyBench, Misbehavior · Planned
  2. 39 AgentDojo, prompt injection, safety and risk evaluation · Planned
  3. 40 Build your own AI agent benchmark harness · Planned

In Chapter 7, model A led with 84% when we averaged over 100 questions. Model B led with 85% when we gave each subject equal weight. Now go back one step before averaging. A camera calibration problem has a reference answer of 3/8, and the model returns 0.375. Do we add one to the count of correct answers? The two values are mathematically equal. Whether the benchmark awards the point depends on which part of the response it extracts and which answer forms it accepts as equivalent.

#1. Find the denominator in a math scorecard

Evaluation and scopeWhat each item contains or asks forWhat to check alongside the score
GSM8K · original releaseA grade-school word problem with a worked solution and final number. 7,473 training and 1,319 test problemsThe final-answer marker and whether the system generated a single response or selected one of several candidates
MATH · full original datasetCompetition problems and solutions across seven subjects. 7,500 training and 5,000 test problemsHow the final expression was extracted, which equivalence checker was used, and whether the run covered the full test set or a subset
AIME · 2026 competitionEach exam has 15 problems with integer answers from 0 to 999Whether the score covers AIME I, AIME II, or a 30-problem model evaluation combining the two
MathArena Apex · August 2025 releaseFinal answers to 12 problems selected by testing the models available at the timeAttempts per problem, models used to screen candidate problems, and the date of the results

The original MATH test set has 5,000 problems. A result labeled MATH-500 uses a different denominator. The 30 in a combined AIME model evaluation counts problems across two exam papers. An individual contestant in 2026 sat one 15-problem exam. Both distinctions matter when putting results side by side in an accuracy column. GSM8K dataset card · MATH §3.1, PDF pp. 4–5 · MAA 2026 schedule · MathArena AIME 2026 dataset card · Original Apex release

#2. How the GSM8K and MATH code handles equal values

Grading has two steps. An extractor selects the part of the response to use as the answer. An equivalence checker compares that answer with the reference. Tracking the steps separately helps distinguish a calculation error from a formatting error.

The public GSM8K implementation looks for the first occurrence of #### followed by its numeric pattern, removes commas, and compares the resulting strings. The public MATH tools include an extractor that finds the last \boxed expression and matches its braces, and a comparator that normalizes selected LaTeX forms before comparing strings. For the MATH rows below, the inputs go directly into the comparator after extraction from the box. I constructed the examples and checked them with the functions at the linked commits. GSM8K extraction and grading, lines 24–41 · MATH box extraction, lines 16–41 · MATH comparator, lines 126–152

Public implementationModel response or extracted answerReferenceResult and reason
GSM8K#### 1,200#### 1200Pass. Removing the comma leaves identical strings.
GSM8K#### 24.0#### 24Fail. The decimal point and trailing zero remain.
GSM8K24#### 24Fail. The numerical value is correct, but the extractor requires the marker.
MATH0.5\frac{1}{2}Pass. The code has an explicit conversion for this decimal.
MATH2/41/2Fail. Normalizing the fraction notation leaves different numerators and denominators.

On page 5 of the MATH paper, the passages on Formatting and Automatically Assessing Generated Answers say that factor order may vary, as in 4(x+1)(x-1) and 4(x-1)(x+1). At the commit above, passing those two strings to is_equiv returns False. To reproduce a library’s “MATH accuracy,” record the paper version and the version of the comparator that actually ran. Paper, PDF p. 5 · Comparator tested, lines 138–152

A solution can reach the correct number through faulty reasoning. The GSM8K authors describe this limitation and report an experiment in which the system generated 100 candidate solutions and submitted one chosen by a verifier. If a candidate was correct but the verifier selected a wrong answer, the submitted answer failed. The Evaluation Protocol slide in Stanford CS329Z identifies what to record alongside such a score, including attempts per problem, the stopping budget, permitted tools, and how the runs were aggregated. GSM8K §4.2 and Figure 5, PDF pp. 7–8 · Stanford CS329Z, November 4, 2026, PDF p. 37

#3. Grade six camera calibration responses by hand

Return to the camera in Chapter 7. Suppose a marker at a fixed depth moves 3 mm parallel to the image plane, and its image shifts by 8 pixels. We want the local scale factor for that interval, obtained by dividing the physical displacement by the pixel displacement. The reference and every output use mm/pixel. This example repeats the same input six times to compare grading rules.

s=ΔXΔu=3 mm8 pixel=0.375 mm/pixels=\frac{\Delta X}{\Delta u}=\frac{3\ \mathrm{mm}}{8\ \mathrm{pixel}}=0.375\ \mathrm{mm/pixel}

The reference string is 3/8. The first grader compares literal strings. The second converts each string to an exact rational number. The third accepts an answer whose absolute error is within a specified tolerance. Let vv be the returned value, ss the reference, and ε=0.001 mm/pixel\varepsilon=0.001\ \mathrm{mm/pixel} the tolerance.

gε(v,s)=1 ⁣[∣v−s∣≤ε]g_{\varepsilon}(v,s)=\mathbf{1}\!\left[\lvert v-s\rvert\leq\varepsilon\right]

The indicator returns 1 if the condition holds and 0 otherwise. For this experiment, a scheduled request receiving no response scores 0. In the table, 1 means pass and 0 means fail.

Final model outputAbsolute error (mm/pixel)String matchRational matchWithin tolerance
3/80111
0.3750011
0.3740.001001
0.3730.002000
3/40.375000
No responseUndefined000

The third row lies on the boundary. With a common denominator of 1,000, the reference is 375/1000 and the response is 374/1000, so the difference is exactly 1/1000. The inclusive inequality awards the point. A strict inequality would reject the same response. The verification script reads terminating decimals as rational numbers so that binary floating-point rounding cannot change this decision.

With all six scheduled requests in the denominator, the three graders produce 1/6 → 2/6 → 3/6, or 16.67%, 33.33%, and 50.00%. Keep the tolerance rule but restrict the denominator to the five requests with responses, and the result becomes 3/5 = 60.00%. That measures the chance of meeting the tolerance given a response. For a service, the response rate of 5/6 and the overall request success rate of 3/6 also matter. The tolerance belongs to this example. AIME’s integer answers and the two public scoring functions above each have their own grading rules.

#4. How many percentage points is one AIME problem worth?

In 2026, AIME I took place on February 5 and its alternate, AIME II, on February 11. An individual contestant had three hours for the 15 problems on one paper. MathArena’s 2026 AIME data card contains 30 rows. The label “AIME 2026” on a model scorecard does not tell us which denominator the authors used. MAA 2025–26 competition hosting guide, PDF p. 6 · Official MAA exam dates · MathArena release specification

When each item receives one answer and has equal weight, one more correct answer raises accuracy by 100/N100/N percentage points. On one paper that is 100/15 ≈ 6.67 percentage points. On both papers combined it is 100/30 ≈ 3.33 percentage points. When averaging repeated attempts, the attempt count per item also enters the denominator. For integer grading, the output specification can say whether leading zeros are acceptable. Credit for explanations or approximations requires its own rule.

The year matters here too. Under the 2027 format the MAA announced for the United States and Canada, each contestant will sit one 15-problem exam during the February 5–6 window, divided into eight problems and seven problems, with 90 minutes for each part. The two parts of a 2027 exam have a different meaning from the two alternative papers in 2026. MAA announcement, “What are the changes to AIME?”

#5. Recover 5.2% and 25% from the original MathArena figure

For the Apex release on August 18, 2025, four models each attempted every candidate problem four times. The team excluded any candidate solved at least once and selected 12 problems. Six already required a final answer. The team converted the other six from proof problems to short-answer questions. The screening process selected for difficulty with those particular models. The results below describe the experiment reported on that date. Original Apex methodology and aggregate results

Reading Figure 3. The columns are problems 1–12, and each row is a model. Each cell gives the number of correct attempts over the number of attempts that model made on that problem. In the Qwen3-A22B-2507-Think row, problem 1 shows 7/16, problem 5 shows 2/16, problem 7 shows 1/16, and all other cells show 0/16. In the same figure, the team ran the GPT-5 agent only four times per problem because its internal iterations were expensive. Assuming 16 attempts for every row would distort the model comparison. Original August 2025 Figure 3 · Figure caption and run conditions

Let NN be the number of problems, KK the number of attempts per problem, and write the correct-attempt count for problem ii as cic_i. When every problem receives the same KK attempts, accuracy per attempt and the share of problems solved at least once follow these formulas.

Atrial=∑i=1NciNK,Aany=∑i=1N1[ci>0]NA_{\mathrm{trial}}=\frac{\sum_{i=1}^{N}c_i}{NK},\qquad A_{\mathrm{any}}=\frac{\sum_{i=1}^{N}\mathbf{1}[c_i>0]}{N}

Both formulas summarize observed runs and require no assumption of independence between attempts. The Qwen row contains 7 + 2 + 1 = 10 correct attempts. Accuracy per attempt is 10/(12 × 16) = 5.2083…%, which rounds to the figure’s 5.2%. Problems 1, 5, and 7 were solved at least once, giving 3/12 = 25%. Neither number establishes whether the system could select a correct answer from 16 candidates on a new problem. This is the distinction between producing a correct candidate and submitting it that we examined in Chapter 3. Chapter 3’s worked example on repeated attempts

Checking a second denominator. On May 12, 2026, the team reported testing 176 new candidate problems, with four attempts per problem by Gemini 3.1 Pro. The table reconstructs the distribution by combining the 14 problems in Figure 3 of the follow-up with the 162 problems the text says the model solved on all four attempts. The right-hand column counts correct attempts. Follow-up, “Construction Process and Results,” Figure 3

Correct attempts per problemNumber of problemsContribution to total correct attempts
0/400
1/411
2/4612
3/4721
4/4162648

On the 14 problems with one to three correct attempts apiece, accuracy was (1 + 12 + 21)/(14 × 4) = 34/56 = 60.71%. Across all 176 problems, it was (34 + 648)/(176 × 4) = 682/704 = 96.875%. The model solved 176/176 problems at least once and 162/176 on every attempt. The original Apex screening criterion required a problem to go unsolved on every attempt, leaving zero eligible problems in this pool. The team did not release Apex v2. The two years use different problem sets and models, so the results cannot measure a single model’s year-over-year improvement. May 2026 follow-up conclusion

#6. What to record to reproduce the score

The verification script starts with the counts in the tables and the output strings from the calibration example. Run this command from the repository root to perform twelve numerator-and-denominator checks. It requires no model calls. Pinned verification script · Source locations and grader inputs and outputs

python3 docs/ai-benchmark/check-chapter-08.py

For a math score, identify the exam, year, subset, and grader commit. Specify the required output format, how missing responses were handled, how many attempts were allowed, and how the submitted candidate was selected. Report the correct count over its denominator. For example, “Apex 5.2%” expands to “August 2025, Qwen row, 12 problems × 16 directly generated attempts, 10 correct final answers out of 192.” A reader can identify the denominator from that one line.

Chapter 9 will examine Humanity’s Last Exam and HLE-Diamond. This chapter asked whether any difficult problems survived screening when the final answer was straightforward to check. The next question is what evidence establishes both the correct answer and the quality of a difficult question written by a subject-matter expert.

Connect