arXiv:2611.08237cs.CLNov 2026

Manuscript Offprint

arXiv:2611.08237

Terminal-style Mathematical Modeling Bench: The First Agentic and Verifiable Benchmark for Mathematical Modeling

Xiaojun Wu, Cehao Yang, Xuhui Jiang, Chengjin Xu, Jia Li, Jian Guo

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

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 modeling problems agentic, verifiable, and terminal at once, over 18 real CUMCM and MCM problems (2023–2025). Each task ships the verbatim statement, official attachments, and figures in a containerized terminal; the agent returns one JSON artifact, scored on the numeric core of the final question against a reproduction of the Outstanding-award paper. Two design choices distinguish it: direction-aware, one-sided scoring, which never penalises beating the anchor, and two-layer feasibility verification—a programmatic gate over six decidable invariant forms plus 624 Lean 4 obligations—with a hard gate that zeroes infeasible answers. Each task is scored against a panel of human outstanding papers rather than one, so a model must be close to many accepted answers; across seven multimodal entries (three seeds each) the strongest reach a multi-reference O-EVAL of 64.58%, while the $2.54 open model holds 59.81% at 1/100 the cost. TB-MathModel turns the numeric core of modeling into a reproducible, machine-checkable signal for measuring long-horizon modeling competence and for collecting agent trajectories. The source code is available at https://github.com/wxj630/terminal-bench-math-modeling.

1 Introduction

Mathematical modeling contests such as CUMCM in China and MCM/ICM internationally ask teams

to convert a deliberately under-specified real-world problem into a defensible quantitative answer within days. The deliverable is not a single number but a chain: assumptions → model → solution → sensitivity → recommendation. Two properties make it an attractive target for agent evaluation: it is quantitative, because the final question ends in numbers that can be checked, and it is multimodal, because statements reference figures and attachments are spreadsheets and CSVs. It also differs from solving a well-posed problem in where the hard work begins—the model itself must be built, and the same situation admits time-series, optimization, dynamical, graph, or multi-criteria formulations, any of which can be defensible if its assumptions are explicit and its computation credible (Giordano et al., 2014; Meerschaert, 2013). This is what makes modeling a demanding test of long-horizon agents: hold the statement and attachments in context, choose a formulation, write and run code, handle files and units, and report a self-consistent answer.

Existing benchmarks cover adjacent but distinct ground, and none closes the loop we care about. Code, terminal, and assistant benchmarks score repository edits, command-line competence, and tool use (Jimenez et al., 2024; Merrill et al., 2026; Mialon et al., 2024; Yao et al., 2025); closed-form mathematics benchmarks score deduction rather than modeling (Hendrycks et al., 2021; Cobbe et al., 2021; Glazer et al., 2024); operations-research datasets parse word problems into solver-ready formulations (Ramamonjison et al., 2023; AhmadiTeshnizi et al., 2024; Yang et al., 2025). The closest prior work on modeling itself falls into two camps, neither simultaneously agentic, verifiable, terminal, and multimodal. One stays solver-facing and narrow, scoring a single formal artifact (Huang et al., 2025b). The other grades the final report with an LLM judge (Qian et al., 2025; Liu et al., 2025), rewarding fluent prose without establishing that the

*Equal Contribution

†Corresponding Author reported numbers are correct or even admissible. Table 1 makes the gap concrete; TB-MathModel is the first to combine all of these properties.

Closing the gap raises three problems that shape the design. Different teams make different assumptions, so there is no single ground truth: rather than promote one paper to truth, TB-MathModel asks every human expert, scoring each task against a panel of outstanding solutions so that a model must be close to many accepted answers, not match one. Anchoring creates asymmetric failure—a model that does better than the paper can score worse than one that copies it—so TB-MathModel makes each metric's direction explicit and scores one-sidedly. And a wrong-but-plausible answer is easy to produce (numbers that look reasonable yet violate the problem's physics), which anchor comparison cannot catch, so TB-MathModel adds an independent feasibility layer.

We present TB-MathModel (Terminal-style Mathematical Modeling Bench), to our knowledge the first benchmark to turn complete contest-style mathematical modeling problems into an agentic, verifiable, terminal evaluation. It contributes:

  1. The first benchmark of its kind, and 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, 21 figures cropped from the PDFs, and one JSON artifact per task.

  2. Direction-aware, one-sided scoring with auditable edge-case rules. Per-metric semantic directions (higher/lower_is_better, target_value, exact_value); two reported metrics (O-EVAL, ROBUST BO-EVAL); explicit rules for degenerate bands and unpinned reference units; and contract tests that lock the two defining properties down.

  3. A two-layer feasibility verification design. A programmatic gate covering 18/18 tasks through six decidable invariant forms, and a Lean 4 certificate layer of 624 kernel-checked obligations; the two layers decide every feasibility question a structured artifact can settle, and state exactly where an independent replay takes over.

  4. An empirical study of seven multimodal

model/harness entries, each averaged over three seeds, with per-task behaviour, a cost-robustness analysis, and three case studies; we also document the scoring pitfalls we found and fixed and quantify which move the leaderboard.

Against the human panel, the two newest flagships lead (GPT-6 Astra + codex at O-EVAL 64.58 ± 2.93 and MULTI-BO 1.132, Fable 5.1 + claude-code at 63.11 ± 1.33 and 1.081, means over three seeds), while the $2.54 DeepSeek V4.1 Flash + opencode holds 59.81 ± 1.25 at 1/100 the cost; varying only the harness moves O-EVAL by at most 0.07 pp, so the board measures the model rather than the harness. Per-seed deviations reach 2.9 pp, so adjacent rows are not significantly separated. One case study inverts the usual story: on dragon-dance the models were right and our anchor was wrong—the sharpest argument for independently checkable feasibility.

References (13)