arXiv:2609.08802cs.ROSep 2026

Manuscript Offprint

arXiv:2609.08802

Graph-Based Safe Reinforcement Learning for Multi-Agent Systems with Time-Varying Topology

Xiao Sizhe, Dong Lijing, Bai Rui, Tan Xin

Xiao Sizhea^{a}, Dong Lijinga∗^{a*}, Bai Ruia^{a}, Tan Xina^{a}

a^{a} School of Mechanical, Electronic and Control Engineering, Beijing Jiaotong University, Beijing, China

Abstract—This paper presents a graph-based safe multi-agent reinforcement learning (MARL) framework for cooperative navigation with time-varying topology. To address the critical challenge of ensuring safety in environments with sensing constraints, a safety-decoupled mechanism is introduced through a Control Barrier-Like Function (CBLF) action screening layer. This mechanism bridges the gap between discrete LiDAR perception and continuous safety constraints, ensuring that physical safety constraints are strictly satisfied regardless of the learning progress. Building upon this safety foundation, a unified structural architecture is proposed, integrating a attention-based actor and a Graph Attention Network (GAT) centralized critic. The actor utilizes a value vector reconstruction mechanism that explicitly encodes relative geometric relations through a collaborative tracking error matrix, enabling scale-insensitive policy learning under time-varying communication topologies. Meanwhile, the GAT-based critic models evolving interaction structures for accurate global value estimation. The proposed framework is validated on real differential-drive robot platforms, and experimental results demonstrate superior stability and safety in dynamic scenarios with limited fields-of-view.

Index Terms—Safe multi-agent reinforcement learning, cooperative navigation, time-varying topology.

I. INTRODUCTION

MULTI-AGENT cooperative navigation constitutes a fundamental problem in robotics, defined as the process where a group of autonomous agents coordinates their movements to reach designated target locations safely while avoiding collisions with obstacles and peers [1]. This capability forms the operational basis for various real-world applications, including automated logistics, swarm robotics, and unmanned vehicle formations. To address these problems, existing methods have evolved from traditional rule-based algorithms, such as Whale Optimization Algorithm [2] and Particle Swarm Optimization [3], to learning-based algorithms.

In recent years, MARL has been widely adopted in cooperative navigation, enabling agents to acquire decentralized control policies through extensive interactions with the environment [4], [5], [6]. While these algorithms have achieved notable performance in several control tasks by optimizing reward functions and demonstrated efficacy in simulated environments, deploying such methods in physical constraint systems still faces significant challenges. Particularly, handling dynamic coordination structures and providing strict safety guarantees remain difficult, as relying solely on reward penalties for collision avoidance fails to ensure physical safety.

Furthermore, existing safe MARL approaches [7], [8] frequently assume perfect global state information or rely on abstract state-space constraints, which are difficult to map onto actual sensor capabilities. Under realistic sensing constraints, these algorithms may generate control inputs that are geometrically unverifiable and hazardous. To bridge the gap between abstract safety and physical executability, raw distance measurements from LiDAR sensors provide a direct, unmediated geometric representation of the local environment, allowing for rigorous spatial occupancy verification. This limitation necessitates a mechanism that decouples physical safety constraints from the reinforcement learning objective by restricting actions within a geometrically feasible safe region. Furthermore, existing MARL architectures [9], [10], [11] predominantly utilize standard multi-layer perceptrons in both actor and critic networks, which lack the structural modeling capability required for dynamic multi-agent environments. As the adjacency topology varies and the number of observable neighbors fluctuates, these traditional models struggle to accurately encode relative geometric relationships and estimate global values from limited local observations. Consequently, developing a unified collaborative learning framework that simultaneously addresses time-varying graph structures and decoupled physical safety verification remains a primary challenge for deploying multi-agent systems.

To address the aforementioned challenges, a graph-based safe multi-agent reinforcement learning framework is proposed for cooperative navigation with time-varying topology. The main contributions of this work are threefold:

• Geometrically verifiable action screening via LiDAR-based CBLF. This paper introduces the CBLF, a discrete formulation of the traditional CBF, explicitly designed to leverage discrete sensor information. By utilizing this discrete geometric representation, this paper introduce a safety-decoupled action screening mechanism that projects policy outputs onto a feasible safe region at each time step.

• Graph-based collaborative learning architecture. This paper develops an integrated framework featuring an attention-based actor and a GAT-based centralized critic. The actor explicitly encodes relative geometric relations through a value vector reconstruction mechanism, while the critic dynamically models evolving interaction topologies to achieve accurate global value estimation and scale-insensitive policy learning.

• Real-world deployment and Validation. The proposed framework is successfully deployed on physical differential-drive robot platforms. This empirical validation demonstrates the framework's engineering feasibility, cooperative stability under dynamic topologies, and robust safety in scenarios.

The remainder of this article is structured as follows. Section II reviews the related work on multi-agent reinforcement learning and safe navigation. Section III provides the problem formulation for cooperative navigation under dynamic topologies and physical constraints. Section IV details the proposed graph-based safe multi-agent reinforcement learning algorithm, comprising the CBLF-based action screening mechanism and the unified structured collaborative learning framework. Section V presents the experimental analysis and real-world deployment results. Finally, Section VI concludes the paper.