Scalable Primal-Dual Actor-Critic Method for Safe Multi-Agent RL with General Utilities

Donghao Ying, Yunkai Zhang, Yuhao Ding, Alec Koppel, Javad Lavaei

Multi-Agent Reinforcement Learning (MARL) is essential for coordinating large-scale networked systems, such as traffic management, power grids, and wireless networks. However, two primary obstacles hinder its practical application: the "curse of dimensionality"—where the state-action space grows exponentially with the number of agents—and the difficulty of satisfying safety constraints when agents' actions are globally coupled. Furthermore, many real-world objectives require maximizing "general utilities" (e.g., entropy for exploration or risk-sensitive measures) rather than simple cumulative rewards.

This paper introduces a fully decentralized, scalable primal-dual actor-critic algorithm that addresses these challenges by exploiting the inherent spatial structure of networked systems.

The Challenge: General Utilities and Global Coupling

Standard RL focuses on maximizing the sum of rewards. In contrast, general utilities are non-linear functions of the state-action occupancy measure. These are vital for tasks like apprenticeship learning or maximizing entropy, but they do not decompose into simple step-by-step rewards.

In a multi-agent setting, this complexity is compounded by global coupling. A safety constraint for a single agent often depends on the joint actions of all agents in the network. Traditional methods often rely on Centralized Training Decentralized Execution (CTDE), which assumes a central controller can observe the entire system during training—an assumption that is often unrealistic for massive, distributed networks.

Methodology: Locality and Shadow Rewards

The authors propose a Scalable Primal-Dual Actor-Critic method built on three core pillars:

1. Shadow Rewards

To handle non-linear general utilities, the method utilizes the gradient of the utility function with respect to the occupancy measure. This "shadow reward" acts as a proxy, transforming the non-linear objective into a form that can be optimized using standard reinforcement learning machinery.

2. Spatial Correlation Decay and $\kappa$-hop Truncation

The most significant innovation is the exploitation of the spatial correlation decay property. In many physical or networked systems, an agent's transitions and rewards are primarily influenced by its immediate neighbors. By implementing $\kappa$-hop truncation, agents only share information and update policies based on data from a local neighborhood of radius $\kappa$. This localization effectively breaks the curse of dimensionality, allowing the algorithm to scale to systems with an arbitrary number of agents.

3. Primal-Dual Optimization

The algorithm employs a Lagrangian framework to manage safety constraints. The "Primal" step (the Actor) updates the policy to maximize the shadow rewards, while the "Dual" step updates Lagrangian multipliers to penalize safety violations. This ensures that agents learn to satisfy constraints even during the training process.

Experimental Evaluation

The method was evaluated against state-of-the-art baselines like MAPPO-Lagrangian in three distinct environments:

  • Synthetic Line Environment: A 10-agent setup demonstrating the basic mechanics of local influence.
  • Pistonball (PettingZoo): A physics-based cooperative task where pistons must coordinate to move a ball. The authors modified this to test local observability.
  • Wireless Access Control: A complex grid of 25 agents and 16 access points where agents must avoid packet collisions while maintaining specific behavioral constraints.

Key Findings

  • Performance and Safety: The proposed method consistently achieved higher episodic returns with fewer constraint violations compared to MAPPO-Lagrangian.
  • The Power of Locality: In Pistonball, experiments showed that a communication radius of $\kappa=1$ (immediate neighbors) performed nearly as well as $\kappa=3$. This suggests that for many tasks, very limited local communication is sufficient for high-level coordination.
  • Theoretical Rigor: The paper provides a convergence rate of $O(T^{-2/3})$ and a sample complexity of $\tilde{O}(\epsilon^{-3.5})$, matching the best-known rates for non-convex-concave saddle-point problems.

Conclusion and Future Directions

This work demonstrates that global coordination in safe MARL does not necessarily require global information. By leveraging the spatial structure of the problem, the Scalable Primal-Dual Actor-Critic method provides a mathematically grounded and computationally efficient path toward deploying RL in large-scale, safety-critical systems.

Future research may explore adaptive communication, where agents dynamically adjust their communication radius $\kappa$ based on the complexity of the current state, and methods to further improve sampling efficiency for even faster deployment.

Summary updated

BibTeX
@inproceedings{ying2023scalable,
  author = {Donghao Ying and Yunkai Zhang and Yuhao Ding and Alec Koppel and Javad Lavaei},
  title = {{Scalable Primal-Dual Actor-Critic Method for Safe Multi-Agent RL with General Utilities}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2023},
  url = {https://openreview.net/forum?id=O63qgtebjH},
}
Figure