Forecasting pedestrian motion has always been fundamental for autonomous navigation in crowded environments. While attention-based methods achieve strong performance, they suffer from quadratic computational complexity in modeling social interactions, limiting scalability. Additionally, the existing methods often achieve high accuracy on prediction benchmarks at the individual level, but fail to fully capture the natural movement behaviors of crowds in real-world scenarios, particularly group structures. In this study, we propose Social Graph Mamba (SGM), a novel architecture that replaces attention-based social reasoning with Selective State Space Models (SSMs) operating on dynamically constructed interaction graphs. SGM introduces a dynamic interaction graph with social triplet factorization to decompose crowd interactions sequentially, and a community-aware module to effectively discover group structures via differentiable MinCut optimization and conditions both the embedding space and multi-modal decoder on group membership. Our experiments on standard benchmarks (ETH/UCY, SDD) demonstrate competitive performance with linear sequence complexity compared to quadratic attention-based methods. We further validate SGM in physical robot experiments by integrating predicted trajectories into a Social Force Model (SFM) for real-world implementation.
Figures & tables
Figure 1: The overview of Social Graph Mamba framework.
Figure 2: Physical experiment setup
Method
ETH
Hotel
Univ
Zara1
Zara2
Average
ADE
FDE
ADE
FDE
ADE
FDE
ADE
FDE
ADE
FDE
ADE
FDE
Social-STGCNN [ 19 ]
0.64
1.11
0.49
0.85
0.44
0.79
0.34
0.53
0.30
0.48
0.44
0.75
SGCN [ 24 ]
0.63
1.03
0.32
0.55
0.37
0.70
0.29
0.53
0.25
0.45
0.37
0.65
STAR [ 31 ]
0.36
0.65
0.17
0.36
0.31
0.62
0.26
0.55
0.22
0.46
0.26
0.53
PECNet [ 18 ]
0.54
0.87
0.18
0.24
0.35
0.60
0.22
0.39
0.17
0.30
0.29
0.48
Trajectron++ [ 22 ]
0.43
0.86
0.12
0.19
0.22
0.43
0.17
0.32
0.12
0.25
0.21
0.41
TABLE I : Quantitative comparison on ETH/UCY benchmark (ADE/FDE in meters, minADE 20 /minFDE 20 ). Best results in bold , second best underlined . Results for comparison methods are from their original papers.
Method
minADE 20
minFDE 20
Social-STGCNN [ 19 ]
20.76
33.18
PECNet [ 18 ]
9.96
15.88
Trajectron++ [ 22 ]
19.30
32.70
AgentFormer [ 32 ]
8.05
12.45
MART [ 12 ]
7.43
11.82
Ours
5.98
10.05
TABLE II : Quantitative comparison on SDD benchmark (minADE 20 /minFDE 20 in pixels).
Figure 3: Visualization of prediction on the ETH-UCY dataset.
Configuration
minADE ↓
minFDE ↓
ADE ↓
FDE ↓
SGM (Full)
0.049
0.081
0.124
0.296
w/o Global scan
0.051
0.083
0.126
0.301
w/o Community-aware
0.051
0.085
0.129
0.310
w/o Social triplet
0.066
0.105
0.171
0.376
SGM (minimal)
0.070
0.116
0.185
0.403
TABLE III : Ablation study on the contribution of each SGM module. Evaluated on the simulated crowd dataset (ADE/FDE in meters).
K
minADE ↓
minFDE ↓
ADE ↓
FDE ↓
1
0.85
1.59
0.85
1.59
5
0.07
0.14
0.12
0.30
20
0.05
0.08
0.12
0.29
TABLE IV : Effect of number of trajectory modes K .
Method
Backbone
Params (M)
Inference (ms)
Social-STGCNN [ 19 ]
O(N2)
0.04
121.39
STAR [ 31 ]
O(N2)
0.96
618.37
AgentFormer [ 32 ]
O(N2)
6.50
13165.43
MART [ 12 ]
O(N2)
1.59
10.72
Ours
O(N)
1.55
4.27
TABLE V : Computational comparison of sequence modeling backbones for social interaction modeling with N=50 agents.
Figure 4: Community-aware representation
Controller
Success
Time (s)
Clearance (m)
TTC
Baseline SFM
66.7
30.56
0.65 ± 0.21
0.84
SGM enhanced
83.3
38.31
0.73 ± 0.15
1.06
TABLE VI : Physical experiment results comparing baseline SFM controller (using relative positions) vs. SGM-enhanced controller (using predicted trajectories) via ten trials.
Human trajectory forecasting is crucial for safe navigation in crowded environments, requiring models that balance accuracy with computational efficiency. Efficiently modeling social interactions is key to performance in dense crowds. Yet, most recent methods rely on attention mechanisms, which are effective at capturing complex dependencies, but incur quadratic computational costs that scale poorly with the growing number of neighbors. Recently, Selective State-Space Models have provided a linear-time alternative; however, their inherently sequential design is misaligned with the unstructured and dynamic nature of social interactions. To address this challenge, we propose Social-Mamba, a forecasting architecture that reformulates social interactions as structured sequential processes. At its core is the Cycle Mamba block, a novel module that enables continuous bidirectional information flow. Social-Mamba organizes agents on an egocentric grid and introduces social triplet factorization, which decomposes interactions into temporal, egocentric, and goal-centric scans. These are dynamically integrated through a learnable social gate and global scan to generate accurate and efficient trajectory predictions. Extensive experiments on five trajectory forecasting benchmarks show that Social-Mamba achieves state-of-the-art accuracy while offering superior parameter efficiency and computational scalability. Furthermore, embedding Social-Mamba into a flow-matching framework further enhances both accuracy and efficiency, establishing it as a flexible and robust foundation for future trajectory forecasting research. The code is publicly available: https://github.com/vita-epfl/Social-Mamba
Long-term human path forecasting in crowds is critical for autonomous moving platforms (like autonomous driving cars and social robots) to avoid collision and make high-quality planning. Although the current research take into account social interactions for prediction, they don't reveal the exact kinds of social interactions happened among people and how the social interactions affect the decision-making process of pedestrians, which further limits its robustness. Social interactions in pedestrian walking are intuitively massive and hard to label and quantify. In this paper, we explore creatively to quantify and interpret how pedestrians interact with others by proposing Learn to Cluster. Our clustering social interactions is probabilistic latent variable generative, learning directly from sequential trajectory observations, scalable to arbitrary number of pedestrians. Learn to cluster is label-free and can be naturally integrated into the training process of the prediction model. The latent variables will then serve as 'labels' to categorize social interactions. Extensive experiments over several trajectory prediction benchmarks demonstrate that our method is able to learn the patterns of social interactions and effectively integrate the patterns to pedestrian trajectory prediction.
Xiaodan Shi
Department of Computer and Systems Sciences, Stockholm University
Accurate pedestrian trajectory prediction in crowded environments remains challenging due to the multimodal uncertainty of human motion and the variable complexity of motion dynamics across different scene contexts. Existing goal-conditioned models rely on static displacement structures that assign equal weight to all historical time steps, standard graph attention mechanisms, and fixed-capacity motion decoders that cannot adapt to local prediction complexity. To address these limitations, we propose TSCA-Net, a trajectory prediction framework built upon three complementary modules. The Temporal-Spatial Clique Attention (TSCA) module introduces learnable temporal gating into clique-based goal-history interaction, enabling time-aware modulation of historical observations relative to each candidate goal. The Cross-Pedestrian Clique Potential (CPCP) module models asymmetric pairwise agent relationships through a dynamic clique potential framework with a time-varying social graph. The Adaptive KAN Grid Refinement (AKGR) mechanism dynamically adjusts the B-spline grid resolution of a Kolmogorov-Arnold Network-augmented LSTM decoder based on per-agent goal distribution entropy, balancing model expressiveness against overfitting across varying motion complexities. Extensive experiments on the ETH/UCY and Stanford Drone Dataset benchmarks demonstrate that TSCA-Net achieves state-of-the-art performance, with average ADE/FDE of 0.13/0.20 m on ETH/UCY and 6.95/10.43 pixels on SDD. Comprehensive ablation studies confirm the complementary contributions of all three proposed modules.
Md Mustafizur Rahman, Guangchao Yang, A F M Abdun Noor +3
College of Computer Science, Chongqing University, Chongqing, China · Department of Software Engineering, Daffodil International University, Dhaka, Bangladesh