Skip to main content
QUICK REVIEW

[Paper Review] SOCIALGYM 2.0: Simulator for Multi-Agent Social Robot Navigation in Shared Human Spaces

Zayne Sprague, Rohan Chandra|arXiv (Cornell University)|Mar 9, 2023
Evacuation and Crowd DynamicsEngineering3 citations
TL;DR

SocialGym 2.0 is a multi-agent reinforcement learning (MARL)-based simulator for training socially compliant robot navigation in complex, dynamic human environments such as doorways, hallways, and roundabouts. Built on PettingZoo and Stable Baselines3, it supports customizable observation and reward functions, enables benchmarking of MARL algorithms, and demonstrates superior performance in multi-agent navigation with minimal collisions, especially when high-level planning is used over reactive local control.

ABSTRACT

We present SocialGym 2, a multi-agent navigation simulator for social robot research. Our simulator models multiple autonomous agents, replicating real-world dynamics in complex environments, including doorways, hallways, intersections, and roundabouts. Unlike traditional simulators that concentrate on single robots with basic kinematic constraints in open spaces, SocialGym 2 employs multi-agent reinforcement learning (MARL) to develop optimal navigation policies for multiple robots with diverse, dynamic constraints in complex environments. Built on the PettingZoo MARL library and Stable Baselines3 API, SocialGym 2 offers an accessible python interface that integrates with a navigation stack through ROS messaging. SocialGym 2 can be easily installed and is packaged in a docker container, and it provides the capability to swap and evaluate different MARL algorithms, as well as customize observation and reward functions. We also provide scripts to allow users to create their own environments and have conducted benchmarks using various social navigation algorithms, reporting a broad range of social navigation metrics. Projected hosted at: https://amrl.cs.utexas.edu/social_gym/index.html

Motivation & Objective

  • To address the lack of realistic, configurable, and extensible simulators for training multi-agent social robots in complex, constrained human environments.
  • To enable researchers to train and evaluate multi-agent reinforcement learning policies for socially compliant navigation in dynamic, geometrically constrained spaces.
  • To provide a flexible, accessible platform with ROS integration, Docker packaging, and support for rapid experimentation with observation and reward functions.
  • To benchmark diverse social navigation algorithms and identify optimal configurations for success in multi-agent scenarios.
  • To close the sim-to-real gap by modeling realistic human-like dynamics and kinematic constraints in multi-agent interactions.

Proposed method

  • The simulator is built on the PettingZoo MARL library and integrates with the Stable Baselines3 RL framework for scalable policy training.
  • It models multiple autonomous agents with configurable kinodynamic constraints (e.g., Ackermann steering, unicycle dynamics) and supports diverse robot types.
  • The environment uses a hybrid planning architecture: high-level policy decisions (GO/STOP) are executed via a low-level local planner with trajectory optimization.
  • Observation and reward functions are fully customizable, allowing users to experiment with features like goal distance, collision penalties, and entropy regularization.
  • The platform supports ROS messaging, enabling integration with real-world navigation stacks, and is packaged in a Docker container for easy deployment.
  • It includes pre-built environments such as doorways, hallways, intersections, and roundabouts, with support for generating custom scenarios via scripts.
Figure 1 : SocialGym 2.0 is a multi-agent navigation simulator for social robot navigation. SocialGym 2.0 builds on top of the PettingZoo [ 3 ] multi-agent reinforcement learning library and interfaces with a low-level planner capable of global path planning and trajectory optimization for multiple
Figure 1 : SocialGym 2.0 is a multi-agent navigation simulator for social robot navigation. SocialGym 2.0 builds on top of the PettingZoo [ 3 ] multi-agent reinforcement learning library and interfaces with a low-level planner capable of global path planning and trajectory optimization for multiple

Experimental results

Research questions

  • RQ1How does high-level planning (GO/STOP actions) compare to reactive local control in multi-agent navigation across complex environments?
  • RQ2What impact do different observation and reward function configurations have on the success rate and collision behavior of MARL-trained agents?
  • RQ3Can SocialGym 2.0 effectively support training and benchmarking of diverse social navigation policies in constrained, multi-agent settings?
  • RQ4How do varying network architectures (MLP vs. LSTM) and hyperparameters affect policy performance in multi-agent navigation tasks?
  • RQ5To what extent does the inclusion of kinodynamic constraints and configurable robot dynamics improve policy generalization and realism?

Key findings

  • The 'Only Local' baseline, relying solely on reactive collision avoidance, failed to navigate successfully in environments with five or more agents, except in open spaces, highlighting the necessity of high-level planning.
  • The 'Only Local' baseline had the highest average collision rate across all environments, confirming that reactive control alone is insufficient for complex social navigation.
  • Including a collision penalty in the reward function led to better scalability with increasing agent counts, despite a surprising initial performance drop in some configurations.
  • The LSTM-based policy with a 256-dimensional hidden layer achieved the highest success rate (76%) in the hyperparameter ablation study, outperforming other architectures and widths.
  • The baseline configuration—using goal distance, collision penalty, existence penalty, and entropy-based rewards—provided strong performance and served as a robust starting point for further tuning.
  • The simulator enables rapid experimentation with observation and reward functions, as demonstrated by the ability to quickly identify high-performing configurations across multiple scenarios.
Figure 2 : SocialGym 2.0 Architecture Overview: The top-level interface consists of a Pettingzoo [ 3 ] environment and acts as the primary interface between the learning agents (policy) and simulator. This interface updates the agents’ action selection policy based on the current observation in the
Figure 2 : SocialGym 2.0 Architecture Overview: The top-level interface consists of a Pettingzoo [ 3 ] environment and acts as the primary interface between the learning agents (policy) and simulator. This interface updates the agents’ action selection policy based on the current observation in the

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.