Safe Model-Based Multi-Agent Mean-Field Reinforcement Learning

Matej Jusup, Barna Pásztor, Tadeusz Janik, Kenan Zhang, Francesco Corman +2 more
6/29/2023
cs.LGcs.AIcs.MA

Official code: mjusup1501/safe-m3-ucrl (8 stars, BSD-3-Clause, last commit 2025-03-08).

Abstract

Many applications, e.g., in shared mobility, require coordinating a large number of agents. Mean-field reinforcement learning addresses the resulting scalability challenge by optimizing the policy of a representative agent interacting with the infinite population of identical agents instead of considering individual pairwise interactions. In this paper, we address an important generalization where there exist global constraints on the distribution of agents (e.g., requiring capacity constraints or minimum coverage requirements to be met). We propose Safe-M$^3$-UCRL, the first model-based mean-field reinforcement learning algorithm that attains safe policies even in the case of unknown transitions. As a key ingredient, it uses epistemic uncertainty in the transition model within a log-barrier approach to ensure pessimistic constraints satisfaction with high probability. Beyond the synthetic swarm motion benchmark, we showcase Safe-M$^3$-UCRL on the vehicle repositioning problem faced by many shared mobility operators and evaluate its performance through simulations built on vehicle trajectory data from a service provider in Shenzhen. Our algorithm effectively meets the demand in critical areas while ensuring service accessibility in regions with low demand.

View on arXivView PDF

Code Implementations(1)

BSD-3-Clause
81PythonJun 19, 20231 years agoBSD-3-Clause

Similar Papers

Cite this paper

@article{jusup2023safe,
  title  = {Safe Model-Based Multi-Agent Mean-Field Reinforcement Learning},
  author = {Matej Jusup and Barna Pásztor and Tadeusz Janik and Kenan Zhang and Francesco Corman and Andreas Krause and Ilija Bogunovic},
  year   = {2023},
  eprint = {2306.17052},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2306.17052v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2306.17052.svg)](https://codeofpaper.com/paper/2306.17052)

Discussion