Manuscript Offprint

arXiv:2609.08041

MamMA: A Mamba-Based Pedestrian Trajectory Prediction Algorithm Considering Occupancy Map and Pedestrian Awareness States

Juncen Long, Xiaofeng Jin, Gianluca Bardaro, Simone Mentasti, Matteo Matteucci

Juncen Long, Xiaofeng Jin, Gianluca Bardaro, Simone Mentasti, Matteo Matteucci

Abstract—Many pedestrian trajectory prediction algorithms have been proposed to improve the safety of navigation for mobile robots working in human-robot coexistence environments. Some pedestrian trajectory prediction algorithms extract information about obstacles near pedestrians from top-down view images to improve the accuracy of trajectory prediction. However, mobile robots typically create local occupancy maps using LiDAR, rather than top-down view images. Meanwhile, the vision sensors on board robots provide egocentric view images, which contain fine-grained behavioral information about the pedestrians near the robot. To better use the information collected by LiDAR and on-board vision sensors, we propose MamMA, a Mamba-based pedestrian trajectory prediction algorithm considering occupancy maps and pedestrian awareness states. MamMA divides the occupancy map by patches and extracts obstacle features from each patch to create map features. Pedestrian awareness states are divided and considered, as some studies show that awareness states affect the perception and speed of pedestrians. Furthermore, a Mamba-based model is proposed to predict the future trajectories of pedestrians based on different types of features. Experiments on the STCrowd, SiT, JRDB, ETH, and UCY datasets show that MamMA achieves better average displacement error and final displacement error than the state-of-the-art algorithms.

I. INTRODUCTION

Many pedestrian trajectory prediction algorithms have been proposed to help mobile robots avoid potential collisions during navigation. Although some algorithms achieve high prediction accuracy, the data required by these algorithms may not match the data collected by sensors equipped on the robots.

Most pedestrian trajectory prediction algorithms use datasets with top-down views, such as ETH [1] and UCY [2], to train networks and evaluate performance. To obtain information about the environment for improving performance, some algorithms process top-down view images by semantic segmentation and deep neural networks to obtain features [3], [4]. However, using top-down view images is not realistic for deploying robots in the real world. As shown in Fig. 1, the mobile robot usually obtains egocentric view images with LiDAR data, rather than a top-down view image. Therefore, extracting environment features from LiDAR data can make the algorithm more suitable for real-world navigation.

In addition, as shown in Fig. 1, the pedestrians in the egocentric view images are clearer than those in the top-down view images, which allows the algorithm to obtain more information about pedestrians, such as their awareness states.

Figure

(a) The ETH dataset

(b) The STCrowd dataset

Fig. 1. Different types of pedestrian trajectory datasets.

Figure

(a) Normal Pedestrian

Figure

(b) Distracted Pedestrian

Fig. 2. The trajectories of pedestrians with different awareness states in the STCrowd dataset. Green circles represent normal states, and red circles represent distracted states.

As shown in Fig. 2, when using egocentric view images, we can divide pedestrian awareness states into normal and distracted, which can affect their trajectories. In Fig. 2(a), the normal pedestrian always maintains a proper distance from obstacles by modifying its velocity. In contrast, the distracted pedestrian cannot detect obstacles until it is very close to them, then it has to modify velocity in a hurry, as shown in Fig. 2(b).

To improve the algorithm's adaptability to real-world deployment and multi-dimensional understanding of pedestrians, we propose MamMA, a Mamba-based pedestrian trajectory prediction algorithm considering occupancy maps and pedestrian awareness states. MamMA uses the Mamba model [5] to extract features from occupancy maps created by LiDAR data and considers the influence of pedestrians' awareness states on their trajectories. By using occupancy maps and pedestrian awareness states, MamMA has a better average displacement error (ADE) and final displacement error (FDE) than the state-of-the-art (SOTA) algorithms on the public dataset STCrowd [6], SiT [7], JRDB [8], ETH [1] and UCY [2].

The main contributions of this paper are as follows.

  1. We propose a Mamba-based scanning method that efficiently leverages occupancy maps in pedestrian trajectory prediction for extracting environment features.

The authors are with the Department of Electronics, Information and Bioengineering, Politecnico di Milano, Milan, Italy. Email: {juncen.long; xiaofeng.jin; gianluca.bardaro; simone.mentasti; matteo.matteucci} @polimi.it.

  1. We propose an embedding method that effectively integrates the information of pedestrian awareness state and position for pedestrian trajectory prediction.

  2. We propose a Mamba-based pedestrian trajectory prediction network that extracts interaction features and trajectory features of pedestrians in temporal and spatial dimensions, as well as considers the effect of obstacles.

References (24)

  • You’ll never walk alone: Modeling social behavior for multi-target tracking
  • Crowds by example
  • Socialcvae: predicting pedestrian trajectory via interaction conditioned latents
  • Singulartrajectory: Universal trajectory predictor using diffusion model
  • Mamba: Linear-Time Sequence Modeling with Selective State Spaces
  • Stcrowd: A multimodal dataset for pedestrian perception in crowded scenes
  • Sit dataset: socially interactive pedestrian trajectory dataset for social navigation robots
  • Jrdb: A dataset and benchmark of egocentric robot visual perception of humans in built environments
  • Stigcn: spatial-temporal interaction-aware graph convolution network for pedestrian trajectory prediction
  • Continuous geodesic self-attention models with gated fusion for trajectory prediction
  • Dstigcn: Deformable spatial-temporal interaction graph convolution network for pedestrian trajectory prediction
  • Situation-aware pedestrian trajectory prediction with spatio-temporal attention model (opens arXiv in a new tab)
  • Social-stgcnn: A social spatio-temporal graph convolutional neural network for human trajectory prediction
  • Sgcn: Sparse graph convolution network for pedestrian trajectory prediction
  • Learning sparse interaction graphs of partially detected pedestrians for trajectory prediction
  • Mrgtraj: A novel non-autoregressive approach for human trajectory prediction
  • A systematic review of observational studies investigating the influence of mobile phone distraction on road crossing behaviour of pedestrians
  • Performance of ground-level signal detection when using a phone while walking
  • Assessment of distracted pedestrian crossing behavior at midblock crosswalks
  • Validity across four common street-crossing distraction indicators to predict pedestrian safety
  • Social-implicit: Rethinking trajectory prediction evaluation and the effectiveness of implicit maximum likelihood estimation
  • Fully convolutional encoder-decoder with an attention mechanism for practical pedestrian trajectory prediction
  • Imgcn: interpretable masked graph convolution network for pedestrian trajectory prediction
  • Human trajectory forecasting in crowds: A deep learning perspective