Automating High Energy Physics Data Analysis with LLM-Powered Agents
Eli Gendreau-Distler, Joshua Ho, Dongwon Kim, Luc Tomas Le Pottier, Haichen Wang, and Chengxi Yang

TL;DR
This paper demonstrates how large language model agents can automate complex high energy physics data analysis workflows, combining AI with workflow management for reproducible scientific computing.
Contribution
It introduces the first LLM-agent-driven framework for automated HEP data analysis, integrating AI with reproducible workflow management and benchmarking multiple models.
Findings
LLM agents can autonomously generate and correct analysis code.
Workflow manager ensures deterministic execution despite stochastic model outputs.
Benchmarking reveals variability and limitations across different LLM architectures.
Abstract
We present a proof-of-principle study demonstrating the use of large language model (LLM) agents to automate a representative high energy physics (HEP) analysis. Using the Higgs boson diphoton cross-section measurement as a case study with ATLAS Open Data, we design a hybrid system that combines an LLM-based supervisor-coder agent with the Snakemake workflow manager. In this architecture, the workflow manager enforces reproducibility and determinism, while the agent autonomously generates, executes, and iteratively corrects analysis code in response to user instructions. We define quantitative evaluation metrics including success rate, error distribution, costs per specific task, and average number of API calls, to assess agent performance across multi-stage workflows. To characterize variability across architectures, we benchmark a representative selection of state-of-the-art LLMs…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsComputational Physics and Python Applications · Scientific Computing and Data Management · Machine Learning in Materials Science
