Hugging Face Papers ↗ · 2026-11-20
HEP-Ex-Bench: Evaluating Agentic Performance in High Energy Physics Experiment Data Analyses with Sealed Worlds
Media reports Hugging Face Papers Source language: Chinese
HEP-Ex-Bench evaluates AI agents on physics analyses via sealed worlds with injected truths; Gemini 4 Argon reaches 60% of expert reference scores.
Full text
HEP-Ex-Bench: Evaluating Agentic Performance in
High Energy Physics Experiment Data Analyses with Sealed Worlds
Andrzej Novák Email: yiyang26@mit.edu Affiliation: Department of Physics, Massachusetts Institute of Technology, Cambridge, MA, USA Affiliation: NSF AI Institute for Artificial Intelligence and Fundamental Interactions (IAIFI) Yiyang Zhao Email: dolores.garcia@cern.ch Affiliation: Department of Physics, Massachusetts Institute of Technology, Cambridge, MA, USA Affiliation: NSF AI Institute for Artificial Intelligence and Fundamental Interactions (IAIFI) Dolores Garcia Email: emoreno@mit.edu Affiliation: Department of Physics, Massachusetts Institute of Technology, Cambridge, MA, USA Affiliation: NSF AI Institute for Artificial Intelligence and Fundamental Interactions (IAIFI) Eric A. Moreno Email: jkrupa@slac.stanford.edu Affiliation: Department of Physics, Massachusetts Institute of Technology, Cambridge, MA, USA Affiliation: NSF AI Institute for Artificial Intelligence and Fundamental Interactions (IAIFI) Jeffrey Krupa Email: vbresopla@fas.harvard.edu Affiliation: SLAC National Accelerator Laboratory, Menlo Park, CA, USA Víctor Bresó-Pla Email: sambt@mit.edu Affiliation: Department of Physics, Harvard University, Cambridge, MA, USA Samuel Bright-Thonney Email: l.heinrich@tum.de Affiliation: Department of Physics, Massachusetts Institute of Technology, Cambridge, MA, USA Affiliation: NSF AI Institute for Artificial Intelligence and Fundamental Interactions (IAIFI) Lukas Heinrich Email: makagan@slac.stanford.edu Affiliation: Department of Physics, Technical University of Munich, Garching, Germany Michael Kagan Email: pcharris@mit.edu Affiliation: SLAC National Accelerator Laboratory, Menlo Park, CA, USA Philip Harris Affiliation: Department of Physics, Massachusetts Institute of Technology, Cambridge, MA, USA Affiliation: NSF AI Institute for Artificial Intelligence and Fundamental Interactions (IAIFI)
Abstract
Agentic systems are increasingly being explored for automating experimental high-energy physics measurements, but the correctness of their results can today be reliably evaluated only via extensive expert review. To address this, we propose a method to perform detailed quantitative evaluations of agent-driven analyses through the use of blind analysis and injection tests, which are critical in a typical expert review. Agents develop a data analysis pipeline on a public dataset, while the evaluation is performed on programmatically generated sealed private datasets where signals are injected and simulation settings varied within realistic detector uncertainties. By requiring agents to provide a single workflow that is evaluated across these “sealed worlds”, we are able to test the accuracy and robustness of the workflows. We demonstrate the approach on four tasks built from CMS open data and present it as a way to reliably benchmark scientific work in experimental high-energy physics. At the time of writing, the best-performing model, Gemini 4 Argon, reaches 60% of the score of the expert reference analyses on average, ahead of GPT 6 Astra at 38% and Claude Opus 5.5 at 31%. In individual sessions on one of the tasks, Gemini 4 Argon exceeds the reference. The benchmark is hosted at https://hep-ex-bench.github.io.
00footnotetext: *Lead authors
Keywords: AI agents; large language models; benchmarks; high-energy physics; autonomous physics analysis; CMS; Higgs boson; calibration.
1 Introduction
Figure 1: The sealed-world benchmarking scheme. The agent works from the task prompt and a public world, and delivers a pipeline. The pipeline is then frozen and rerun on sealed worlds with different hidden truths. The evaluator scores the results against the truths and against an expert reference analysis of the same worlds. The worlds are assembled beforehand from simulation with injected truths (Fig. 3).
Scientific research is moving toward systems that execute parts of the process autonomously through artificial intelligence (AI) agents built on large language models (LLMs). In high-energy physics (HEP), agents can now carry out substantial parts of the elaborate data analysis pipeline, from event selection and background modeling to the construction of a full likelihood [1, 2, 3]. The question is therefore no longer whether agents can analyze data, but how the quality and reliability of their analyses can be evaluated.
An analysis that runs to completion is not necessarily correct. The true result on observed data is unknown, and an agent that reproduces a published measurement may simply have recalled or looked up the accepted value [4, 5]. Expert review does not scale, and a language-model evaluation [6] can be exploited into accepting pipelines that would fail such a review [7].
Benchmarks are therefore needed that have a reproducible scoring methodology and are characteristic of real physics analyses, with truths isolated from the web and from training data. These benchmarks should evaluate both the precision of a measurement and whether the analysis methods are correct. To address this gap we propose sealed-world benchmarking, which follows two established methods of experimental physics, blind analysis [8] and injection tests [9]. In a blinded mode, the analysis is tested on pseudodata with a known injected truth before the signal region of the observed data is analyzed. A reliable analysis is one that recovers the injected truth within its quoted uncertainty [10].
In HEP-Ex-Bench, the High-Energy Physics Experiment Benchmark, we present a mechanism for reliable evaluation of AI agents through sealed-world injections. An agent develops an analysis once on a public dataset (public world), built from simulated samples in the format of real analysis input; the agent then delivers a pipeline that aims to produce unbiased physics results over a wide range of physics outcomes and detector behaviors. The pipeline is frozen and executed in isolation on many varied sealed worlds. These sealed worlds are built with the full detector simulation of an experiment, here the open simulated data of the CMS experiment [11]. The sealed worlds differ in their parameters of interest11 1 The quantities that an analysis sets out to measure, such as the Higgs boson mass. and in their detector response, which are hidden from the agent. The evaluator harness scores the results against the hidden truths and against an expert reference analysis of the same worlds, and checks the method programmatically, for example the goodness of fit of the delivered model. Figure 1 shows the scheme. A memorized value, a fit tuned to the public world, or an understated uncertainty scores poorly on the sealed worlds. A Higgs boson mass of 125GeV\,\mathrm{GeV}, for example, is wrong in a world where it is 115GeV\,\mathrm{GeV}. In contrast, a sound analysis recovers the truths with uncertainties consistent with the sealed-world variations.
Section 2 reviews related work, and Sec. 3 defines the sealed-world evaluation, the failure modes it is designed to catch, and the score. Section 4 presents four example tasks, and Sec. 5 describes how their worlds are built from CMS simulation [12, 13, 14, 15, 16, 17, 18]. Section 6 validates the expert reference analyses and the evaluator and reports a campaign of agents, Sec. 7 discusses the results and the limits of the method, and Sec. 8 discusses implications and way forward for the field.
2 Related work
Recent work on AI agents has largely focused on the construction of agentic workflows. HEP-Ex-Bench addresses their evaluation. Evaluation can be performed against a published value, a hidden reference or an injected truth. The papers summarized below are grouped in that order, from the weakest to the strongest ground truth, and are compared in Table 1.
The most direct evaluation of an agentic workflow checks its result against published results. PaperBench asks agents to replicate machine-learning papers, runs their code again and compares the agents with human experts [19], and PRBench scores how well agents reproduce the results of published physics papers [20]. In HEP, Gendreau-Distler et al. compare many language models on a Higgs-boson analysis of ATLAS Open Data [2], Dr.Sai measures branching fractions on the full simulation of the BESIII experiment [3], and Collider-Bench, the work closest to this paper in its tasks, asks agents to rebuild published LHC [21] searches and scores the signal yields that they predict [22]. A published value, however, cannot reliably tell a robust analysis apart from a recalled one. Only Dr.Sai reports uncertainties, and it checks them through pulls (deviations from the truth in units of the reported uncertainty) on a single simulated sample instead of scoring them.
A stronger evaluation compares the result with a reference that the agent cannot see. MLE-bench scores machine-learning engineering against test sets that the agents do not see but that are derived from public data [23], HEPTABench evaluates agents repeatedly on HEP tasks with hidden reference values [24], and DiscoverPhysics asks agents to discover the laws of motion of simulated worlds, tests them on held-out trajectories and grades their explanations with a language model [6]. A hidden reference guards against recall, but each task has one fixed reference and no uncertainty is scored, so an unsound analysis cannot be told from a fluctuation.
Lastly, evaluation can be performed against an injected truth, grading both the measured values and their uncertainties. The HEP data challenges, including HiggsML, the LHC Olympics and Dark Machines, and the HDR Gravitational Wave Anomaly Challenge, all construct evaluation methods for finding hidden signals in simulated collision events or gravitational wave data [25, 26, 27, 28]. FAIR Universe, the closest to this work in its scoring, runs every submitted model on pseudo-experiments with re-drawn signal strengths and systematic shifts, then scores the coverage and magnitude of the reported uncertainties [29]. These challenges, however, evaluate specific methods rather than agents that carry out complete analyses, and their data are precomputed features of a single analysis, so the task is statistical inference alone.
HEP-Ex-Bench combines the elements of these three groups (Table 1). As in the first group, the agent develops a whole analysis. As in FAIR Universe, the truths are hidden and re-drawn for every evaluation and the reported uncertainties are scored. In addition, the statistical model that the agent delivers is checked, for example for its goodness of fit, so an analysis is scored on its method as well as on its result.
Truth
Re-run on
new data
Uncertainty
scored
Full detector
simulation
Expert
reference
Complete
analysis
Other
analyses
PaperBench [19] ×\times same data ×\times N/A ✓ N/A N/A
Gendreau-Distler [2] ×\times ×\times ×\times real data ×\times ×\times ×\times
Dr.Sai [3] ×\times ×\times ×\times ✓ ×\times ✓ ×\times
Collider-Bench [22] ×\times ×\times ×\times fast sim. ✓ ×\times searches
MLE-bench [23] ×\times ×\times ×\times N/A ✓ N/A N/A
HEPTABench [24] ×\times ×\times ×\times ×\times ×\times ×\times ✓
DiscoverPhysics [6] hidden ✓ ×\times N/A ×\times N/A N/A
FAIR Universe [29] re-drawn ✓ ✓ fast sim. ×\times ×\times ×\times
HEP-Ex-Bench re-drawn ✓ ✓ ✓ ✓ ✓ ✓
Table 1: Comparison with related benchmarks, agents and data challenges. A hidden truth is unknown to the agent and not on the web, and a re-drawn one changes with every test. Re-run on new data means that the submitted code is executed on data it was not developed on. Uncertainties are scored when both too small and too large ones are penalized. An expert reference is scored like the agents. A full detector simulation tracks every particle through the detector, while a fast one parametrizes its response and is therefore inherently less representative. A complete analysis runs from the reconstructed events to the final statistical result, and the last column marks schemes that extend to other kinds of analysis.
3 Sealed-world evaluation
Since the truth in experimentally collected data is unknown, an analysis in HEP is conventionally developed and calibrated on simulation, and tested with injected signals [10]. The application to the collected data is only performed once the method is fixed [8]. HEP-Ex-Bench extends this practice with sealed worlds, simulated datasets that emulate experimentally collected data and whose true values are chosen by the evaluator and hidden from the tested agent (their construction is described in Sec. 5.1). An analysis is tested on many sealed worlds, each with a different injected truth, so that only a method that holds across these variations recovers the injected truths. The scheme applies to any measurement and is illustrated by four tasks (Sec. 4).
An agent works on a task in one development session, in this paper a single run of at most 7.5 h in a sandbox. In it, the agent is given
•
a prompt in which the task is stated,
•
the evaluation contract, in which the deliverables, output formats, and a self-check are fixed while as little task-specific information as possible is revealed (App. C.1),
•
the public world – pseudodata in the format of real analysis inputs, and
•
the nominal simulation (with default detector settings).
The agent develops a pipeline with web access to look up published methods. Once delivered, the pipeline is frozen and rerun offline, in isolation, on the sealed worlds (Fig. 1). A submission that breaks the contract is not evaluated.
3.1 Evaluation on many sealed worlds
In every task, an analysis is scored by its results on many sealed worlds. Three ways in which an analysis can look right without being right are guarded against:
•
Knowing the answer. A value is recalled from the literature or from training data, or read from the truths, such as a 125GeV\,\mathrm{GeV} Higgs boson mass reported on every world where the mass is varied (Fig. 2, left). The sealed truths are drawn anew and are on no web page, and the isolated runs and the session transcripts are checked for access to them.
•
Overfitting to the public world. An analysis is tuned on the one public dataset provided to the agent, and is right for that world but biased toward its value on the others (Fig. 2, center). The pipeline is frozen before it runs on any sealed world, and those worlds differ in their parameters of interest, background simulation, and detector response; only an analysis with full detector, background and signal variations will result in an unbiased result.
•
Guessing. On a single world, a guess can agree with the truth, and a sound analysis can miss it through a fluctuation. The two are separated on many worlds, as shown by the toy study in App. B.8.
Misstated uncertainties, a bias shared by every world (Fig. 2, right) and unsound methods are caught by the score itself, through the scoring rule, the combination of the worlds and the quality terms (Sec. 3.2).
Figure 2: Toy analyses that many sealed worlds expose: the reported Higgs boson mass mHm_{\mathrm{H}} against the injected one on nine worlds, with the expert reference analysis as open diamonds.
The checks are verified with deliberately flawed and cheating submissions, whose scores are given in App. B.7.
3.2 Score
Every analysis is compared with an expert reference based on published methods that recover the injected truths on sealed worlds. The evaluation score measures the accuracy of the measurement (Sec. 3.2.1) and quality terms such as the goodness of fit of the statistical model, computational efficiency, and the treatment of systematic uncertainties (Sec. 3.2.2).
3.2.1 Measurement
The measurement score compares the analysis results against the reference performance on NN sealed worlds. On each world ii the analysis produces a value xix_{i} and an uncertainty σi\sigma_{i} for a measured quantity pp. The score for each world is then computed as the difference between the negative log-likelihood of the injected truth tit_{i} under a Gaussian of mean xix_{i} and width σi\sigma_{i} between the analysis and the reference
Δi=lnσiσref,i⏟precision+12(zi2−1)⏟pull,zi=xi−tiσi,\Delta_{i}=\underbrace{\ln\frac{\sigma_{i}}{\sigma_{\mathrm{ref},i}}}_{\text{precision}}+\underbrace{\tfrac{1}{2}\,(z_{i}^{2}-1)\vphantom{\frac{\sigma_{i}}{\sigma_{\mathrm{ref},i}}}}_{\text{pull}},\qquad z_{i}=\frac{x_{i}-t_{i}}{\sigma_{i}}, (1)
where σref,i\sigma_{\mathrm{ref},i} is the reference uncertainty and zref,i=1z_{\mathrm{ref},i}=1. A Δi=0\Delta_{i}=0 then implies that the analysis is as good as the reference. This is the logarithmic score, a strictly proper scoring rule [30, 31] (cf. Ref. [29], Sec. 2). The precision piece is negative for an analysis more precise than the reference, and the pull piece averages to zero for accurate uncertainties, so the expected penalty is lowest at unit pull width, ⟨zi2⟩=1\langle z_{i}^{2}\rangle=1. There is no floor and no cap: at reference precision a pull of 1 gives no penalty, a pull of 2 a penalty of 1.5, and a pull of 3 a penalty of 4. For a quantity whose likelihood is not Gaussian, such as the signal strength in H IGGS L EP M ASS , the same rule is applied to the delivered likelihood itself, and Eq. (1) is its special case (App. B.1).
A world has no measurement when the pipeline fails or its output does not determine the quantity. It is penalized as if the nominal value stated in the task had been reported, with the spread of the values the task allows as its uncertainty. This is the answer of an analysis that learned nothing from the data. For the mass in H IGGS L EP M ASS this penalty is about 4.5, that of a pull of 3 (App. B.3).
On a single world, a bias that is small compared with the uncertainty is penalized in the same way as a fluctuation of the same size. In order to account for shared biases in the score, the residuals xi−tix_{i}-t_{i} are combined by inverse variance and their combination is added to the Δi\Delta_{i} sum,
Δp=1N∑i=1NΔi⏟each world+z⋆2−12N⏟shared bias,\Delta_{p}=\underbrace{\frac{1}{N}\sum_{i=1}^{N}\Delta_{i}}_{\text{each world}}+\underbrace{\frac{z_{\star}^{2}-1}{2N}}_{\text{shared bias}}, (2)
where z⋆=σ⋆∑i(xi−ti)σi−2z_{\star}=\sigma_{\star}\sum_{i}(x_{i}-t_{i})\,\sigma_{i}^{-2} is the pull of the combination and σ⋆=(∑iσi−2)−1/2\sigma_{\star}=(\sum_{i}\sigma_{i}^{-2})^{-1/2} its uncertainty, summed over the worlds with a measurement. A bias shared by all worlds grows in z⋆z_{\star} like N\sqrt{N}, while an accurate analysis has ⟨z⋆2⟩=1\langle z_{\star}^{2}\rangle=1 and no penalty on average. For a task with one quantity, Δp\Delta_{p} is its measurement penalty Δphys\Delta_{\mathrm{phys}}.
3.2.2 Quality
Problems of the method that are not visible in the measurement directly are penalized by quality terms, modeled on the checks a reviewer would make. Each is a penalty Δk\Delta_{k} that is zero when the check passes, and enters the total penalty at a weight wk<1w_{k}<1 (Table 2, App. B.5),
Δtotal=Δphys⏟measurement+∑kwkΔk⏟quality.\Delta_{\mathrm{total}}=\underbrace{\Delta_{\mathrm{phys}}\vphantom{\sum_{k}}}_{\text{measurement}}+\underbrace{\sum_{k}w_{k}\,\Delta_{k}}_{\text{quality}}. (3)
Term wkw_{k} What is checked Tasks
Goodness of fit, Δgof\Delta_{\mathrm{gof}} 0.30 model against the pseudodata fit
Detector calibration, Δcal\Delta_{\mathrm{cal}} 0.10 logged detector effects fit
Truthfulness, Δtruth\Delta_{\mathrm{truth}} 0.50 report against a model refit fit
Kinematic closure, Δclosure\Delta_{\mathrm{closure}} 0.50 Z\mathrm{Z} peak after the corrections cal.
Completeness, Δsyst\Delta_{\mathrm{syst}} 0.10 standard systematics modeled both
Compute, Δcompute\Delta_{\mathrm{compute}} 0.10 wall time against the reference both
Table 2: Quality terms of Eq. (3) and their weights wkw_{k}.
The weights follow typical review priorities in a collaboration. Each is below one, so that no check outweighs the measurement. The detector-calibration term scores every detector effect the analysis records like a measurement, against the injected one, and the goodness-of-fit term penalizes a delivered model that does not describe the pseudodata well. A false discovery is penalized by the measurement term, since a world may contain no signal.
3.2.3 Final score
The final score SS of a task and its ratio to the score of the reference on the same worlds are
S=e−γΔtotal,R=SSref=∏ke−γwk(Δk−Δkref),S=\mathrm{e}^{-\gamma\,\Delta_{\mathrm{total}}},\qquad R=\frac{S}{S_{\mathrm{ref}}}=\prod_{k}\mathrm{e}^{-\gamma\,w_{k}(\Delta_{k}-\Delta_{k}^{\mathrm{ref}})}, (4)
with γ=2\gamma=2, the product over the terms of Eq. (3) and wk=1w_{k}=1 for the measurement term. Results are reported as RR in percent. The choice of γ\gamma puts the score in units of data: with accurate uncertainties and no quality penalty, S≈(σrefσ)2=fS\approx\big(\frac{\sigma_{\mathrm{ref}}}{\sigma}\big)^{2}=f is the fraction of the data on which the reference reaches the same precision, so S=50%S=50\% reads as an analysis as good as the reference on half the data.
With several measured quantities, such as the mass and the signal strength in H IGGS L EP M ASS , each has its own penalty Δp\Delta_{p} and the scores e−γΔp\mathrm{e}^{-\gamma\,\Delta_{p}} are averaged (App. B.4). A missing or far-off quantity loses at most its own share and leaves the others untouched.
The score is nominally a random variable, since it depends on the draw of the sealed worlds and on the statistical fluctuations of their pseudodata (App. B.6).
4 Tasks
The four tasks are based on analyses carried out in practice at the LHC, two measurements (fits) and two calibrations (Table 3). Each requires the full chain of a real analysis, from the calibration of the physics objects to a statistical model with its systematic uncertainties, and each has an expert reference analysis that follows a published CMS method (App. E).
Task Type Result App.
H IGGS L EP M ASS fit mass mHm_{\mathrm{H}} and signal strength μ\mu E.1
H IGGS W IDTH fit width ratio ξ=ΓH/ΓHSM\xi=\Gamma_{\mathrm{H}}/\Gamma_{\mathrm{H}}^{\mathrm{SM}} and on-shell signal strength μon\mu_{\mathrm{on}} E.2
L EP C ALIB cal. e\mathrm{e} and μ\upmu scale, resolution and efficiency corrections E.3
J ET C ALIB cal. jet energy scale and resolution corrections E.4
Table 3: The four tasks, their results and the appendices that describe them and their expert reference analyses. A signal strength is a production rate in units of the Standard Model (SM) prediction.
5 Datasets
Figure 3: Production of the worlds.
The worlds are built from CMS Open Data [12, 13, 14, 15, 16, 17, 32, 33], the simulation of proton–proton collisions at s=13TeV\sqrt{s}=13\,\mathrm{TeV} in the 2016 detector conditions, together with a private signal simulation produced under the same conditions, both in MiniAOD (a reduced analysis format of CMS that keeps all reconstructed particles [34]). The Higgs-boson signal is generated with Pythia 8 [35] at varying masses, and its events are then simulated and reconstructed with the official CMS software [36], including additional proton–proton interactions within the same or nearby bunch crossings (pileup) [18]. The detector, its coordinate system and the kinematic variables are described in Ref. [11]. For H IGGS W IDTH , off-shell production through gluon fusion and electroweak processes, with its interference with the ZZ\mathrm{ZZ} continuum, is generated with MadGraph5_aMC@NLO [37] and passes the same simulation and reconstruction (App. D.3). The J ET C ALIB worlds are built from simulated Drell–Yan and multijet events of CMS Open Data [38, 39, 40, 41, 42, 43, 44, 45, 46] in a format that keeps all reconstructed particles. The public world of every task is released with the benchmark (see Code and data availability), while the sealed worlds used for the results are not. The worlds are indistinguishable from data in their format and carry no generator information. The results of H IGGS L EP M ASS , H IGGS W IDTH , L EP C ALIB and J ET C ALIB use 40, 30, 10 and 10 sealed worlds of 50, 100, 10 and 1fb−1\,\mathrm{fb}^{-1} 22 2 The luminosity (fb−1\,\mathrm{fb}^{-1}) is a measure of the number of collision events in a world, and is chosen such that it is sufficient to resolve the differences between the worlds., respectively.
Figure 4: Scores of the development sessions as percentages of the expert reference analysis on the same sealed worlds, for the six models with the highest scores (all eleven models in App. A.1). Within a row the prompt tiers are stacked, P0 at the top, with every run as a point, a line over their range and a vertical bar at their mean. A J ET C ALIB session beyond the axis is drawn at its edge with its score.
5.1 Detector response and signal injection
The worlds differ from the nominal simulation in the detector response and in the injected signal, and some H IGGS W IDTH worlds also in the theory prediction. Each world has one of 13 detector profiles, the nominal one or one of twelve modified ones, applied to both its signal and its background. A profile rescales the transverse momentum of every reconstructed particle by a smooth function of pTp_{\mathrm{T}} and |η||\eta|, smears pTp_{\mathrm{T}}, η\eta and ϕ\phi, and changes the identification and trigger efficiencies by a smooth data-to-simulation ratio. The exact functional forms and their parameters are withheld to prevent cheating. Jets and the missing transverse momentum [47] are rebuilt from the modified particles, so every event stays consistent (App. D). The signal of a world is generated according to its parameters of interest, the Higgs-boson mass and the signal strength, or in H IGGS W IDTH the width and the on-shell signal strength, with the production and decay rates, the width and the acceptance changing consistently with the mass. A world may contain no signal.
5.2 Sealed worlds
The worlds are produced as shown in Fig. 3. Each world of a task is assembled from a background-only world and a Poisson-distributed number of signal events drawn without replacement from a pool, which holds far more events than any world uses; the worlds are then sealed. The number of background events is Poisson-distributed as well, with a mean set by the luminosity and the cross sections, and its fluctuation exceeds the signal contribution, so the size of a world does not reveal its signal.
The detector profiles and the signal injection act on all leptons, particle-flow candidates [34], jets and the missing transverse momentum alike, so worlds for other analyses or for the calibration of other physics objects can be produced consistently across different background processes and final states.
6 Results
6.1 Tested agents
An agent is a language model together with its agent harness, the program that runs the model and connects it to tools. Eleven models of four families were tested, each family under one harness (Table 4).
Family Models Harness
Claude Claude Opus 5.5, Claude Sonnet 5.5 Claude Code
GPT GPT 6 Astra, GPT 6.1 Sol, GPT 6 Luna Codex
Gemini Gemini 4 Argon, Gemini 4 Hydrogen,
Gemini 3.8 Flash Antigravity33 3 Antigravity, unlike Claude Code, Codex and OpenCode, ends a turn after 30 minutes of waiting; a script then sends a fixed message asking the agent to continue.
Open-weight DeepSeek V4.1 Flash, GLM 5.3,
Qwen 3.8 Flash Next OpenCode
Table 4: The models tested and the agent harness of each model family.
Each task has three prompt tiers – P0, P1, P2. P0 states the task and what to deliver, and P1 and P2 add physics context and an expert plan (App. C.2), respectively. The higher tiers stand in for the domain knowledge that an analysis framework such as JFC [1] supplies to an agent, and are intended to test how much such guidance adds to the score. Each model was given every prompt tier three times, which gives 99 sessions on each task. Appendix A.1 shows the scores of all models.
6.2 Scores
Figure 4 shows the scores. On H IGGS L EP M ASS , H IGGS W IDTH and L EP C ALIB , no session reaches the expert reference, and on J ET C ALIB six sessions, all of Gemini 4 Argon, score above it. The runs of one model and tier differ by more than the tiers do, so that one session is a poor measure of a configuration. The pipelines that returned no result on any world came mostly from open-weight models. DeepSeek V4.1 Flash is the only open-weight model that reliably delivers working analyses, although 29 of its 36 sessions score below 10% of the reference. The wall time, the cost and the tokens of the sessions and the evaluation time of the delivered pipelines are compared with the scores in App. A.4.
Figure 5: Overall score of each model, the mean over the tasks of the mean score of all its sessions on a task, as a percentage of the expert reference. The lighter part of a bar is the 68% range from a resampling of the sessions and the line the mean. The number in gray is the mean cost of a session at list prices.
Figure 5 combines the tasks into one overall score per model, the mean over the tasks of the mean score of all its sessions on a task. Gemini 4 Argon leads at 60±8%60\pm 8\% of the expert reference, followed by GPT 6 Astra at 38% and Claude Opus 5.5 at 31%, while no open-weight model exceeds 10%. No model leads on every task. The best sessions on H IGGS L EP M ASS and H IGGS W IDTH come from Claude Opus 5.5 and GPT 6.1 Sol, respectively, and those on both calibration tasks from Gemini 4 Argon. In general, the scores vary strongly from session to session. For Claude Opus 5.5 on H IGGS L EP M ASS , the best session reaches 89% against a mean of 49%, so the models are limited less by their best result than by how reliably they deliver an analysis pipeline of high quality.
More guidance does not seem to raise the scores. Averaged over the five leading models, the expert plan of P2 brings no gain over P1 on any task, and on H IGGS L EP M ASS P0 scores highest. The prompt tiers give only basic guidance, and the test of more involved frameworks such as JFC [1] is left to future work. Such a test likely requires more tokens per session than standard research subscriptions provide.
7 Discussion
Figure 6: Score relative to the expert reference analysis of three selected sessions of each task, by term. Each segment is the factor by which one term changes the score (Eq. (4)), lowering it to the left of 100% and raising it, hatched, to the right. The percentage beside each black hatched bar is the final score.
A score RR close to 100% shows that an analysis is as good as the expert reference analysis across the sealed worlds. Such an analysis recovers the injected values with accurate uncertainties, calibrates its detector and describes the data with its model. A high score supports trust in an analysis under the tested conditions and complements the review of an analysis in a collaboration. The individual terms locate the shortfalls of an analysis. By Eq. (4), the score relative to the reference is a product of one factor per term. Figure 6 shows the segments for three selected sessions of each task.
On H IGGS L EP M ASS , the leading session of Claude Opus 5.5 loses little, mostly in the detector calibration, while its session at P2 undercovers and DeepSeek V4.1 Flash is less precise, with a model that describes the pseudodata poorly. The other H IGGS L EP M ASS sessions that score well likewise lose mainly in the detector calibration. Those that score poorly often fail the goodness-of-fit test as well, so that this test identifies them without the truth.
On L EP C ALIB , nearly all of the loss comes from the accuracy of the corrections themselves, and the quality terms otherwise find no issues. In the kinematic closure, the agreement of the corrected simulation with the pseudodata at the Z\mathrm{Z} peak, the leading Gemini 4 Argon and GPT 6.1 Sol sessions are better than the reference. On J ET C ALIB , the sessions that score above the reference use varying methods, some fitting all corrections together and others following the factorized steps of the CMS calibration [47]. Their gains are in jet energy scale, where their corrections are about as close to the truth as those of the reference but their uncertainties are about half as large. The uncertainties of the reference are dominated by its modeling choices and exceed the variations within the worlds, which leads to lower score. Future worlds produced with alternative generators would add the modeling differences between data and simulation that such uncertainties protect against. GPT 6.1 Sol at P1 loses in pipeline wall time and in the pull piece more than it gains in precision. The terms of the best session of each model and tier are shown in App. A.3.
Figure 7 shows the precision and pull pieces of the measurement term for the sessions that reach a tenth of the reference. The sessions undercover, with a pull piece above the reference’s, far more often than they overcover. Many sessions are more precise than the reference, in particular on J ET C ALIB , but there their larger pulls cost on average more than the precision gains. The agents’ uncertainties are thus often as small as the reference’s, but less often accurate.
The comparison with the injected truths over many sealed worlds makes these observations possible. An agent can deliver a pipeline that runs and reports small uncertainties while its results lie further from the truth than these uncertainties allow, which this comparison shows directly. It also establishes when an analysis is better than the expert reference, which thus serves as a common standard, not an upper limit.
The worlds differ from the nominal simulation mainly in the injected detector response and signal, and worlds with alternative generators would extend the test to the physics modeling. The score depends on the expert reference analysis and on the chosen weights. Future work can vary both, with further references and with the stored terms of every evaluation. All worlds come from the simulation of one experiment, and the extension to other experiments described below would test whether the conclusions hold there.
8 Conclusions and outlook
We have presented the building blocks of HEP-Ex-Bench, a benchmark for autonomous physics analysis. Anchoring the score to the expert reference analysis and to standard statistical tools provides an objective way of evaluating correctness, without expert review of every analysis and without a language-model judge. The score separates accurate analyses from overconfident, biased or failing ones. As agents take on more of the analysis work, we argue that such quantitative and repeatable tests should become common practice in their evaluation.
HEP-Ex-Bench can be extended to further kinds of analysis, such as calibrations of other physics objects and frontier measurements that need multivariate discriminants. Future tasks could also include other experiments, such as ATLAS, LHCb, neutrino detectors and gravitational waves.
Building such tasks remains the work of human experts. Which analyses become tasks, which properties of the worlds vary and how strongly, and what a correct analysis has to deliver are decisions of physics judgment, made once per task and then applied to every agent.
Code and data availability
The benchmark is hosted at https://hep-ex-bench.github.io, the entry point to its datasets, its harness and the scoring of new pipelines. The public worlds and the nominal simulation are released on Hugging Face at https://huggingface.co/hep-ex-bench and archived on Zenodo [48, 49, 50]. They are built from CMS simulation, the public samples of CMS Open Data [12, 13, 14, 15, 16, 17, 18] and private samples with the same detector simulation. The harness that runs pipelines and scores them is open source at https://github.com/hep-ex-bench/hep-ex-bench. The sealed worlds and the code that builds them are withheld by design. A pipeline developed on the public world can be scored on the sealed worlds of this paper on request to the authors.
Acknowledgments
Figure 7: The precision and pull pieces of the measurement term, Eq. (11), of every session of the models of Fig. 4 scoring at least 10% of the expert reference analysis, both relative to the reference, with zz the pull. On the dashed line the measurement term equals the reference’s, below it the session measures better, and the gray lines mark equal measurement terms. A bias and an understated uncertainty both raise the pull piece; only an overstated uncertainty lowers it.
We thank CERN and the CMS Collaboration for the open data and simulation that this work is built on; neither CMS nor CERN endorses the results. This work is supported by the National Science Foundation under Cooperative Agreement PHY-2019786 (The NSF AI Institute for Artificial Intelligence and Fundamental Interactions, http://iaifi.org/). A. N., E. M., and P. H. are supported by the NSF-funded A3D3 Institute (NSF-PHY-2117997), DOE Early Career award FY2021, “Harnessing the Large Hadron Collider with New Insights in Real-Time Data Processing and Artificial Intelligence”, and DOE Genesis award “Agentic AI for Real-time Expedited Discovery from High Complexity EIC Data Streams". D. G. is supported by the Swiss National Science Foundation Postdoc.Mobility Fellowship n 235361. V. B. P. acknowledges financial support from the Real Colegio Complutense at Harvard University Postdoctoral Research Fellowship. MK and JK are supported by the US Department of Energy (DOE) under Grant No. DE-AC02-76SF00515. LH is supported by the Excellence Cluster ORIGINS, which is funded by the Deutsche Forschungsgemeinschaft (DFG, German Research Foundation) under Germany’s Excellence Strategy - EXC-2094-390783311 and BMFTR Project SciFM 05D25WO2. This work used resources available through the National Research Platform (NRP) at the University of California, San Diego. NRP has been developed, and is supported in part, by funding from National Science Foundation, from awards 1730158, 1540112, 1541349, 1826967, 2112167, 2100237, and 2120019, as well as additional funding from community partners. The computations in this paper were also run on the FASRC Cannon cluster supported by the FAS Division of Science Research Computing Group at Harvard University. We thank Anthropic, Google and OpenAI for the free or discounted access to their models through their research programs, which made the development sessions of this work possible.
References
[1] E. A. Moreno, S. Bright-Thonney, A. Novak, D. Garcia, Y. Zhao, and P. Harris, AI Agents Can Already Autonomously Perform Experimental High Energy Physics (2026), arXiv:2603.20179.
[2] E. Gendreau-Distler, J. Ho, D. Kim, L. T. Le Pottier, H. Wang, and C. Yang, Automating High Energy Physics Data Analysis with LLM-Powered Agents, in 39th Annual Conference on Neural Information Processing Systems: Includes Machine Learning and the Physical Sciences (ML4PS) (2025) arXiv:2512.07785.
[3] M. He, F. Jiang, J. Jiao, M. Li, K. Li, Y. Liao, B. Liu, T. Liu, F. Qi, Z. Shang, W. Song, Y. Sun, X. Wang, H. Wang, D. Xiong, C. Yuan, B. Zhang, Z. Zhang, and X. Zhu, DrSai: an agentic AI system toward autonomous physics analysis workflows at BESIII, Science Bulletin 10.1016/j.scib.2026.10.072 (2026), arXiv:2604.22541.
[4] C. Xu, S. Guan, D. Greene, and M.-T. Kechadi, Benchmark Data Contamination of Large Language Models: A Survey (2024), arXiv:2406.04244.
[5] S. Liang, S. Garg, and R. Z. Moghaddam, The SWE-Bench Illusion: When State-of-the-Art LLMs Remember Instead of Reason, in Proceedings of the IEEE/ACM 48th International Conference on Software Engineering: Software Engineering in Practice (2026) pp. 395–405, arXiv:2506.12286.
[6] M. L. Wiemann, L. M. Smith, P. Melchior, S. Mishra-Sharma, A. G. Wilson, P. Izmailov, and C. Cuesta-Lázaro, DiscoverPhysics: Benchma