Advantage-Driven Explicit Memory for Social Navigation

Yeonsoo Park, Mattia Racca, Guillaume Bono, Steeven Janny, Gianluca Monaci, Tomi Silander, Christian WolfarXiv 2026

TL;DR

Standard reinforcement learning algorithms struggle to remember rare but critical events, like colliding with a pedestrian, because these sparse signals get diluted when compressed into neural network weights. This paper introduces an external, non-parametric episodic memory module that uses an RL agent's own advantage signals to explicitly store and retrieve the spatiotemporal context of high-impact events. This allows the robot to look back at past "Scorecards" of actions and outcomes, enabling training-free, real-time adaptation to unfamiliar, out-of-distribution crowd behaviors.

What Problem Does This Paper Address?

Navigating safely through human-populated environments is a major challenge for robotics. Human motion is unpredictable, and critical edge cases—like someone stepping out from a blind corner—are rare.

When we train navigation policies using standard parametric Reinforcement Learning (RL) or Imitation Learning (IL), the agent tries to compress all its experiences into the static weights of a neural network. Because safe, mundane steps vastly outnumber dangerous near-collisions, the high-error signals from these rare, critical events get averaged out and diluted. As a result, when the robot encounters out-of-distribution (OOD) scenarios at test time, it often repeats the same unsafe mistakes.

Methods

The authors propose an Advantage-Driven Explicit Memory framework integrated into a recurrent PPO (Proximal Policy Optimization) architecture.

Overview of the advantage-driven explicit memory framework for social navigation.

Key components of the architecture include:

  • Retrieval from Agent States: Instead of querying memory using static image snapshots, the system uses the hidden state ($h_{t-1}$) of a Gated Recurrent Unit (GRU) as the query key. This captures continuous spatiotemporal interaction dynamics rather than isolated moments in time.
  • Advantage-Based Selection: During training, the agent uses Generalized Advantage Estimation (GAE) to measure how "surprising" an outcome was. Steps yielding the highest absolute advantage signals (the top 5%) are flagged as critical events and saved to an external FIFO memory buffer.
  • Causal Look-Ahead ("Scorecard"): Storing the exact moment of a collision is useless for prevention. To capture the causal precursors, the framework indexes the spatiotemporal context and action from $k$ steps prior ($k=6$) to the high-impact event. This creates a situational "Scorecard" that maps early actions to their delayed consequences.
  • Online Adaptation: At test time, the agent can dynamically swap out its training memory for an online buffer. Using simple physical heuristics (like actual collisions or sudden value drops), it logs new OOD experiences on the fly, providing immediate behavioral adaptation without requiring gradient updates or backpropagation.
Detailed architecture of the memory-augmented RL agent, showcasing base policy, PPO rollout, retrieval, and collection.

Datasets

The method was implemented and evaluated in the Habitat-Sim environment using the Habitat Matterport 3D (HM3D) dataset for high-fidelity indoor navigation. Dynamic crowds were simulated using the Recast Navigation library. Crucially, the simulated humans did not actively avoid the robot, forcing the agent to internalize proactive social safety logic.

Key Insights and Ideas

  • The Power of the Causal Shift ($k$-steps): Shifting the memory index back in time allows the robot to recognize dangerous situations before they manifest, giving it the buffer zone needed to execute preemptive maneuvers.
  • Frequency-Independent Preservation: Unlike neural network weights, which suffer from catastrophic forgetting of rare events, the non-parametric memory buffer preserves high-cost failures regardless of how infrequently they occur.
  • Training-Free OOD Mitigation: By allowing the robot to write to its memory buffer during deployment, the system acts as a dynamic "cheat sheet" for novel environments, helping bridge the notorious sim-to-real gap without expensive on-the-fly fine-tuning.

Key Results

The framework was tested in both In-Distribution (ID) and highly challenging Out-of-Distribution (OOD) scenarios featuring denser, faster, and more erratic crowds (e.g., grouping and idling behaviors).

  • In-Distribution Performance: The explicit memory configuration boosted the Success Rate (SR) from a baseline of 76.16% to 81.28%, while keeping human collisions low.
  • Out-of-Distribution Performance: In the grueling OOD environment, the baseline PPO-GRU agent's success rate plummeted to 54.00%. Activating the training-free Online Buffer adaptation recovered the Success Rate back up to 60.00% and significantly reduced human collisions.
  • Computational Efficiency: Despite querying large external buffers, the average query time remained strictly bounded between 0.10 ms and 0.125 ms as the buffer scaled up to 4,096 entries, proving its viability for real-time robotic control.

Limitations and Future Work

While the online buffer successfully mitigates behavioral gaps, the latent query space itself (the GRU hidden state) is still trained entirely in simulation and may suffer from a sim-to-real distribution shift. The authors suggest that leveraging domain-agnostic vision foundation models to extract retrieval queries could fully close this gap.

Additionally, future work will focus on more advanced, scalable buffer management strategies for lifelong learning and deploying the agent in real-world environments using state-of-the-art human mesh recovery models.

Summary updated

BibTeX
@misc{park2026advantage,
  author = {Yeonsoo Park and Mattia Racca and Guillaume Bono and Steeven Janny and Gianluca Monaci and Tomi Silander and Christian Wolf},
  title = {{Advantage-Driven Explicit Memory for Social Navigation}},
  year = {2026},
  eprint = {2608.25610},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2608.25610},
}
Figure