Optimal-Horizon Social Robot Navigation in Heterogeneous Crowds

Jiamin Shi, Haolin Zhang, Yuchen Yan, Shitao Chen, Jingmin Xin, Nanning ZhengarXiv 2026

TL;DR

This paper introduces a social robot navigation framework that dynamically adjusts its Model Predictive Control (MPC) prediction horizon based on the surrounding crowd's social behavior. By combining a spatio-temporal Transformer to infer pedestrian cooperation and a reinforcement learning policy to select the optimal planning horizon, the framework successfully mitigates the "Frozen Robot Problem" in dense, heterogeneous crowds.

What Problem Does This Paper Address?

Navigating autonomous robots through dense human crowds requires a delicate balance between efficiency and safety. Model Predictive Control (MPC) is a popular choice for this task due to its real-time replanning capabilities. However, traditional MPC navigation frameworks rely on a fixed prediction horizon (how far ahead the robot looks into the future).

This rigidity causes major issues in dynamic environments:

  • Short horizons lead to myopic, purely reactive decisions that fail to anticipate complex human interactions.
  • Long horizons can make the robot overly conservative when faced with human uncertainty, causing the notorious Frozen Robot Problem (FRP), where the robot completely stops because it assumes every path is blocked.

Furthermore, most existing methods treat all pedestrians as homogeneous obstacles, ignoring the reality that some people are cooperative (willing to move aside) while others are non-cooperative.

Methods

The authors propose an Optimal-Horizon Social Navigation framework that treats the planning horizon as an online decision variable conditioned on the social context. The architecture is split into three distinct stages:

Overview of the Optimal-Horizon Social Robot Navigation framework.
  1. Stage I: Pedestrian Cooperation Prediction: A spatio-temporal Transformer processes local pedestrian trajectory histories. It uses a learnable interaction selector (via Gumbel-Softmax) to construct a sparse interaction graph and classifies whether nearby pedestrians are cooperative or non-cooperative.
  2. Stage II: Reinforcement Learning for Dynamic Horizon Selection: The inferred social attributes are embedded into a spatio-temporal graph. A Proximal Policy Optimization (PPO) reinforcement learning agent evaluates this graph to select the optimal MPC prediction horizon ($h_t$) at each time step.
  3. Stage III: Socially-Aware MPC: The selected horizon and cooperation probabilities are fed into an MPC planner. The planner utilizes Discrete-time Control Barrier Functions (DTCBFs) to enforce safety constraints. Crucially, the safety margins dynamically adapt—allowing closer proximity to cooperative individuals while maintaining a conservative buffer around non-cooperative ones.

Datasets

The framework was trained and evaluated by extending CrowdNav, a popular 2D pedestrian simulation environment.

  • The simulation was modified to introduce partial occlusions, a limited 5-meter circular sensing range, and heterogeneous pedestrian behaviors (mixing cooperative and non-cooperative agents following Optimal Reciprocal Collision Avoidance, or ORCA, strategies).
  • Evaluation was performed across 250 random unseen trials spanning low, medium, and high-interaction crowd scenarios.

Key Insights and Ideas

  • No Single Horizon Fits All: As demonstrated in the paper's preliminary analysis, the optimal prediction horizon shifts dramatically depending on crowd behavior. Low-interaction (non-cooperative) environments favor longer horizons to find rare safe paths, whereas high-interaction environments achieve peak success rates with shorter, more agile horizons.
Fig. 1: Navigation success rates under fixed MPC prediction horizons, averaged over 250 random trials. Solid lines indicate the average performance, while vertical error bars represent performance variations across different pedestrian behavior modes. Note that the low-interaction scenario lacks error bars as all pedestrians are consistently non-cooperative, resulting in a single behavior mode.
  • Horizon as a Social Variable: Instead of tuning the prediction horizon for computational efficiency (as is common in autonomous racing), this paper reframes the horizon as a tool to modulate robot assertiveness based on human cooperation.
  • Asymmetric Safety Margins: By explicitly classifying human intent, the robot avoids unnecessary yielding around cooperative humans, allowing it to weave through dense crowds smoothly without triggering the Frozen Robot Problem.

Key Results

The proposed method was benchmarked against classic reactive methods (ORCA, Social Force) and learning-based baselines (GST-RL, DS-RNN):

  • Higher Success Rate: Achieved a success rate of 96.4% in high-interaction scenarios, outperforming the best baseline (GST-RL) by 6.8%.
  • Faster Navigation: Reduced average navigation time by 19% (dropping from 12.21 seconds to 9.88 seconds compared to GST-RL).
  • Drastically Fewer Deadlocks: Maintained an exceptionally low timeout rate of just 0.8%, proving its effectiveness at overcoming the Frozen Robot Problem.
  • Enhanced Safety: Cut collision rates by up to 50% relative to baseline learning approaches in complex environments.

Limitations and Future Work

While the paper validates the framework through extensive simulations and real-world robot experiments, a few limitations remain:

  • Linear Projection Assumption: In Stage III, pedestrian positions over the planning horizon are linearly projected based on current velocities, which may fail during sudden, erratic human maneuvers.
  • Binary Social Classification: Pedestrian intent is simplified into a binary classification (cooperative vs. non-cooperative), whereas real human behavior exists on a broader spectrum.

The authors note that additional ablation studies and extended analyses will be detailed in a subsequent version of the work.

Summary updated

Abstract

Navigating social robots in dense, dynamic crowds is challenging due to environmental uncertainty and complex human-robot interactions. While Model Predictive Control (MPC) offers strong real-time performance, its reliance on a fixed prediction horizon limits adaptability to changing environments and social dynamics. Furthermore, most MPC approaches treat pedestrians as homogeneous obstacles, ignoring social heterogeneity and cooperative or adversarial interactions, which often causes the Frozen Robot Problem in partially observable real-world environments. In this paper, we identify the planning horizon as a socially conditioned decision variable rather than a fixed design choice. Building on this insight, we propose an optimal-horizon social navigation framework that optimizes MPC foresight online according to inferred social context. A spatio-temporal Transformer infers pedestrian cooperation attributes from local trajectory observations, which serve as social priors for a reinforcement learning policy that optimally selects the prediction horizon under a task-driven objective. The resulting horizon-aware MPC incorporates socially conditioned safety constraints to balance navigation efficiency and interaction safety. Extensive simulations and real-world robot experiments demonstrate that optimal foresight selection is critical for robust social navigation in partially observable crowds. Compared to state-of-the-art baselines, the proposed approach achieves a 6.8\% improvement in success rate, reduces collisions by 50\%, and shortens navigation time by 19\%, with a low timeout rate of 0.8\%, validating the necessity of socially optimal planning horizons for efficient and safe robot navigation in crowded environments. Code and videos are available at Under Review.

Empirical ResultsBrowse all benchmarks →

BenchmarkMethodMetricScoreProtocol / Evidence
High Interaction ScenariosOptimal-Horizon Social Robot Navigation (proposed method)SR (success rate)96.4%Evaluated on 250 random unseen cases; high-interaction scenario has 10 cooperative and …
Source quote
L289: Ours │ 87.6 │ 11.6 │ 0.8 │ 10.99 │ 25.84 │ 92.0 │ 7.2 │ 0.8 │ 10.33 │ 23.25 │ 96.4 │ 2.8 │ 0.8 │ 9.88 │ 20.40
High Interaction ScenariosGST-RLSR (success rate)89.6%Evaluated on 250 random unseen cases; high-interaction scenario has 10 cooperative and …
Source quote
L287: GST-RL\cite{GST-RL} │ 82.8 │ 10.0 │ 7.2 │ 13.78 │ 12.54 │ 84.8 │ 7.2 │ 8.0 │ 13.30 │ 12.09 │ 89.6 │ 5.6 │ 4.8 │ 12.42 │ 11.51
High Interaction ScenariosOptimal-Horizon Social Robot Navigation (proposed method)CR (collision rate)2.8%Evaluated on 250 random unseen cases; high-interaction scenario has 10 cooperative and …
Source quote
L289: Ours │ 87.6 │ 11.6 │ 0.8 │ 10.99 │ 25.84 │ 92.0 │ 7.2 │ 0.8 │ 10.33 │ 23.25 │ 96.4 │ 2.8 │ 0.8 │ 9.88 │ 20.40
High Interaction ScenariosGST-RLCR (collision rate)5.6%Evaluated on 250 random unseen cases; high-interaction scenario has 10 cooperative and …
Source quote
L287: GST-RL\cite{GST-RL} │ 82.8 │ 10.0 │ 7.2 │ 13.78 │ 12.54 │ 84.8 │ 7.2 │ 8.0 │ 13.30 │ 12.09 │ 89.6 │ 5.6 │ 4.8 │ 12.42 │ 11.51
High Interaction ScenariosOptimal-Horizon Social Robot Navigation (proposed method)ANT (average navigation time)9.88 sEvaluated on 250 random unseen cases; high-interaction scenario has 10 cooperative and …
Source quote
L289: Ours │ 87.6 │ 11.6 │ 0.8 │ 10.99 │ 25.84 │ 92.0 │ 7.2 │ 0.8 │ 10.33 │ 23.25 │ 96.4 │ 2.8 │ 0.8 │ 9.88 │ 20.40
High Interaction ScenariosORCAANT (average navigation time)12.21 sEvaluated on 250 random unseen cases; high-interaction scenario has 10 cooperative and …
Source quote
L281: ORCA\cite{ORCA1} │ 66.4 │ 24.4 │ 9.2 │ 12.18 │ 28.19 │ 75.6 │ 15.2 │ 9.2 │ 12.66 │ 25.75 │ 84.8 │ 7.2 │ 8.0 │ 12.21 │ 24.24
BibTeX
@misc{shi2026optimal,
  author = {Jiamin Shi and Haolin Zhang and Yuchen Yan and Shitao Chen and Jingmin Xin and Nanning Zheng},
  title = {{Optimal-Horizon Social Robot Navigation in Heterogeneous Crowds}},
  year = {2026},
  eprint = {2603.00507},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2603.00507},
}

Loading related content...

Figure