Perspective: Why accelerator control systems need an AI integration layer
A new paper, written in the context of the EU-funded TwinRISE project, proposes a novel solution to bridge the gap between AI services and operational facility control systems

AI and machine learning (ML) have had significant success in accelerator physics, from optimising beams to virtually diagnosing faults. However, fewer than 10% of successful solutions developed in labs ever transition to production environments.
This is not because the ML models underperform, but because there is a disconnect between a working proof-of-concept and a real-world operational accelerator, in which decades-old control frameworks, isolated control networks, and strictly enforced operating procedures govern what can happen.
A new paper, written in the context of the EU-funded TwinRISE project and authored by Slovenian industry partner Cosylab, proposes a framework-agnostic abstraction layer to bridge the gap between AI services and operational facility control systems.
Five barriers between lab and operations
The paper identifies five barriers that are often absent from research efforts yet are present during the transition to ML-assisted operations.
The first is data access and quality. Operational monitoring usually uses historical process data that is difficult to use for training a machine learning (ML) system, due to inconsistent timestamping, missing metadata, and archive-specific formats that require pre-processing.
Secondly, the issue of control network security. To allow ML teams to access the control network for training data, validation, and ultimately deployment, this network should be opened safely, which means it must have a well-thought-out architecture.
Thirdly, there is compute environment mismatch. It may be possible to train ML systems on GPU-capable hardware outside the machine’s control network, or even far away from the accelerator facility. Yet, when bringing trained models back into the facility’s control-system environment, there may be problems arising from operating system and library version mismatches.
Fourthly, the problem of framework heterogeneity. facilities operate various control frameworks, such as EPICS, TANGO, OPC-UA, DOOCS, and FESA, and each of them has its unique data model and client library. A model validated using one framework may require significant redevelopment to port onto another framework.
Finally, there is operator trust. Operators take responsibility for delivering a safe and efficient beam, so before they allow an AI-trained system to assume control, they must be confident that the system behaves predictably. This necessitates establishing transparency, creating audit trails, and providing mechanisms for adjusting automation.

The solution of a framework-agnostic abstraction layer
One solution to overcome these five, primary issues could be a framework-agnostic abstraction layer connecting AI tools to operational accelerator control systems.
The framework layer should be non-invasive, making no changes to existing configurations or hardware. The layer should also be modular, with independent connectors that the team can deploy separately. It must also be safe-by-default, allowing read-only access to all process variables while restricting write access via explicit scope.
In the concept set out in the paper, each process variable is a stable identifier paired with an access qualifier that describes how the variable can be read or modified. In this way, operators can access both live and historical data uniformly, regardless of which framework hosts the variables. Dedicated connectors implement each framework’s interface while keeping the access rules independent of the framework.
The paper also identifies safety and human-in-the-loop mechanisms as key features, namely audit logging of actions taken by the AI service, obtaining operator approval before executing an action, and a watchdog monitoring autonomous services for responsiveness.
The next step is for the TwinRISE project to validate the proposed generic abstraction layer against real-world operational scenarios.

The paper drew on EPICS, a widely implemented framework for controlling accelerators and large physics facilities. EPICS’ Input/Output Controllers expose process variables (PVs) via Channel Access and PVAccess, the two of which are the natural integration point for any external software, such as AI services.
Written from Cosylab’s perspective as an industrial partner on TwinRISE, the EU-funded Digital Twin Engine project within the ARTIFACT network, the paper explores how these obstacles can be addressed with an abstraction layer and proposes a design for it. The ARTIFACT programme aims to develop standardised AI tools to integrate with the control systems of diverse accelerators, with minimal facility-level modifications.
Read more:
• Žagar, T. et al. “Bridging the Deployment Gap: Integrating AI into Accelerator Control Systems,” EPJ Research Infrastructures 10, 18 (2026). https://doi.org/10.1007/s41781-026-00173-8
• Cosylab blog summary: Bridging the Gap Between AI Tools and Particle Accelerators