cs.LGApr 8, 2026

TwinLoop: Simulation-in-the-Loop Digital Twins for Online Multi-Agent Reinforcement Learning

Authors: Nan Zhang, Zishuo Wang, Shuyu Huang, Georgios Diamantopoulos, Nikos Tziritas, Panagiotis Oikonomou, Georgios Theodoropoulos

Organizations: Department of Computer Science and Engineering, Southern University of Science and Technology, Shenzhen, China · Research Institute of Trustworthy Autonomous Systems, Southern University of Science and Technology, Shenzhen, China · Department of Informatics and Telecommunications, University of Thessaly, Lamia, Greece

Abstract

Decentralised online learning enables runtime adaptation in cyber-physical multi-agent systems, but when operating conditions change, learned policies often require substantial trial-and-error interaction before recovering performance. To address this, we propose TwinLoop, a simulation-in-the-loop digital twin framework for online multi-agent reinforcement learning. When a context shift occurs, the digital twin is triggered to reconstruct the current system state, initialise from the latest agent policies, and perform accelerated policy improvement with simulation what-if analysis before synchronising updated parameters back to the agents in the physical system. We evaluate TwinLoop in a vehicular edge computing task-offloading scenario with changing workload and infrastructure conditions. The results suggest that digital twins can improve post-shift adaptation efficiency and reduce reliance on costly online trial-and-error.

Figures & tables

Explore similar work

CardsList
  1. Leveraging Human-In-The-Loop Demonstrations in Reinforcement Learning for Digital Twin-Driven Robot Flexibility

    Oct 8, 2026Yuzhu Sun, Mien Van, Nguyen Minh Nhat +2Robotic RLHuman-in-the-Loop AI

  2. Adaptive digital twins for predictive decision-making: Online Bayesian learning of transition dynamics

    Dec 15, 2025Eugenio Varetti, Matteo Torzoni, Marco Tezzele +1System IdentificationDigital Twins

  3. Optimizing Reinforcement Learning Training over Digital Twin Enabled Multi-fidelity Networks

    Mar 9, 2026Hanzhi Yu, Hasan Farooq, Julien Forgeat +4Hierarchical RLDigital Twins