VMAS: A Vectorized Multi-Agent Simulator for Collective Robot Learning

Matteo Bettini, Ryan Kortvelesy, Jan Blumenkamp, Amanda Prorok
7/7/2022
cs.ROcs.LGcs.MA

Official code: proroklab/VectorizedMultiAgentSimulator (597 stars, GPL-3.0, PyTorch, last commit 2026-02-08). 1 more implementation below.

Abstract

While many multi-robot coordination problems can be solved optimally by exact algorithms, solutions are often not scalable in the number of robots. Multi-Agent Reinforcement Learning (MARL) is gaining increasing attention in the robotics community as a promising solution to tackle such problems. Nevertheless, we still lack the tools that allow us to quickly and efficiently find solutions to large-scale collective learning tasks. In this work, we introduce the Vectorized Multi-Agent Simulator (VMAS). VMAS is an open-source framework designed for efficient MARL benchmarking. It is comprised of a vectorized 2D physics engine written in PyTorch and a set of twelve challenging multi-robot scenarios. Additional scenarios can be implemented through a simple and modular interface. We demonstrate how vectorization enables parallel simulation on accelerated hardware without added complexity. When comparing VMAS to OpenAI MPE, we show how MPE's execution time increases linearly in the number of simulations while VMAS is able to execute 30,000 parallel simulations in under 10s, proving more than 100x faster. Using VMAS's RLlib interface, we benchmark our multi-robot scenarios using various Proximal Policy Optimization (PPO)-based MARL algorithms. VMAS's scenarios prove challenging in orthogonal ways for state-of-the-art MARL algorithms. The VMAS framework is available at https://github.com/proroklab/VectorizedMultiAgentSimulator. A video of VMAS scenarios and experiments is available at https://youtu.be/aaDRYfiesAY.

View on arXivView PDF

Code Implementations(2)

PyTorchGPL-3.0

VMAS is a vectorized differentiable simulator designed for efficient Multi-Agent Reinforcement Learning benchmarking. It is comprised of a vectorized 2D physics engine written in PyTorch and a set of challenging multi-robot scenarios. Additional scenarios can be implemented through a simple and modular interface.

597113TeX, PythonMay 12, 20228 months agoGPL-3.0
gymgym-environmentmarlmulti-agentmulti-agent-learning+15 more

此项目以项目`https://github.com/proroklab/VectorizedMultiAgentSimulator`为基础,参考论文《VMAS: A Vectorized Multi-Agent Simulator for Collective Robot Learning》,尝试复现论文中balance场景提到的 CPPO、MAPPO、IPPO 三种MARL算法,并尝试改进 IPPO 算法。

10Dec 10, 20241 years ago

Similar Papers

Cite this paper

@article{bettini2022vmas,
  title  = {VMAS: A Vectorized Multi-Agent Simulator for Collective Robot Learning},
  author = {Matteo Bettini and Ryan Kortvelesy and Jan Blumenkamp and Amanda Prorok},
  year   = {2022},
  eprint = {2207.03530},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2207.03530v2}
}

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/2207.03530.svg)](https://codeofpaper.com/paper/2207.03530)

Discussion