Papers
Terminal-style Mathematical Modeling Bench: The First Agentic and Verifiable Benchmark for Mathematical Modeling
Gives agent builders a containerized, numerically verifiable benchmark over 18 real modeling contests, replacing LLM-judge grading with reproducible terminal scores.

- arXiv
- 2611.08237 · Preprint · not peer-reviewed
- Published
- 2026-11-05
- Authors
- Xiaojun Wu, Cehao Yang, Xuhui Jiang, Chengjin Xu, Jia Li, Jian Guo
In plain words
Mathematical modeling contests give teams an under-specified real-world problem and ask for a full chain — assumptions, model, solution, sensitivity, recommendation — ending in checkable numbers. Existing benchmarks either score narrow solver-ready fragments or grade free-text reports with an LLM judge, so nobody verifies whether the reported numbers are actually correct or physically admissible.
AI summary
Overview
Research area: Evaluation of LLM agents — specifically benchmarks for agentic, long-horizon mathematical modeling (Natural Language Processing / AI evaluation).
Technical level: Advanced. The paper combines containerized agent harnesses, executable scoring infrastructure, and Lean 4 proof obligations; readers should be comfortable with benchmark design, LLM agent evaluation, and formal verification concepts.
Scope: TB-MathModel is an 18-task benchmark that turns complete CUMCM and MCM contest problems (2023–2025) into containerized terminal tasks, scores a single JSON artifact against a panel of Outstanding-award papers with direction-aware one-sided metrics, and independently verifies physical feasibility through a programmatic gate and 624 Lean 4 obligations.
What This Paper Is About
Mathematical modeling contests give teams an under-specified real-world problem and ask for a full chain — assumptions, model, solution, sensitivity, recommendation — ending in checkable numbers. Existing benchmarks either score narrow solver-ready fragments or grade free-text reports with an LLM judge, so nobody verifies whether the reported numbers are actually correct or physically admissible. TB-MathModel closes that gap by making the whole modeling task agentic (run inside a terminal), verifiable (scored by an executable verifier against many human reference answers), and feasibility-checked (a hard gate plus machine-checked Lean proofs).
Key Contributions
-
The first benchmark of its kind, plus the 18-task dataset behind it. No prior benchmark turns complete contest-style modeling problems into a containerized terminal task with an executable verifier. TB-MathModel covers CUMCM and MCM 2023–2025 (problems A/B/C each year), with verbatim statements, official attachments mirrored into the container, 21 figures cropped from the official PDFs (load-bearing across 6 tasks), and one JSON artifact per task.
-
Direction-aware, one-sided scoring with auditable edge-case rules. Each task ships a panel of 2–6 scored metrics (60 in total), each assigned a semantic direction (
higher_is_better,lower_is_better,target_value,exact_value). Meeting or beating the anchor never scores below 1.0, so improving on the human paper is never punished. Two reported metrics:O-EvalandRobust BO-Eval. Explicit rules handle degenerate bands, unpinned reference units, and cardinality mismatches, and contract tests lock down oracle self-consistency and one-sidedness. -
Multi-reference evaluation against a panel of human outstanding papers. Rather than promoting one paper to ground truth, each task is scored against all available Outstanding-award papers for that problem: 99 panel papers, 94 of which yield the scored quantity, 1 to 18 per task (median 4). Each paper is one vote, and a paper is never silently dropped — it carries a machine-readable exclusion reason (five forms occur across the 5 excluded papers).
-
A two-layer feasibility verification design. A programmatic gate covering 18/18 tasks through six decidable invariant forms (structural/domain bounds and constraint replay), plus a Lean 4 certificate layer of 624 kernel-checked obligations across all 18 tasks. A failed gate zeroes the task (
O-Eval= 0,Robust BO-Eval= −1). A trust audit reports only[propext, Quot.sound]or none, with nosorryAxand nonative_decide.
Main Findings
-
Newest flagships lead the board. GPT-6 Astra + codex reaches
O-Eval64.58 ± 2.93 andMulti-BO1.132 ± 0.02; Fable 5.1 + claude-code reaches 63.11 ± 1.33 and 1.081 ± 0.05. These sit about 4.8 and 3.4 points above GPT-5.5 xhigh + codex (59.75 ± 1.55, 0.998 ± 0.01), and clear the Flash baseline by 13.2% and 8.1% of the remaining gap. -
Cost buys a real but bounded gap. The two leaders cost $246.41 and $272.80 per 18-task pass, while DeepSeek-Flash + opencode reaches 59.81 ± 1.25 at $2.54 — about 4.8 points behind the leader at roughly 1/100 the cost. Cost is dominated by per-token price rather than token count: GPT-5.5's $99.37 is mostly cache-read input and output at roughly 33×/50× DeepSeek V4.1 Flash's rates despite comparable token counts.
-
Cheap open models cluster below the flagships. DeepSeek-Flash (59.81), Kimi K3 (58.23), GLM-5.3 (57.78), and Qwen3.8 Flash (52.66) span about 7 points; only the two flagships exceed the baseline index of 1.000.
-
Small gaps are not resolved rankings. Per-seed deviations reach 2.93 pp, so the ~1.5 pp separation between the two leaders, and between GPT-5.5 and Flash, sits inside one standard deviation. The authors report the order but do not claim significance between adjacent rows.
-
More inference compute is not monotone. Running DeepSeek-Flash at its maximum reasoning tier drops its multi-reference score to 48.11% and its
Multi-BOto 0.864, below the default tier's 59.81 and 1.000, at higher cost. -
The harness barely matters. Holding DeepSeek-Flash fixed across four harnesses moves
O-Evalby only 0.07 pp (59.81 to 59.88), far inside the per-seed deviation. DeepSeek's native harness is marginally best at 59.88 and 1.092, but the board measures the model rather than the harness. -
A large CUMCM–MCM gap persists. The engineering problems have well-defined final numbers most models reach, while MCM problems are more open. GPT-6 scores 82.9 on CUMCM versus 46.2 on MCM; GPT-5.5 scores 79.7 versus 39.8. Discrimination comes from the open-ended MCM problems.
-
Some tasks are all-or-nothing. Every entry scores 100% on mcm-2024-b-submersible, while even the flagships score below 40% on mcm-2024-c-tennis.
-
Several low scores reflect reference scale/scope, not modeling error. Some tasks contain a metric whose model/panel ratio exceeds 5× — a host-fish index near 1080 against models reporting a normalised [0,1] quantity; a sustainability score near 1.007 against a 0–100 utility; a 6×6 grid against hundreds of cells; a 72.67 → 73.52 band in which the paper's own baseline scores zero.
-
The hard gate is surgical, not a blanket penalty. It hard-invalidated 7 cells, concentrated on heliostat (rated power below 60 MW, or a mirror below the 2 m minimum), plus single cells for smoke-screen, Juneau, and Olympic, leaving the ranking otherwise stable.
-
One case inverts the usual story. On dragon-dance, twelve models computed the right peak but were penalised because the anchor itself was physically infeasible; the benchmark was wrong and the models were right. This became the sharpest argument for independently checkable feasibility, and the anchor was corrected.
-
Human panels expose disagreement. On mcm-2024-c-tennis-momentum, 10 of 11 outstanding papers conclude momentum is supported while the reproduced anchor concludes it is not; a model scores 0.909 for the majority answer and 0.091 for the anchor. Such tasks are marked literature-split and excluded from headline rankings.
-
Scoring audits changed the numbers. Degenerate-band widening affected one cell (+0.35 pp); excluding two non-comparable-unit metrics raised every entry by 0.05–2.62 pp, a systematic scoring effect rather than a model difference.
-
The layers are exact within their scope. They decide unit/value ranges and internal consistency; whether a reported value reflects real physical truth is checked only where the problem admits an independent replay, and any obligation whose evidence is absent is reported as a witnessed gap rather than silently satisfied. Ten mutations across all six invariant forms are rejected by the Lean build.
Methodology in Plain English
The authors selected 18 real contest problems — all three problems from both CUMCM and MCM for each of 2023, 2024, and 2025 — restricting to recent years because older problems predate capable LLMs and were calibrated to a different review standard. Each problem is packaged into a self-contained terminal task with four parts: an instruction file holding the verbatim statement plus its figures inline; an agent container with the mirrored attachments and the output schema; a separate verifier container holding the scoring panel and the feasibility check; and an oracle script that reproduces an Outstanding-award paper and emits the same JSON.
The agent runs inside Docker (python:3.12-slim, fixed scientific stack, internet disabled, 2 CPUs, 8 GB RAM, no GPU, 4-hour timeout) so it cannot fetch solutions or install packages, and must return one schema-constrained JSON artifact. Everything downstream of that artifact is machine-executable.
Scoring works per metric. Each metric has a path into the artifact, an anchor value, a semantic direction, and a weight. Directional metrics use an asymmetric one-sided reward so beating the anchor is never punished. The headline O-Eval is the weighted panel raw score divided by the oracle's and clamped to [0,1], averaged over tasks; Multi-BO expresses the same score relative to the DeepSeek V4.1 Flash baseline, where 1.0 means level with Flash and 1.08 means 8% of the remaining gap to the human panel was closed.
Feasibility is checked in two independent layers. Layer 1 is a programmatic gate: every task registers a check, and every hard-error branch falls into one of six decidable forms — either structural/domain bounds or constraint replay. Three contracts keep it honest: coverage, oracle self-consistency, and discrimination. Layer 2 re-proves the same invariants as Lean 4 theorems with no Mathlib, using exact integer arithmetic scaled from the reported values, so there is no floating-point tolerance except one composite index whose tolerance is declared inside the predicate. A discrimination suite mutates one numeric leaf at a time and requires the build to fail and cite the field.
Seven multimodal model/harness entries were run three seeds per task, with per-entry configuration held fixed and one shared scorer.
Why This Matters
Impact on research. The paper turns the numeric core of modeling into a reproducible, machine-checkable signal. It also documents three under-reported hazards of anchor-based numerical benchmarks — direction asymmetry, degenerate scoring bands, and unpinned units — and supplies auditable rules and tests for each, which is directly reusable by anyone building a numeric benchmark against published solutions. Using a proof assistant not to find answers but to audit the benchmark's own feasibility decisions is presented as a new pattern.
Real-world applications:
- Engineering design validation. The heliostat task checks constraints such as rated power ≥ 60 MW and installation height within [2, 6] m, mirroring the kind of admissibility check engineering workflows require.
- Operations and planning. Production-decision and crop-planting tasks exercise optimization under jointly infeasible constraints, where the paper anchors on a reproducible exact MILP optimum.
- Public-policy and sustainability analysis. The Juneau sustainability and Maasai Mara land-use tasks represent decisions where the unit convention of a reported index changes the conclusion.
- Agent training pipelines. The gate-accepted, oracle-normalised score is an executable reward usable for rejection sampling and group-relative policy optimisation, with the gate as a hard multiplier.
Industry relevance. The cost–robustness analysis gives procurement-relevant guidance: a $2.54 open model recovers most of the score of agents costing $246–$273 per pass, and the harness-invariance result means teams need not over-invest in scaffolding. The finding that a maximum reasoning tier can lower scores is a direct caution against assuming more inference compute buys accuracy.
Future Directions
-
Broadening and stabilizing the reference panel. Panel size varies from 1 to 18 papers per problem, and where a panel is empty the task falls back to a single reproduced anchor. Standardizing panel coverage across tasks, and handling literature-split tasks more principledly than excluding them from headline rankings, are open problems.
-
Training models to emit checkable evidence. The dragon-dance audit exposed a failure a value-range check cannot catch: a consistent answer that is physically inadmissible because the artifact omits the supporting evidence (no per-mirror layout, no peak-neighbourhood sample). Training models to emit that witness would raise scores and push feasibility toward externally verifiable physical truth.
-
Closing the CUMCM–MCM gap through targeted training. Because CUMCM saturates while open-ended MCM problems separate model quality, the authors argue training effort should shift toward assumptions, formulation, and sensitivity analysis rather than closed-form solving, and toward stating and verifying units, ranges, and schema before emitting a number.
-
Extending verification beyond what a structured artifact can settle. External physical truth remains out of scope except where a problem admits an independent replay; four constraints needing independent replay are recorded only as whole-task penalties, and extending coverage there is the natural next layer.
Target Audience
Researchers and engineers building or evaluating LLM agents on long-horizon, tool-using, multimodal tasks; benchmark designers who anchor numeric scores on published solutions and need auditable scoring rules; practitioners interested in formal verification (Lean 4) as a benchmark auditing mechanism; and teams selecting models for cost-sensitive modeling work who need to know how much of a leaderboard gap is real versus within seed noise.
Authors’ abstract
Mathematical modeling turns an open-ended real-world problem into assumptions, a model, a solution, and a defended recommendation, and its answers matter only if they are both close to a credible reference and physically feasible; existing benchmarks either score solver fragments or grade reports with an LLM judge, leaving those numbers unchecked. We introduce TB-MathModel (the Terminal-style Mathematical Modeling Bench), the first benchmark to make complete contest-style…
The full abstract on arXivRelated papers
- Kimi K2.5: Visual Agentic Intelligence 2026-02-02 · cs.CL · Also by Jia Li
- OR-License: Evaluating LLM Agents as Real-World Operations Research Practitioners 2026-10-16 · cs.CL · Also by Jia Li
- Tears or Cheers? Benchmarking LLMs via Culturally Elicited Distinct Affective Responses 2026-01-19 · cs.CL · Also by Jia Li
- Measuring Aleatoric and Epistemic Uncertainty in LLMs: Empirical Evaluation on ID and OOD QA Tasks 2025-11-05 · cs.CL · Also by Jia Li
- Argo-Bench: Evaluating Data Agents on Enterprise-Scale Workflows 2026-10-01 · cs.CL · Key terms of the title in common