arXiv:2610.13737cs.LGOct 2026Cited by 1 paper on PaperVantage

Manuscript Offprint

arXiv:2610.13737

SafeDiSTL: Decomposing Joint Constraints for Safe Multi-Agent Reinforcement Learning

Hongrui Zheng, Aditya Singh, Rahul Mangharam

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Cooperative multi-agent tasks often impose constraints on a shared objective or collective safety. A team level violation cost function can measure this constraint outcome, but does not distinguish which agents' actions most strongly influence that violation. We present SafeDiSTL, a constrained multi-agent reinforcement learning framework that allows for credit assignment even with joint constraint measurements. We use Signal Temporal Logic (STL) robustness to measure episode-level violation through running-maximum cost increments. Smooth full-episode robustness and differentiable dynamics provide action sensitivities, which allocate each cost increment across agents at the same decision time. These sensitivities account for delayed effects when weighting agents' shares of each cost increment. We study the framework in cooperative payload transport, connected navigation, and networked traffic control tasks. SafeDiSTL achieves 1.6-5.1x the safe-success rate in transport, improves navigation safe-success by 11.1%, and delivers 50-68% more throughput in traffic when compared to constrained baselines. Results demonstrate a strong improvement of the learned policy in dealing with shared constraint while retaining the performance of unconstrained policies.

Figure

(b) Uniform rollout

(c) Attributed rollout

Figure 1: An illustration of the responsibility attribution mechanism. (a) A shared payload approaches an obstacle and incurs a constraint violation. (b) Uniform responsibility allocation produces conflicting corrections and agents stay deadlocked. (c) Agent-specific attribution enables coordinated obstacle avoidance.

1 Introduction

Recent developments in multi-agent autonomous systems and their applications in aerial swarms, intelligent transportation networks, and automated warehouses have made multi-agent coordination a central problem. In these environments, multiple agents must operate in shared spaces and achieve collective objectives, including collaborative manipulation, routing, and formation control, while satisfying system constraints such as connectivity and collision avoidance. Constraints in single-agent RL are commonly formulated with Constrained Markov Decision Processes (CMDPs) [2]. Policies are then optimized by reformulating the problem as a primal-dual optimization between reward and costs. Constrained Policy Optimization (CPO) [1] balances updates with more reward or cost consideration using a Lagrangian multiplier. Multi-agent Reinforcement Learning (MARL) is a popular paradigm for learning decentralized agent policies in multi-agent problems. Existing work extends CMDP formulations to MARL [11], although generally assuming well-defined, decoupled cost functions for individual agents. However, a shared constraint definition is important in multi-agent settings. For example, if multiple robots carry a shared rigid payload, a crash between the payload and obstacles is hard to attribute to individual agents. Consider the example shown in Figure 1: three warehouse robots collaboratively transport a large payload to a designated delivery location. At a given point t3t_{3}, one robot might be required to push in a direction such that the payload avoids the obstacle (green agent pushing up), while the other two maintain progress toward the goal (yellow and blue push right). When encountering a violation such as that in Figure 1.(a), assigning equal responsibility to all agents leads to a deadlock (Figure 1.(b)) without addressing the asymmetrical desired updates to individual agents. This shows that a shared constraint definition alone is not enough. It tells the team of agents how much they violated, but without explicit learning signals to individual agents on how to update their policies. Without careful decomposition, the introduction of a uniform penalty for all agents will hinder task learning progress. If an agent makes significant contribution towards the team's task progress but not towards violating constraint at a timestep, that individual transition should not incur a penalty in the policy learning process.

Credit assignment is an active area of research in MARL. Counterfactual Multi-Agent Policy Gradients (COMA) [9] established counterfactual reasoning for agents on task reward. Existing work [11, 14, 17] considers both individual and shared constraints in MARL problems, but leaves much to be desired in the effective decomposition of the constraint objective. This motivates the need for a principled mechanism to decompose the shared constraint among agents while accounting for the changing individual responsibilities to enable effective collaboration. Signal Temporal Logic (STL) [16] is a compact formal specification language that expresses logical and temporal requirements over trajectories. The quantitative measure called robustness [7, 8] assigns the margin of success to a trajectory instead of a binary signal. The biggest advantage of using STL is that differentiating its robustness through the full trajectory captures how individual actions influence subsequent constraint outcomes. We use these gradients to allocate cost increments across agents at its original timestep, while cost advantages propagate learning signals to earlier decisions. For the example in Figure 1, we express the shared responsibility as "Always no collision between payload and obstacle". Differentiable dynamics help achieve this by propagating individual agents' influence to joint state space trajectories, and allowing back propagation from the margin of violation to decisions. As shown in Figure 1.(c), the green agent learns to subtly change its behavior by pushing upward rather than to the right, resulting in a successful avoidance of the obstacle. In summary, the contributions of this work are as follows:

  1. We introduce an agent- and time-specific attribution mechanism that decomposes shared team constraints using STL robustness gradients while preserving the total cost.

  2. We develop SafeDiSTL, a constrained MARL framework that incorporates these attributed costs into policy optimization for decentralized execution.

  3. We evaluate SafeDiSTL on three tasks, comparing task performance and constraint satisfaction with other baselines.

References (9)