HEP-Ex-Bench: Evaluating Agentic Performance in High Energy Physics Experiment Data Analyses with Sealed Worlds
Authors: Andrzej Novák, Yiyang Zhao, Dolores Garcia, Eric A. Moreno, Jeffrey Krupa, Víctor Bresó-Pla, Samuel Bright-Thonney, Lukas Heinrich, Michael Kagan, Philip Harris
Organizations: Department of Physics, Massachusetts Institute of Technology, Cambridge, MA, USA · NSF AI Institute for Artificial Intelligence and Fundamental Interactions (IAIFI) · SLAC National Accelerator Laboratory, Menlo Park, CA, USA · Department of Physics, Harvard University, Cambridge, MA, USA · Department of Physics, Technical University of Munich, Garching, Germany
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
Figures & tables
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 ).
Truth
Re-run on new data
Uncertainty scored
Full detector simulation
Expert reference
Complete analysis
Other analyses
PaperBench [ 19 ]
×
same data
×
N/A
✓
N/A
N/A
Gendreau-Distler [ 2 ]
×
×
×
real data
×
×
×
Dr.Sai [ 3 ]
×
×
×
✓
×
✓
×
Collider-Bench [ 22 ]
×
×
×
fast sim.
✓
×
searches
MLE-bench [ 23 ]
×
×
×
N/A
✓
N/A
N/A
HEPTABench [ 24 ]
×
×
×
×
×
×
✓
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.
Figure 2: Toy analyses that many sealed worlds expose: the reported Higgs boson mass mH against the injected one on nine worlds, with the expert reference analysis as open diamonds.
Term
wk
What is checked
Tasks
Goodness of fit, Δgof
0.30
model against the pseudodata
fit
Detector calibration, Δcal
0.10
logged detector effects
fit
Truthfulness, Δtruth
0.50
report against a model refit
fit
Kinematic closure, Δclosure
0.50
Z peak after the corrections
cal.
Completeness, Δsyst
0.10
standard systematics modeled
both
Compute, Δcompute
0.10
wall time against the reference
both
Table 2: Quality terms of Eq. ( 3 ) and their weights wk .
Task
Type
Result
App.
H IGGS L EP M ASS
fit
mass mH and signal strength μ
E.1
H IGGS W IDTH
fit
width ratio ξ=ΓH/ΓHSM and on-shell signal strength μon
E.2
L EP C ALIB
cal.
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.
Figure 3: Production of the worlds.
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.
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 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.
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 z 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.
Appendix figures & tables13 assets
Supplementary material from the paper’s appendix.
Appendix
Figure A.1 : Scores of the development sessions of all models, one panel per task, as in Fig. 4 . GPT 6 Luna and Gemini 4 Hydrogen, which are in no other figure, are included.
Figure A.3 : Mean pull and pull width of the reported mH (a) and μ (b) of the best H IGGS L EP M ASS session of each model and tier over its sealed worlds, with ±1 standard error from the number of worlds. An unbiased analysis with accurate uncertainties sits at (0, 1), and the expert reference analysis are marked with open diamonds. The three sessions with the highest scores are labeled. Sessions outside the shown range are left out.
Figure A.4 : Scores for the best sessions of the models in and tiers against the wall time of the development session (left), their cost at list prices (middle) and the evaluation time of the delivered pipeline per world relative to the expert reference analysis (right). We only show the models presented in Fig. 4 . Sessions at or below 3% are drawn faint, and only sessions with a score above zero are shown. The numbers above the cost panels are the tokens used by the named sessions, in millions.
Figure 14
Figure B.1 : Archetypes of an analysis in a toy with one parameter, mH : reported against injected values on nine worlds, with enlarged uncertainties for visibility. Crosses mark the worlds on which Crasher returns no result.
Figure B.2 : Ratio R of the score of each archetype of Fig. B.1 to that of the expert reference analysis on the same worlds, over 2000 sets of ten sealed worlds. The score of the toy contains only the measurement term, e−2Δphys . Memorizer lies far below the range shown.
Figure B.3 : Median and central 68% interval of the ratio R of each archetype in the toy of Fig. B.1 to the expert reference analysis on the same worlds, against the number of sealed worlds N .
Figure B.4 : Chance that an archetype outscores the expert reference analysis on the same worlds, over 20 000 sets of N sealed worlds, where an analysis as good as the reference would be at 50%. A line ends where no set is left.
Figure D.1 : Injected detector effects in one example sealed H IGGS L EP M ASS world, with the largest modification of the momentum scale and resolution and lowered efficiencies. The dimuon mass at the Z peak (a) and the transverse momentum of the e pair (b) in the sealed world (points) are shown over the nominal simulation as stacked histograms, with Z+X the background with misidentified leptons. The tag-and-probe efficiencies [ 57 ] of the medium identification (ID) of \upmu (c) and of the tight ID of e (d) are shown for the nominal world, which is the public world on which analyses are developed (open markers), and for the sealed world (filled markers). The modified response shifts and widens the Z peak, and the lowered efficiencies reduce the number of selected pairs.
Figure E.1 : Expert reference analysis of H IGGS L EP M ASS on one sealed world: the fitted four-lepton mass relative to the injected mH (left) and the 68% and 95% confidence regions in mH and μ relative to the injected values (right).
Figure E.2 : Expert reference analysis of H IGGS W IDTH on one sealed world: the fitted four-lepton mass above 220 GeV at the highest values of the kinematic discriminant (left) and the 68% and 95% confidence regions in ξ and μon relative to the injected values (right).
Figure E.3 : Expert reference analysis of L EP C ALIB on one sealed world: the dimuon mass at the Z peak before and after the corrections (left) and the momentum-scale correction relative to the injected one (right).
Figure E.4 : Expert reference analysis of J ET C ALIB on one sealed world: the Z+jet balance before and after the corrections (left) and the jet energy scale correction relative to the injected one (right).
Large language model-based AI agents are now able to autonomously execute substantial portions of a high energy physics (HEP) analysis pipeline with minimal expert-curated input. Given access to a HEP dataset, an execution framework, and a corpus of prior experimental literature, we find that Claude Code succeeds in automating all stages of a typical analysis: event selection, background estimation, uncertainty quantification, statistical inference, and paper drafting. We argue that the experimental HEP community is underestimating the current capabilities of these systems, and that most proposed agentic workflows are too narrowly scoped or scaffolded to specific analysis structures. We present a proof-of-concept framework, Just Furnish Context (JFC), that integrates autonomous analysis agents with literature-based knowledge retrieval and multi-agent review, and show that this is sufficient to plan, execute, and document a credible high energy physics analysis. We demonstrate this by conducting analyses on open data from ALEPH, DELPHI, and CMS to perform electroweak, QCD, and Higgs boson measurements. We present two of those results in a condensed short paper form -- a CMS Run1 Open Data H→τ+τ− to demonstrate performance on a well-established result, and the first Lund plane measurement on LEP data -- a genuinely novel result and, to our knowledge, the first produced autonomously by an AI agent. Rather than replacing physicists, these tools promise to offload the repetitive technical burden of analysis code development, freeing researchers to focus on physics insight, truly novel method development, and rigorous validation. Given these developments, we advocate for new strategies for how the community trains students, organizes analysis efforts, and allocates human expertise.
Eric A. Moreno, Samuel Bright-Thonney, Andrzej Novak +2
Department of Physics, Massachusetts Institute of Technology · NSF AI Institute for Artificial Intelligence and Fundamental Interactions · CERN
Autonomous language-model agents are increasingly evaluated on long-horizon tool-use tasks, but existing benchmarks rarely capture the complexity and nuance of real scientific work. To address this gap, we introduce Collider-Bench, a benchmark for evaluating whether LLM agents can reproduce experimental analyses from the Large Hadron Collider (LHC) using only public papers and open scientific software. Such analyses are often difficult to reproduce because the public toolchain only approximates the software used internally by the experimental collaborations, while the published papers inevitably omit implementation details needed for a faithful reconstruction. Agents must therefore rely on physical reasoning, domain knowledge, and trial-and-error to fill these gaps. Each task requires the agent to turn a published analysis into an executable simulation-and-selection pipeline and submit predicted collision event yields in specified signal regions. These predictions are evaluated with standard histogram metrics that provide continuous fidelity scores without a hand-written rubric. We also report the computational cost incurred by each agent per task. Finally, we evaluate the codebase and full session trace using an LLM judge to catch qualitative failure modes such as fabrications, hallucinations and duplications. We release an initial set of tasks drawn from LHC searches, together with a containerized sandbox and event simulation tools. We evaluate across a capability ladder of general purpose coding agents. Our results show that on average no agent reliably beats the physicist-in-the-loop solution.
Darius A. Faroughy, Sofia Palacios Schweitzer, Ian Pang +2
New High Energy Theory Center Department of Physics & Astronomy Rutgers University · Faculty of Computing & Data Sciences Boston University
We present an agentic measurement of the thrust distribution in e+e− collisions at s=91.2 GeV using ALEPH archived data. This work was carried out through an AI agent-physicist collaboration, using interactive natural-language prompting of Anthropic Claude and OpenAI Codex. Under physicist guidance, the agents wrote and executed all analysis code and drafted the majority of the text included in this paper. A fully-corrected thrust spectrum is obtained via Iterative Bayesian Unfolding and Monte Carlo based corrections. The principal contribution of this work is the demonstration of the agentic analysis, with thrust serving as a benchmark observable for the method. Dedicated precision measurements of thrust are reported in the community elsewhere. This work represents a step toward a theory-experiment loop in which AI agents assist with experimental measurements and theoretical calculations, and synthesize insights by comparing the results, thereby accelerating the cycle that drives discovery in fundamental physics. Our work suggests that precision physics, leveraging the open LEP data and advanced theoretical landscape, provides an ideal testing ground for developing AI agent systems for scientific applications.
Anthony Badea, Marcello Maggi, Christopher McGinn +9
University of Chicago, Enrico Fermi Institute, 60637 IL, USA · Istituto Nazionale di Fisica Nucleare, Bari Division, BA 70126, Italy · Vanderbilt University, Nashville, Tennessee, USA +1