It tests architecture design,not paper reproduction
ABench asks an agent to start from a classic paper, research the literature throughout its session (the sandbox is online for papers and code; dataset and model hubs are blocked), synthesize it, and design an architecture that is better than and different from existing ones. Evaluation works like an online judge: the agent gets only the task statement, interface and public training data, and submits code, weights and a design report that explains only principles; the test set stays outside the sandbox, the judge loads the submission to compute metrics, and the overall score combines SOTA margin, method divergence, reference quality and local discovery.
One case from issue to score
Using B-OPT-001 (anchor Adam, track: optimizers) as the example. S0–S5 happen inside the sandbox, where the agent sees only its own view; from S6 on, the judge works outside the sandbox. Click any step to inspect it, or press "Autoplay" to run the whole flow.
OJ evaluation: the test set never enters the sandbox
The agent view is built from an allowlist: task statement, interface, report templates and public training data, all read-only. Hidden settings, reference methods and scoring weights are not in it. Only after the agent finishes and the workspace is deleted does the judge decrypt the hidden set and load the submission: model code and the checkpoint the agent trained, or, where the training program itself is measured, the code it trains from scratch.
Judge outside the sandbox
After the view is built it is scanned again: the run aborts if a judge-side file name appears or the statement contains judge-side terms (reference pool, scoring weights, hidden settings…) not allowed for that case.
The full path of one run
Three kinds of submission
Run modes and isolation
| Run | Isolation | Result |
|---|---|---|
| smoke | host_soft: same system user, read-only view, environment-variable allowlist | Checks only process and format, never decrypts the hidden set, recorded as smoke_unscored, unscored |
| benchmark | dedicated user abench-agent, research egress (logging proxy + per-user firewall), or no network (netns / container); preflight proves the repository, hidden set and key are unreadable | The judge runs with its children as abench-judge in a network namespace; only such records can be scored |
| benchmark | no wrapper, unrestricted network, or judge children as the operator | Refused to start, or recorded as not scorable |
The key must be outside the repository, with permissions 0600, not a symlink, and never in the agent's environment variables. At the deadline the agent's process group is killed; leftover processes and temporary files of the agent user are removed and recorded.
Research egress online sandbox
| Hosts | Policy |
|---|---|
| arXiv, OpenReview, ACL Anthology, Semantic Scholar, proceedings, DOI | allowed at any point of the session |
| GitHub, Read the Docs, framework docs, Stack Overflow, PyPI | allowed, unless the case's data is distributed there |
| Hugging Face, Kaggle, OpenML, Zenodo, Figshare, cloud buckets | blocked: data and weights come only from the case's frozen directories |
| the case's own data sources | blocked, with their host family |
| anything else, direct connections, DNS | rejected by the per-user firewall |
Every connection is written by the runner to a hash-chained egress_log.jsonl; downloads over 20 MiB are listed for review. There is no literature cutoff: novelty is judged against the literature at session start. spec/egress_policy.yaml
Calibration runs
Standard cases: the agent trains, the evaluator only evaluates
Every track has at least one standard case built to task statement v2.1. The agent gets compute in the sandbox to explore, train and check its own work with the evaluator's own pipeline; what the evaluator then does depends on what the case measures.
Workflow required by every standard task statement
Research is not a phase: the agent returns to the literature whenever training raises a question. The sandbox is online for papers, code and documentation through the runner's logging proxy, and the offline paper search answers fast from CC0 arXiv metadata; both are logged with the run. A design report without the list <ol id="changes">, or with a change that has no code location, fails the format check.
Standard cases
Launch path, checked step by step TC-FT-001
Design report: arXiv layout, principles only
The report follows the LaTeXML structure of arxiv.org/html: table of contents on the left, numbered equations, algorithm boxes, theorems and proofs, bibliography. It explains only why the method is designed this way, how it differs from existing methods and under which conditions it holds; all experiments and numbers are left to the judge.
Automatic checks at submission
No script, link, iframe, object or embed, and no references to external resources.
references.yaml corresponds one to one with the report's bib.<id>, and each entry states what was borrowed and where it is in the code; reference quality is computed by the judge from venue tier and citations.
Reading structure…
Evaluation modes: three thresholds, four components
All scoring happens outside the sandbox. The task statement publishes the metrics, thresholds and score components, but not the weights or the reference pool. The three submissions of one case go through the same scoring; switch between them to see where each scores and where it is stopped.
SOTA margin M: effective speedup against the reference envelope
Divergence D: behavioral similarity on a fixed gradient stream
Reference quality Q: paper weight × usage
Local discovery X: per-claim ablation
Only the training losses and judge outputs in the historical demo of B-OPT-001 are simulated; no results were generated for the new cases, and formal scoring must use a real runner.
Local discovery: a known result applied to a new problem
The building block need not be original. As in DeepSeek mHC: the residual mixing matrix of Hyper-Connections breaks the identity mapping, so the 1967 Sinkhorn–Knopp algorithm is brought in to project it onto a doubly stochastic matrix whose rows and columns each sum to 1. Below is that projection itself.
How it is judged and scored
| Situation | Classification | Credit |
|---|---|---|
| This use not found in the ML literature at session start | local discovery | full |
| Used in ML, but for a different problem | transfer discovery | × 0.5 |
| Already used in ML for the same problem | retrieval reuse | counts only toward Q |
| No significant difference in ablation | decorative import | 0 |
| The source does not contain the transferred idea | incorrect provenance | 0, and Q is penalized |
x = effectiveness · application novelty · provenance correctness · (0.5 + 0.5 · provenance distance)
X = 1 − Π(1 − x) overall × (1 + 0.25 · X)
Effectiveness comes from the benchmark operator's ablation: replace the module with a trivial substitute and retrain; the drop in gain must exceed seed noise. Venue tier and citations of cross-field sources are assessed within their own fields.
Three verification modes, three resource tiers, three difficulty levels
Agents need repeated trial and error, so the Budget edition never trains at the paper's full or large scale; the compute-heavy industrial tasks form a separate Pro Set with ample compute, verified by audit instead.
Budget: micro-scale ladder
One 24GB reference card. The benchmark operator retrains the agent's method at μ1–μ3, and hidden settings are not available to the agent.
Pro: audit instead of retraining
4 × H100, 24 hours. Checkpoint hashes are registered every 30 minutes, and the benchmark operator resumes from one randomly chosen registered point for 1 hour to check.
Strong baselines at equal compute
Published gains often vanish against a tuned baseline. Design cases therefore compare every submission with a tuned mainstream baseline trained or fitted by the evaluator at the same budget.
Resource tiers
Difficulty × resources: case distribution
Click a cell to filter the matching cases in the case browser below.
Case browser
Scale and cost
The Budget edition is counted in reference-card GPU-h and the Pro Set in H100-h; the two are summed separately.