mlsanityData to 7 Oct 2026

Automating High Energy Physics Data Analysis with LLM-Powered Agents

arXiv 2512.07785 ↗First posted 8 Dec 2025physics.data-an cs.AI cs.LGcited by 10

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

  1. 2024TinyAgent: Function Calling at the Edgecited by 55
  2. 2024Hammer: Robust Function-Calling for On-Device Language Models via Function Maskingcited by 53
  3. 2024CellAgent: An LLM-driven Multi-Agent Framework for Automated Single-cell Data Analysiscited by 38
  4. 2025Division-of-Thoughts: Harnessing Hybrid Language Model Synergy for Efficient On-Device Agentscited by 24
  5. 2024Quantum Many-Body Physics Calculations with Large Language Modelscited by 17
  6. 2024A Language Model for Particle Trackingcited by 10
  7. 2024Xiwu: A Basis Flexible and Learnable LLM for High Energy Physicscited by 7
  8. 2015ROOT - A C++ Framework for Petabyte Data Storage, Statistical Analysis and Visualizationcited by 3
  9. 2024AutoFLUKA: A Large Language Model Based Framework for Automating Monte Carlo Simulations in FLUKAcited by 3
  10. 2025Empirical Research on Utilizing LLM-based Agents for Automated Bug Fixing via LangGraphcited by 3
  11. 2024Astro-HEP-BERT: A bidirectional language model for studying the meanings of concepts in astrophysics and high energy physicscited by 2
  12. 2024Physics Event Classification Using Large Language Modelscited by 1
1 more
  1. 2025HERA: Hybrid Edge-cloud Resource Allocation for Cost-Efficient AI Agentscited by 1

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 10.

10 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2026HepScript: A Dual-Use DSL for Human-AI Collaborative Data Analysis Workflows in High-Energy Physics
  2. 2025Agents of Discovery
  3. 2026Reliable LLM-Generated Programs for High-Energy Physics Experiments through Graph-Grounded Software Knowledge ↗
  4. 2026APEXA: Execution-Integrity Enforcement for Multi-Agent LLM Automation of Synchrotron Data Reduction
  5. 2025CelloAI: Leveraging Large Language Models for HPC Software Development in High Energy Physics
  6. 2026Schema-Bound LLM Control of Scientific Instrumentation through Model Context Protocol Skills
  7. 2025Agentic Artificial Intelligence for Multistage Physics Experiments at a Large-Scale User Facility Particle Accelerator
  8. 2026Is manual software optimization a thing of the past?