HepScript: A Dual-Use DSL for Human-AI Collaborative Data Analysis Workflows in High-Energy Physics
Not on the map. Why?
Abstract (arXiv)
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.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 0 of its 4 references that are in the map. First posted on arXiv 2 May 2026.
Builds on
0 of 4 references.
No references here yet.
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2026AI Agents Can Already Autonomously Perform Experimental High Energy Physics
- 2025Automating High Energy Physics Data Analysis with LLM-Powered Agents
- 2025CelloAI: Leveraging Large Language Models for HPC Software Development in High Energy Physics
- 2025Agentic Artificial Intelligence for Multistage Physics Experiments at a Large-Scale User Facility Particle Accelerator
- 2025Toward Greater Autonomy in Materials Discovery Agents: Unifying Planning, Physics, and Scientists
- 2025Chain of Unit-Physics: A Primitive-Centric Approach to Scientific Code Synthesis
- 2025CLAPP: The CLASS LLM Agent for Pair Programming
- 2026From Experimental Limits to Physical Insight: A Retrieval-Augmented Multi-Agent Framework for Interpreting Searches Beyond the Standard Model