NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Improving the Generalization of Unseen Crowd Behaviors for Reinforcement Learning based Local Motion Planners

Wen Zheng Terence Ng, Jianda Chen, Sinno Jialin Pan, Tianwei ZhangICRA 2024 · DOI

Abstract

Deploying a safe mobile robot policy in scenarios with human pedestrians is challenging due to their unpredictable movements. Current Reinforcement Learning-based motion planners rely on a single policy to simulate pedestrian movements and could suffer from the over-fitting issue. Alternatively, framing the collision avoidance problem as a multi-agent framework, where agents generate dynamic movements while learning to reach their goals, can lead to conflicts with human pedestrians due to their homogeneity. To tackle this problem, we introduce an efficient method that enhances agent diversity within a single policy by maximizing an information-theoretic objective. This diversity enriches each agent's experiences, improving its adaptability to unseen crowd behaviors. In assessing an agent's robustness against unseen crowds, we propose diverse scenarios inspired by pedestrian crowd behaviors. Our behavior-conditioned policies outperform existing works in these challenging scenes, reducing potential collisions without additional time or travel.

Introduction

Local motion planning—the ability of a robot to navigate a crowded environment without collision—remains a fundamental challenge in robotics. While Reinforcement Learning (RL) has shown promise in developing reactive planners, these models often struggle in real-world deployments where human behavior is highly varied and unpredictable.

Conceptual illustration of diverse agent behaviors. By conditioning the policy on different latent variables, agents learn distinct navigation strategies to reach the goal.

Most current RL-based planners fall into two categories that limit their generalization: single-agent training against fixed, non-reactive paths, or multi-agent training where agents share a policy and converge to a homogeneous, "average" behavior. In reality, crowds are composed of individuals with different "personalities"—some are aggressive, others cautious. If a robot trains only against a standardized crowd, it often fails when encountering the diversity of real-world human movement.

Methodology

The proposed framework introduces a Behavior-Conditioned Policy $\pi_\theta(a|s, z)$, where $z$ is a discrete behavior token representing a specific "personality." To ensure these tokens translate into distinct physical behaviors, the authors employ an information-theoretic objective to maximize the Mutual Information between the behavior token $z$ and the state-action pair $(s, a)$.

The proposed behavior-conditioned RL framework. It utilizes two discriminators to calculate an intrinsic reward based on the mutual information between behavior tokens and state-action pairs.

The Diversity Objective

The optimization objective is defined as: $$\mathcal{F}(\theta) = I((S,A); Z) - I(S; Z)$$

Where:

  • $I((S,A); Z)$ encourages action diversity, ensuring that a specific behavior token leads to identifiable actions.
  • $-I(S; Z)$ acts as a regularizer to prevent agents from simply occupying different spatial regions to be "different." It forces them to exhibit distinct behaviors even when in identical states.

This objective is implemented via intrinsic rewards. A discriminator network attempts to identify the behavior token $z$ from the agent's actions; the agent receives a "diversity bonus" ($r_t^{int}$) when its actions make its token easily identifiable. This bonus is combined with the standard task reward ($r_t$) for goal reaching and collision avoidance.

Experimental Setup and Benchmarking

Training was conducted in the Stage simulator for scale, with Gazebo used for 3D validation. To rigorously test generalization, the researchers developed an "Unseen Crowd" Testing Suite featuring six scenarios never encountered during training:

  1. Non-homogeneous (NH): Pedestrians use unique policy seeds.
  2. Invisible (IN): Pedestrians are non-reactive to the robot.
  3. Variability (VA): Pedestrians move at random speeds.
  4. Sub-optimal (SO): Pedestrians use partially trained policies.
  5. Velocity-obstacle (VO): Pedestrians use geometric collision avoidance.
  6. Social Force (SF): Pedestrians follow physics-based social models.

Results and Discussion

The behavior-conditioned policy demonstrated significant improvements in robustness and efficiency:

  • Success Rate: In the unseen crowd suite, the proposed method achieved an average success rate of 81%, a substantial increase over the 55% achieved by standard multi-agent baselines.
  • Navigation Efficiency: Unlike "Safe" policies that rely on large, conservative safety buffers, this method reached goals without excessive travel time or distance. Conservative policies often took more than double the time to navigate the same scenes.
  • Scalability: The model maintained high performance as crowd density increased from 5 to 20 agents, suggesting the learned diversity effectively prepares the robot for complex, dense environments.

Research indicated that $M=5$ behavior tokens provided the optimal balance between diversity and training stability. While more tokens could theoretically increase diversity, they also introduced noise that hindered policy convergence.

Conclusion

By forcing a single RL policy to generate a wide variety of behaviors during training, robots can be better prepared for the unpredictability of human crowds. This information-theoretic approach to diversity significantly closes the generalization gap in local motion planning. Future work will explore extending these discrete behavior tokens into a continuous behavior space and integrating more complex static obstacles into the training environments.

Paper Citation: Ng, W. Z. T., Chen, J., Pan, S. J., & Zhang, T. (2024). Improving the Generalization of Unseen Crowd Behaviors for Reinforcement Learning based Local Motion Planners. arXiv preprint arXiv:2410.12232v1.

Summary updated

BibTeX
@inproceedings{ng2024improving,
  author = {Wen Zheng Terence Ng and Jianda Chen and Sinno Jialin Pan and Tianwei Zhang},
  title = {{Improving the Generalization of Unseen Crowd Behaviors for Reinforcement Learning based Local Motion Planners}},
  booktitle = {IEEE International Conference on Robotics and Automation},
  year = {2024},
  doi = {10.1109/icra57147.2024.10610641},
}
Figure