arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2605.01423hep-excs.AIcs.MA
收藏

HepScript:一种双用途DSL,用于高能物理中的人工智能协作数据分析工作流

HepScript: A Dual-Use DSL for Human-AI Collaborative Data Analysis Workflows in High-Energy Physics

Jilin University(吉林大学);Institute of High Energy Physics, CAS(高能物理研究所);University of Chinese Academy of Sciences(中国科学院大学)

Junkun Jiao, Tong Liu, Ke Li, Weimin Song, Yipu Liao, Bolun Zhang, Beijiang Liu, Chang-Zheng Yuan, Yue Sun

AI总结:

HepScript通过双用途DSL提升高能物理数据分析效率,减少人工编写代码93%,AI可自主生成95%的成功执行规范。

摘要:

高能物理数据规模增长推动了对更高分析效率的需求。尽管大语言模型(LLMs)通过代理AI提供自动化路径,但复杂科学工作流需要深度领域知识且与特定实验代码库紧密耦合。为此,我们引入以HepScript为中心的方法,这是一种用于高能物理数据分析工作流的双用途领域特定语言(DSL)。HepScript作为共享形式接口,将高能物理分析逻辑抽象为受约束的语法,既直观易懂于人类专家,又可靠地可由AI代理生成。首先为北京谱仪III(BESIII)实验开发,HepScript隐藏底层软件栈的复杂性,将高层次分析意图转化为低层次、可生产代码。在我们的案例研究中,这种抽象将所需人工编写代码减少了93%。关键的是,HepScript的受约束语法定义了一个可处理的动作空间,使AI代理能够从已发表文献中自主生成核心分析阶段的可执行规范,成功率达95%。我们的工作展示了一种可扩展的路径,朝着人机协作系统迈进,其中形式化指定的DSL充当人类专业知识、AI自动化和生产环境之间的无歧义翻译层,使以前无法解决的自动化问题变得可解。

英文摘要:

The escalating data scale in High-Energy Physics (HEP) fuels a growing aspiration for higher analytical efficiency. While Large Language Models (LLMs) offer a path toward automation via agentic AI, they struggle with complex scientific workflows that require deep domain knowledge and are tightly coupled to experiment-specific codebases. To address this, we introduce a methodology centered on HepScript, a dual-use Domain-Specific Language (DSL) for HEP data analysis workflows. HepScript serves as a shared formal interface, abstracting HEP analysis logic into a constrained syntax that is both intuitive for human experts and reliably generable by AI agents. First developed for the Beijing Spectrometer III (BESIII) experiment, HepScript hides the complexity of the underlying software stack, translating high-level analysis intent into low-level, production-ready code. In our case studies, this abstraction reduces the required human-written code by 93\%. Crucially, HepScript's constrained grammar defines a tractable action space, enabling AI agents to autonomously generate executable specifications for core analysis stages directly from published literature with a 95\% success rate. Our work demonstrates a scalable pathway toward human-AI collaborative systems, where a formally specified DSL acts as an unambiguous translation layer between human expertise, AI automation, and production environment, rendering previously intractable automation problems solvable.

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

↑