VeRA: Math Benchmarks as Executable Specifications

Zerui Cheng, Jiashuo Liu, Chunjie Wu, Jiayang Sun, Jianzhu Yao, Pramod Viswanath, Ge Zhang, Wenhao HuangAI4Math @ ICML 2026

TL;DR

Static reasoning benchmarks like GSM8K and AIME are "rotting" due to data leakage and model saturation. VeRA (Verified Reasoning Data Augmentation) solves this by transforming static problems into executable specifications—code-based templates that generate an infinite stream of verified, fresh variants to expose model brittleness and restore evaluation headroom.

What Problem Does This Paper Address?

In the race to build better LLMs, our "yardsticks" are failing. Static benchmarks suffer from three major issues:

  1. Memorization: Problems leak into web-scale training data, meaning models might be "reciting" answers rather than reasoning.
  2. Saturation: Top models are hitting 95%+ accuracy on many sets, making it impossible to distinguish between a "good" model and a "frontier" model.
  3. Surface-Form Brittleness: Models often rely on specific phrasing or numerical patterns. A tiny change in a word problem can cause a model to fail, even if the underlying logic is identical.

Creating new, high-quality math problems is expensive and doesn't scale. The authors argue we need evaluation that is robust by construction, not just detected after the fact.

Methods

The core innovation is treating a benchmark problem not as a string of text, but as an executable specification. A VeRA specification consists of:

  • A Template: Natural language with "slots" (e.g., {name} has {n} apples).
  • A Generator: Deterministic code that samples valid, coherent values for those slots.
  • A Verifier: Deterministic code that checks if a configuration is valid and computes the "gold" answer.

Two Operational Modes:

  • VeRA-E (Equivalent): Generates variants with the exact same logic but different names, numbers, or languages (e.g., English to Spanish). This is used to diagnose familiarity effects and robustness.
  • VeRA-H (Hardened): Systematically increases difficulty by adding constraints, deepening dependency chains, or adding sub-steps (e.g., "Alice buys $m$ more apples"). VeRA-H PRO goes a step further by using a "Judge" model to select the single hardest verified variant from a pool.

The pipeline uses a Teacher LLM (like GPT-5) to propose these specifications, which are then validated in a secure sandbox. If the code runs and matches the original "seed" answer, it’s considered a valid generator.

Datasets

The authors applied VeRA to several gold-standard reasoning benchmarks:

  • GSM8K: Grade school math.
  • AIME (2024 & 2025): High-school competition math.
  • Beyond-AIME & AMO-Bench: Ultra-hard math benchmarks.
  • GPQA-Diamond: Graduate-level science questions.

The researchers released Verified subsets—a collection of 2,407 items that passed a rigorous human audit by STEM PhD students (95.13% retention rate).

Key Insights and Ideas

  • The "Familiarity" Trap: Models performed significantly worse on rewrites of AIME-2024 than on AIME-2025. Since the rewriting process was identical, this suggests models have "memorized" the 2024 problems more deeply because they've been public longer.
  • Hidden Brittleness: On GSM8K, model scores looked nearly identical on the original set. However, VeRA-E rewrites caused the "dispersion" (the spread between models) to quadruple. This reveals that some models are much more robust than others, a fact hidden by the static benchmark.
  • The Proposer-Solver Gap: VeRA-H allows us to see if a model can "propose" a problem harder than it can "solve." On very hard benchmarks like AMO-Bench, they found a "survivorship bias": the system struggled to verify the hardest variants, inadvertently filtering for easier problems.

Key Results

  • Restoring Headroom: On the AIME-2024-II subset, model accuracy dropped from 84.9% on seeds to 58.6% on VeRA-H PRO variants. This "re-opens" the benchmark, allowing researchers to see clear gaps between frontier models again.
  • Robustness Exposure: On AIME-2024, the average model score dropped by 14.2 points when the surface form was changed, even though the logic remained identical.
  • Efficiency: Once a specification is written, generating new problems costs near-zero marginal compute (no LLM calls needed, just local Python execution).

Limitations and Future Work

  • Domain Specificity: VeRA works best for math and science where answers are deterministic. It is harder to apply to subjective fields like creative writing or law.
  • Teacher Ceiling: The quality of the "hardened" tasks is limited by the Teacher LLM’s ability to write a correct verifier. If the Teacher can't conceive of a harder logic, it can't generate it.
  • Linguistic Clarity: While the verifier ensures the math is right, it doesn't always guarantee the English is clear. The authors suggest future work could integrate "surface-faithfulness" checks to ensure questions aren't just correct, but also readable.

Summary updated

BibTeX
@inproceedings{cheng2026vera,
  author = {Zerui Cheng and Jiashuo Liu and Chunjie Wu and Jiayang Sun and Jianzhu Yao and Pramod Viswanath and Ge Zhang and Wenhao Huang},
  title = {{VeRA: Math Benchmarks as Executable Specifications}},
  booktitle = {AI4Math @ ICML},
  year = {2026},
  url = {https://openreview.net/forum?id=l84BLVKJbM},
}
Figure