RooAgent:基于根的高能物理分析的LLM代理
RooAgent: An LLM Agent for Root-Based High Energy Physics Analysis
AI总结:
本文提出RooAgent,一种通过自然语言接口进行根基于高能物理数据分析的LLM代理,支持两种操作模式,并实现了包括直方图检查、事件选择、动量分布可视化、拟合和显著性估计在内的多种任务。
摘要:
我们介绍了RooAgent作为一种自然语言接口用于基于根的高能物理数据分析的工具包。该工具包提供物理分析功能作为LLM代理响应于普通语言提示时调用的工具。支持两种操作模式:一种基于LangGraph的代理,兼容OpenAI的GPT-4.1通过GitHub Copilot和DeepSeek-V3通过Ollama,另一种是Model Context Protocol服务器,用于与Anthropic Claude CLI(Sonnet~4.6)配合使用。在两种模式中,分析逻辑均通过PyRoot实现,LLM选择工具并提供所需参数。该工具包支持直方图检查、事件选择、动量分布可视化、拟合和显著性估计等任务。我们通过基于pp→ZH(Z→ℓ+ℓ-,H→bar{b})的蒙特卡洛模拟、多任务信号-背景工作流程、玩具统计分析以及应用于ATLAS公开数据(H→ZZ*→4ℓ)的示例来展示RooAgent。该工具包可在PyPI上获得,源代码托管在https://github.com/amanmdesai/RooAgent。
英文摘要:
We present RooAgent as a natural-language interface for Root-based high energy physics data analysis. The package provides physics analysis functions as tools that an LLM agent invokes in response to plain-language prompts. Two operating modes are supported: a LangGraph-based agent compatible with OpenAI's GPT-4.1 via GitHub Copilot and with DeepSeek-V3 via Ollama, and a Model Context Protocol server for use with the Anthropic Claude CLI (Sonnet~4.6). In both modes the analysis logic is implemented in PyRoot and the LLM selects tools and supplies the required arguments. The package supports histogram inspection, event selection, visualisation of kinematic distributions, fitting, and significance estimation, among other tasks. We illustrate RooAgent with tests based on Monte Carlo simulations of $pp\to ZH$ ($Z\to\ell^+\ell^-$, $H\to b\bar{b}$), a multi-task signal-background workflow, a toy statistical analysis, and an application to ATLAS open data for $H\to ZZ^*\to 4\ell$. The package is available on PyPI and the source code is hosted at https://github.com/amanmdesai/RooAgent.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。