arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2512.07785physics.data-ancs.AIcs.LGhep-ex
收藏

利用LLM代理自动化高能物理数据分析

Automating High Energy Physics Data Analysis with LLM-Powered Agents

Department of Physics, University of California, Berkeley, Berkeley, CA 94720, USA(加州大学伯克利分校物理系);Physics Division, Lawrence Berkeley National Laboratory, Berkeley, CA 94720, USA(伯克利国家实验室物理部)

Eli Gendreau-Distler, Joshua Ho, Dongwon Kim, Luc Tomas Le Pottier, Haichen Wang, Chengxi Yang

AI总结:

本研究利用LLM代理自动化高能物理数据分析,通过混合系统结合LLM和Snakemake工作流管理器,评估代理在多阶段工作流中的性能。

摘要:

我们提出了一项原理验证研究,展示了如何利用大型语言模型(LLM)代理来自动化一个具有代表性的高能物理(HEP)分析。使用希格斯玻色子双光子截面测量作为案例研究,结合ATLAS开放数据,我们设计了一个混合系统,该系统结合了基于LLM的监督-编码代理与Snakemake工作流管理器。在该架构中,工作流管理器确保可重复性和确定性,而代理则能够自主生成、执行并迭代纠正分析代码以响应用户指令。我们定义了包括成功率、错误分布、每个特定任务的成本以及平均API调用次数在内的定量评估指标,以评估代理在多阶段工作流中的性能。为了表征不同架构之间的变化性,我们基准测试了一组具有代表性的最新LLM,涵盖Gemini和GPT-5系列、Claude家族以及领先的开源模型。虽然工作流管理器确保了所有分析步骤的确定性执行,但最终结果仍表现出随机变化。尽管我们将温度设置为零,但其他采样参数(如top-p、top-k)仍保持在默认值,且一些以推理为导向的模型会内部调整这些设置。因此,模型不会产生完全确定性的结果。本研究建立了首个基于LLM代理的自动化数据-分析框架在HEP中,使能够在真实世界科学计算环境中系统地基准测试模型的能力、稳定性和限制。本研究中使用的基准代码可在https://huggingface.co/HWresearch/LLM4HEP获取。本工作被接受为在NeurIPS 2025会议上“机器学习与物理科学”(ML4PS)研讨会的海报。初始提交是在2025年8月30日。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑