L2B: Learning to Balance the Safety-Efficiency Trade-off in Interactive Crowd-aware Robot Navigation

IROS2020
1OMRON SINIC X Corporation

TL;DR A robot that learns when to ask a crowd to make room and when to detour, raising navigation success in dense crowds.

Overview

This work presents a deep reinforcement learning framework for interactive navigation in a crowded place. Our proposed approach, Learning to Balance (L2B) framework enables mobile robot agents to steer safely towards their destinations by avoiding collisions with a crowd, while actively clearing a path by asking nearby pedestrians to make room, if necessary, to keep their travel efficient. We observe that the safety and efficiency requirements in crowd-aware navigation have a trade-off in the presence of social dilemmas between the agent and the crowd. On the one hand, intervening in pedestrian paths too much to achieve instant efficiency will result in collapsing a natural crowd flow and may eventually put everyone, including the self, at risk of collisions. On the other hand, keeping in silence to avoid every single collision will lead to the agent's inefficient travel. With this observation, our L2B framework augments the reward function used in learning an interactive navigation policy to penalize frequent active path clearing and passive collision avoidance, which substantially improves the balance of the safety-efficiency trade-off. We evaluate our L2B framework in a challenging crowd simulation and demonstrate its superiority, in terms of both navigation success and collision rate, over a state-of-the-art navigation approach.

Video

Collision Avoidance or Path Clearing?

When a robot moves through a dense crowd, it has two options: wait for people to pass and avoid them (passive collision avoidance), or ask nearby people to make room (active path clearing, e.g., by beeping). Neither is good on its own.

Freezing robot problem and interactive navigation Fig. 1: Left: freezing robot problem, where a robot struggles to find a bypass and as a result takes unnecessary maneuvers, ending in a timeout or a collision. Right: our agent interacts with the crowd by actively clearing a path or passively finding a bypass, balancing the safety-efficiency trade-off.
  • Only avoiding keeps everyone safe, but in a crowded scene the robot cannot find a gap. It freezes, takes long detours, and eventually times out or collides (Fig. 1, left).
  • Always intervening gets the robot through quickly at first, but pushing people around collapses the natural crowd flow. Once the crowd has no room left to give way, everyone, including the robot, is at higher risk of collision.

We view this as a social dilemma between the robot and the crowd, treated as a single virtual crowd agent. Mutual cooperation RR is when both sides make reasonable room for each other. Passive avoidance alone leaves the robot with the sucker outcome SS, and aggressive path clearing gives the robot a short-term temptation payoff TT that turns into mutual defection PP once the crowd can no longer make room. L2B learns when to clear a path and when to detour, so the robot stays in RR (Fig. 1, right).

Method

L2B augments the navigation reward with a term RsR_s coming from the crowd. Its first part, weighted by β\beta, penalizes active path clearing when pedestrians are within the beep range r(b)r^{(b)}, discouraging the move from RR to TT. Its second part, weighted by η\eta, penalizes getting closer than a discomfort distance, discouraging the move from RR to SS. Setting η>β\eta > \beta makes getting too close worse than clearing a path, so the policy learns to stay in RR by using both actions sparingly. The value network is trained with V-learning on top of SARL.

Rs(stjn,at)={β (dt−r(b))if dt<r(b)∧bt=1η (dt−ddisc)else if dt<ddisc0otherwiseR_s(s_t^{jn}, a_t) = \begin{cases} \beta \, (d_t - r^{(b)}) & \text{if } d_t < r^{(b)} \wedge b_t = 1 \\ \eta \, (d_t - d_{\rm disc}) & \text{else if } d_t < d_{\rm disc} \\ 0 & \text{otherwise} \end{cases}

To simulate how a crowd reacts to path clearing, pedestrians follow a simplified Emotional Reciprocal Velocity Obstacles (ERVO) model: everyone inside the half-circle of radius r(b)r^{(b)} in front of the robot changes direction when it beeps. The simulator is available at Python-ERVO.

ERVO-based reactive pedestrians Fig. 2: ERVO-based reactive pedestrians. A circle and triangles represent the robot and pedestrians (left). When the robot executes an active path clearing action, all pedestrians within the half-circle of radius r(b) (right) change their directions.

Results

In circle-crossing scenarios with N pedestrians, L2B-SARL keeps its success rate around 90% as the crowd grows, while the SARL baseline drops to 70.0% at N = 20, mainly because of timeouts.

Success, collision and timeout rates, and average navigation time

NMethodsSuccess [%] ↑Collision [%] ↓Timeout [%] ↓Time [s] ↓
20SARL70.018.411.613.50
L2B-SARL (ours)90.6 (+20.6)9.4 (-9.0)0.0 (-11.6)13.85 (+0.35)
15SARL77.86.415.812.43
L2B-SARL (ours)88.0 (+10.2)11.8 (+5.4)0.2 (-15.6)11.60 (-0.83)
10SARL92.24.63.211.91
L2B-SARL (ours)90.4 (-1.8)8.6 (+4.0)0.4 (-2.8)11.31 (-0.60)
5SARL96.63.20.210.09
L2B-SARL (ours)97.8 (+1.2)2.0 (-1.2)0.2 (±0)10.14 (+0.05)
avg.SARL84.18.17.711.98
L2B-SARL (ours)91.7 (+7.6)7.9 (-0.2)0.2 (-7.5)11.72 (-0.26)
Values in parentheses are differences from SARL (percentage points; seconds for Time).

Qualitative results

L2B-SARL (top) clears its path with a few beeps and goes through the crowd, while SARL (bottom) takes long detours around it.

Qualitative results Fig. 3: (a)-(d) L2B-SARL and (e)-(h) SARL for N = 5, 10, 15, 20. Gray points are pedestrians and filled orange circles are the robot. Bigger orange circles are path clearing (beep) actions.

Balancing path clearing

With too small a penalty β\beta, the robot beeps too often, confusing the crowd and causing collisions. L2B learns to mix path clearing and collision avoidance.

Effect of path clearing frequency Fig. 4: (a) Too frequent active path clearing (APC) causes traffic confusion. (b) Our approach balances path clearing and collision avoidance.
Effect of beta Fig. 5: (a) Frequency of active path clearing and (b) success rate for each combination of β and the number of pedestrians N.

Citation

@inproceedings{nishimura2020l2b,
  title={L2B: Learning to Balance the Safety-Efficiency Trade-off in Interactive Crowd-aware Robot Navigation},
  author={Nishimura, Mai and Yonetani, Ryo},
  booktitle={2020 IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS)},
  address={Las Vegas, NV, USA},
  organization={IEEE},
  year={2020}
}