Digital Twins & ZeroConf AI: Structuring Automated Intelligent Pipelines for Industrial Applications

Marco Picone, Fabio Turazza, Matteo Martinelli, Marco Mamei · DOI

Abstract

The increasing complexity of Cyber-Physical Systems (CPS), particularly in the industrial domain, has amplified the challenges associated with the effective integration of Artificial Intelligence (AI) and Machine Learning (ML) techniques. Fragmentation across IoT and IIoT technologies, manifested through diverse communication protocols, data formats and device capabilities, creates a substantial gap between low-level physical layers and high-level intelligent functionalities. Recently, Digital Twin (DT) technology has emerged as a promising solution, offering structured, interoperable and semantically rich digital representations of physical assets. Current approaches are often siloed and tightly coupled, limiting scalability and reuse of AI functionalities. This work proposes a modular and interoperable solution that enables seamless AI pipeline integration into CPS by minimizing configuration and decoupling the roles of DTs and AI components. We introduce the concept of Zero Configuration (ZeroConf) AI pipelines, where DTs orchestrate data management and intelligent augmentation. The approach is demonstrated in a MicroFactory scenario, showing support for concurrent ML models and dynamic data processing, effectively accelerating the deployment of intelligent services in complex industrial settings.

Introduction

The "Industry 4.0" revolution faces a significant hurdle: the friction between heterogeneous physical hardware and sophisticated AI models. Industrial Cyber-Physical Systems (CPS) are notoriously fragmented, with factory floors utilizing a multitude of communication protocols (e.g., MQTT, OPC-UA) and data formats. This creates a "substantial gap" between raw sensor data and high-level AI applications. Currently, most industrial AI deployments are siloed and custom-built for specific machines, leading to high integration costs. Research indicates that data scientists spend 60–80% of their time on data cleaning, and approximately 85% of AI projects fail due to these integration complexities.

The ZeroConf AI Pipeline Architecture

To address these challenges, the authors propose the ZeroConf AI Pipeline, which leverages the Digital Twin (DT) as an active orchestrator rather than just a static 3D model. The framework, built on the White Label Digital Twins (WLDT) Java platform, decouples AI logic from physical hardware to automate data hygiene and model orchestration.

The four stages of the ZeroConf AI pipeline: Representativeness & Contextualization, Memorization, Augmentation, and Replication.

The architecture is structured into three functional layers:

  1. Data Layer (Representativeness & Contextualization): This layer handles "Data Hygiene" by automatically performing outlier removal (using a 7σ threshold), gap-filling, and normalization. It ensures that AI models receive bias-free, high-quality inputs.
  2. DT Core Layer (Memorization): This layer manages the machine's "state" and context (e.g., idle, active, failure), attaching this metadata to the data stream to provide semantic richness.
  3. AI Layer (Augmentation & Replication): This layer serves as the execution engine, supporting the dynamic injection of intelligent functions and the replication of DTs for parallel testing.

Key Innovations: Replication and Semantic Filtering

A core strength of this framework is the Replication pattern. This allows the system to instantiate multiple "shadow" versions of a Digital Twin to test different AI models or hyperparameters on live data simultaneously without interrupting production.

The Replication pattern enables parallel execution of multiple AI models for real-time hyperparameter optimization and A/B testing.

Furthermore, the DT acts as a semantic filter, transforming raw, noisy signals into contextualized data representations. Because the DT tracks the machine's lifecycle (e.g., synchronized vs. out-of-sync), it can autonomously trigger model retraining or ignore data from uncalibrated sensors.

Experimental Validation

The approach was validated using a MicroFactory setup featuring a Fischertechnik Training Factory controlled by a Siemens PLC. High-frequency vibration data was captured via Arduino RP2040 sensors and transmitted via MQTT, while machine state data was pulled via OPC-UA.

Key results include:

  • Automated Hygiene: The system successfully filtered transient spikes that would typically cause standard clustering algorithms to fail.
  • High Performance: The augmentation layer achieved processing speeds of approximately 700 Hz, enabling real-time fault monitoring with minimal latency.
  • Configuration-Free Scaling: The framework allowed a simple clustering routine to be scaled into a resilient anomaly detection system without manual code changes.

Conclusion and Future Work

While the ZeroConf framework significantly reduces deployment effort, the initial architectural mapping of the Digital Twin still requires domain expertise. Future research will focus on testing the framework in large-scale, multi-site industrial deployments and expanding the catalog of general-purpose modules to allow for automated selection based on detected data types.

Summary updated

BibTeX
@misc{picone2025digital,
  author = {Marco Picone and Fabio Turazza and Matteo Martinelli and Marco Mamei},
  title = {{Digital Twins \& ZeroConf AI: Structuring Automated Intelligent Pipelines for Industrial Applications}},
  year = {2025},
  eprint = {2602.04385},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2602.04385},
}
Figure