Social-Mamba: Efficient Human Trajectory Forecasting with State-Space Models

Po-Chien Luan, Wuyang Li, Yang Gao, Alexandre AlahiOpenReview 2026 · Submission to ICLR 2026 · Rejected

TL;DR

Social-Mamba is the first trajectory forecasting architecture built entirely on Mamba (Selective State-Space Models), successfully adapting linear-time sequence modeling to unstructured social environments. By reformulating social interactions into structured "scans," it achieves state-of-the-art accuracy while using 75% fewer parameters and 54% less computational power than leading Transformer-based models.

What Problem Does This Paper Address?

Predicting where humans will move in a crowded space is a high-stakes balancing act between accuracy and speed. For an autonomous robot or a self-driving car, a slow prediction is just as dangerous as an incorrect one.

Currently, the field is dominated by Transformers. While Transformers are excellent at capturing "all-to-all" social interactions via self-attention, they suffer from quadratic complexity ($O(N^2)$). As the number of agents in a scene grows, the computational cost explodes.

Recently, State-Space Models (SSMs) like Mamba have emerged as a linear-time ($O(N)$) alternative to Transformers. However, Mamba was designed for 1D sequences (like text or audio). Human crowds are "unstructured"—there is no natural "first" or "last" person in a group. Furthermore, standard SSMs are unidirectional (processing past to future), whereas social reasoning is often bidirectional (we interpret an agent's early actions based on their eventual goal). This paper bridges the gap between the rigid, sequential nature of SSMs and the fluid, multi-dimensional nature of social dynamics.

Methods

The authors introduce Social-Mamba, which relies on three core innovations:

  1. Cycle Mamba (CM) Block: Standard bidirectional models run a forward pass and a backward pass independently and fuse them at the end. CM instead creates a "cycle sequence" where the forward pass is explicitly initialized by the final state of the backward pass. This ensures "state-level fusion," allowing the model to interpret past movements through the lens of future intent more cohesively.
  2. Ego-centric Social Grid: To solve the "ordering problem," the model organizes neighbors into a semantically ordered grid based on their distance from the "ego" agent (the person being predicted). This turns an unstructured crowd into a structured sequence that an SSM can scan.
  3. Social Triplet Factorization: Instead of one complex interaction scan, the model decomposes social influence into three parallel streams:
  4. Temporal Scan: Captures an individual's motion history.
  5. Egocentric Scan: Models how neighbors influence the ego agent’s current state.
  6. Goal-centric Scan: Models how neighbors influence the ego agent’s path toward their future goal.

These streams are fused using a learnable social gate that dynamically weights which type of interaction is most important in a given moment.

Datasets

The model was evaluated on five diverse trajectory forecasting benchmarks:

  • NBA (Full, Scoring, and Rebounding splits): High-density professional basketball player data, ideal for complex group dynamics.
  • Stanford Drone Dataset (SDD): Bird’s-eye view pedestrian trajectories in a campus environment.
  • JackRabbot Dataset (JRDB): Egocentric data from a mobile robot navigating real-world indoor and outdoor crowds.
  • TrajNet++: A benchmark for deterministic trajectory forecasting.

Key Insights and Ideas

  • Structure is Everything: The "aha moment" here is that you don't need the heavy machinery of attention to model social interactions if you can impose a meaningful sequence on the data. Sorting by distance and goal-proximity allows the linear scan of an SSM to act like a spatial filter.
  • Continuous Bidirectionality: The Cycle Mamba block proves that state-level continuity is superior to late-stage output fusion. By letting the hidden state flow uninterrupted from the backward pass into the forward pass, the model mimics human "retrospective reasoning."
  • Factorization as Efficiency: By splitting social influence into current-state and goal-state interactions, the model can handle complex intent without needing the massive parameter counts of "all-to-all" Transformers.

Key Results

  • State-of-the-Art Accuracy: Social-Mamba outperformed strong competitors like Multi-Transmotion and OmniTraj on the NBA-Full dataset. On the JRDB dataset, it improved Average Displacement Error (ADE) by up to 13%.
  • Massive Efficiency Gains: Compared to the previous state-of-the-art, Social-Mamba reduced parameters by 75% and GFLOPs (computational cost) by 54%.
  • Flexibility: The authors demonstrated that Social-Mamba can be used as a "drop-in" replacement for Transformer encoders in other frameworks, such as flow-matching models (MoFlow), where it improved both accuracy and speed.

Limitations and Future Work

While Social-Mamba is highly efficient, the authors note a few areas for growth:

  • Single-Agent Focus: The current design predicts trajectories primarily for a single "ego" agent at a time. Expanding this to consistent, joint multi-agent prediction (predicting everyone simultaneously) is a challenging next step.
  • Simple Sorting: The social grid currently relies on Euclidean distance. Future iterations could incorporate more nuanced sorting, such as semantic roles (e.g., identifying a "goalie" in sports) or orientation (who is the agent actually looking at?).
  • Heterogeneous Agents: The study focused on pedestrians and athletes; testing the model's performance with mixed traffic (cars, cyclists, and pedestrians) remains for future research.

Summary updated

BibTeX
@misc{luan2026social,
  author = {Po-Chien Luan and Wuyang Li and Yang Gao and Alexandre Alahi},
  title = {{Social-Mamba: Efficient Human Trajectory Forecasting with State-Space Models}},
  year = {2026},
  url = {https://openreview.net/forum?id=9XCnaA2CQm},
  howpublished = {OpenReview},
  note = {Submitted to ICLR 2026},
}
Figure