Automating High Energy Physics Data Analysis with LLM-Powered Agents
On the map: LLM agents and tool use → Web, search, and research agents
Abstract (arXiv)
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 spanning the Gemini and GPT-5 series, the Claude family, and leading open-weight models. While the workflow manager ensures deterministic execution of all analysis steps, the final outputs still show stochastic variation. Although we set the temperature to zero, other sampling parameters (e.g., top-p, top-k) remained at their defaults, and some reasoning-oriented models internally adjust these settings. Consequently, the models do not produce fully deterministic results. This study establishes the first LLM-agent-driven automated data-analysis framework in HEP, enabling systematic benchmarking of model capabilities, stability, and limitations in real-world scientific computing environments. The baseline code used in this work is available at https://huggingface.co/HWresearch/LLM4HEP. This work was accepted as a poster at the Machine Learning and the Physical Sciences (ML4PS) workshop at NeurIPS 2025. The initial submission was made on August 30, 2025.
Key facts. Cited by 10 papers in the map (data through 7 Oct 2026). Placed in Web, search, and research agents, one of 16 directions in LLM agents and tool use. Builds on 13 of its 42 references that are in the map. First posted on arXiv 8 Dec 2025.
Builds on
13 of 42 references.
References · 13
- 2024TinyAgent: Function Calling at the Edgecited by 55
- 2024Hammer: Robust Function-Calling for On-Device Language Models via Function Maskingcited by 53
- 2024CellAgent: An LLM-driven Multi-Agent Framework for Automated Single-cell Data Analysiscited by 38
- 2025Division-of-Thoughts: Harnessing Hybrid Language Model Synergy for Efficient On-Device Agentscited by 24
- 2024Quantum Many-Body Physics Calculations with Large Language Modelscited by 17
- 2024A Language Model for Particle Trackingcited by 10
- 2024Xiwu: A Basis Flexible and Learnable LLM for High Energy Physicscited by 7
- 2015ROOT - A C++ Framework for Petabyte Data Storage, Statistical Analysis and Visualizationcited by 3
- 2024AutoFLUKA: A Large Language Model Based Framework for Automating Monte Carlo Simulations in FLUKAcited by 3
- 2025Empirical Research on Utilizing LLM-based Agents for Automated Bug Fixing via LangGraphcited by 3
- 2024Astro-HEP-BERT: A bidirectional language model for studying the meanings of concepts in astrophysics and high energy physicscited by 2
- 2024Physics Event Classification Using Large Language Modelscited by 1
1 more
Built on by
Citing papers per year: 2026: 10.
10 papers.
- 2026AI Agents Can Already Autonomously Perform Experimental High Energy Physicscited by 10
- 2026Collider-Bench: Benchmarking AI Agents with Particle Physics Analysis Reproductioncited by 6
- 2026GRACE: an Agentic AI for Particle Physics Experiment Design and Simulationcited by 5
- 2026Cross-Domain Transfer with Particle Physics Foundation Models: From Jets to Neutrino Interactionscited by 3
- 2026gwBenchmarks: Stress-Testing LLM Agents on High-Precision Gravitational Wave Astronomycited by 3
- 2026Agentic Hybrid RAG for Evidence-Grounded Muon Collider Analysiscited by 1
- 2026Reasoning4Sciences: Bridging Reasoning Language Models to All Scientific Branchescited by 0
- 2026AgentRivet: an automated system for producing Rivet routines from journal publicationscited by 0
- 2026Machine learning for the LHC physics program: a 2025-2026 stocktakecited by 0
- 2026Machine Learning Meets High-Energy Nuclear Physics: From Pattern Recognition to Physics-Integrated Discoverycited by 0
- 2026Machine Learning Meets High-Energy Nuclear Physics: From Pattern Recognition to Physics-Integrated Discovery8 Oct 2026
- 2026Machine learning for the LHC physics program: a 2025-2026 stocktake26 Sep 2026
- 2026AgentRivet: an automated system for producing Rivet routines from journal publications11 Jun 2026
- 2026Agentic Hybrid RAG for Evidence-Grounded Muon Collider Analysis9 Jun 2026
- 2026Reasoning4Sciences: Bridging Reasoning Language Models to All Scientific Branches31 May 2026
- 2026Collider-Bench: Benchmarking AI Agents with Particle Physics Analysis Reproduction13 May 2026
- 2026gwBenchmarks: Stress-Testing LLM Agents on High-Precision Gravitational Wave Astronomy11 May 2026
- 2026Cross-Domain Transfer with Particle Physics Foundation Models: From Jets to Neutrino Interactions14 Apr 2026
- 2026AI Agents Can Already Autonomously Perform Experimental High Energy Physics20 Mar 2026
- 2026GRACE: an Agentic AI for Particle Physics Experiment Design and Simulation31 Jan 2026
Similar, not cited
Close in wording, no citation either way
- 2026HepScript: A Dual-Use DSL for Human-AI Collaborative Data Analysis Workflows in High-Energy Physics
- 2025Agents of Discovery
- 2026Reliable LLM-Generated Programs for High-Energy Physics Experiments through Graph-Grounded Software Knowledge ↗
- 2026APEXA: Execution-Integrity Enforcement for Multi-Agent LLM Automation of Synchrotron Data Reduction
- 2025CelloAI: Leveraging Large Language Models for HPC Software Development in High Energy Physics
- 2026Schema-Bound LLM Control of Scientific Instrumentation through Model Context Protocol Skills
- 2025Agentic Artificial Intelligence for Multistage Physics Experiments at a Large-Scale User Facility Particle Accelerator
- 2026Is manual software optimization a thing of the past?