Papers › Multi-Agent Constrained Policy Optimisation

Multi-Agent Constrained Policy Optimisation

6 Oct 2021arXiv:2110.02793archive 2025-07-28

Shangding Gu, Jakub Grudzien Kuba, Munning Wen, Ruiqing Chen, Ziyan Wang, Zheng Tian, Jun Wang, Alois Knoll, Yaodong Yang

Developing reinforcement learning algorithms that satisfy safety constraints is becoming increasingly important in real-world applications. In multi-agent reinforcement learning (MARL) settings, policy optimisation with safety awareness is particularly challenging because each individual agent has to not only meet its own safety constraints, but also consider those of others so that their joint behaviour can be guaranteed safe. Despite its importance, the problem of safe multi-agent learning has not been rigorously studied; very few solutions have been proposed, nor a sharable testing environment or benchmarks. To fill these gaps, in this work, we formulate the safe MARL problem as a constrained Markov game and solve it with policy optimisation methods. Our solutions -- Multi-Agent Constrained Policy Optimisation (MACPO) and MAPPO-Lagrangian -- leverage the theories from both constrained policy optimisation and multi-agent trust region learning. Crucially, our methods enjoy theoretical guarantees of both monotonic improvement in reward and satisfaction of safety constraints at every iteration. To examine the effectiveness of our methods, we develop the benchmark suite of Safe Multi-Agent MuJoCo that involves a variety of MARL baselines. Experimental results justify that MACPO/MAPPO-Lagrangian can consistently satisfy safety constraints, meanwhile achieving comparable performance to strong baselines.

PaperPDFConference PDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2110.02793")

Code

Syntology Ran 1 of 7 code samples harvested from 3 repositories linked to this paper; 6 have no recorded run. Of those that ran: 1 ran · our draft was wrong.

By repository: official repository: 1 sample from 1 repository, 0 ran; community (archive-listed): 6 samples from 2 repositories, 1 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

chauncygu/multi-agent-constrained-policy-optimisation officialmentioned in papermentioned on GitHubpytorch report
chauncygu/safe-multi-agent-isaac-gym mentioned on GitHubpytorchApache-2.0 report
chauncygu/safe-multi-agent-mujoco mentioned on GitHubMIT report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

7 samples harvested; 1 ran; 0 honoured the contract we drafted; 6 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

1ran · our draft was wrong
6unverified

Licence: 1 of the 7 samples is pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from 3 repositories linked to this paper, official or community; each sample names its own and says which. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

parse_args chauncygu/multi-agent-constrained-policy-optimisation/MACPO/macpo/scripts/train/train_mujoco.py official repository unverified licence not identified · pointer only · 5c01d0fdf71a654e · report
convert chauncygu/safe-multi-agent-robosuite/robosuite/multi_agent/manyrobot_env.py community (archive-listed) ran · our draft was wrong MIT (permissive) · 9d0e7c23576a092f · report
build_obs chauncygu/safe-multi-agent-mujoco/safety_multi_agent_mujoco/safety_ma_mujoco/safety_multiagent_mujoco/obsk.py community (archive-listed) unverified MIT (permissive) · 7b68f30bd920cce1 · report
convert_observation_to_space chauncygu/safe-multi-agent-mujoco/safety_multi_agent_mujoco/safety_ma_mujoco/safety_multiagent_mujoco/mujoco_env.py community (archive-listed) unverified MIT (permissive) · c81e179f5e2f405f · report
get_joints_at_kdist chauncygu/safe-multi-agent-mujoco/safety_multi_agent_mujoco/safety_ma_mujoco/safety_multiagent_mujoco/obsk.py community (archive-listed) unverified MIT (permissive) · b740cb6f99054211 · report
get_parts_and_edges chauncygu/safe-multi-agent-mujoco/safety_multi_agent_mujoco/safety_ma_mujoco/safety_multiagent_mujoco/obsk.py community (archive-listed) unverified MIT (permissive) · 0e771fe439b0e7f9 · report
mass_center chauncygu/safe-multi-agent-mujoco/safety_multi_agent_mujoco/safety_ma_mujoco/safety_multiagent_mujoco/humanoid.py community (archive-listed) unverified MIT (permissive) · 46bd205700c42f20 · report

Tasks

MuJoCoMulti-agent Reinforcement LearningReinforcement LearningReinforcement Learning (RL)reinforcement-learning

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections