Abstract
Pedestrian trajectory prediction is a challenging task because of the complex nature of humans. In this paper, we tackle the problem within a deep learning framework by considering motion information of each pedestrian and its interaction with the crowd. Specifically, motivated by the residual learning in deep learning, we propose to predict displacement between neighboring frames for each pedestrian sequentially. To predict such displacement, we design a crowd interaction deep neural network (CIDNN) which considers the different importance of different pedestrians for the displacement prediction of a target pedestrian. Specifically, we use an LSTM to model motion information for all pedestrians and use a multi-layer perceptron to map the location of each pedestrian to a high dimensional feature space where the inner product between features is used as a measurement for the spatial affinity between two pedestrians. Then we weight the motion features of all pedestrians based on their spatial affinity to the target pedestrian for location displacement prediction. Extensive experiments on publicly available datasets validate the effectiveness of our method for trajectory prediction.
Introduction
Predicting where a person will walk in a crowded space is notoriously difficult because human movement is non-linear and highly social. Existing approaches often fall into two traps: local bias, where models only consider pedestrians within a fixed, small radius, and geometric distortion, where camera perspective makes Euclidean distance in image coordinates an unreliable metric for real-world proximity. The Crowd Interaction Deep Neural Network (CIDNN) addresses these issues by modeling global crowd interactions and learning a nuanced relationship between pedestrians that accounts for both motion and perspective.
The CIDNN Framework
The CIDNN architecture consists of four distinct modules designed to capture the temporal and spatial dynamics of a crowd:
- Motion Encoder Module: Uses stacked LSTMs to process historical coordinates, capturing individual dynamics like velocity and acceleration.
- Location Encoder Module: Maps coordinates into a high-dimensional feature space using a Multi-Layer Perceptron (MLP) to mitigate perspective distortions.
- Crowd Interaction Module: Calculates a spatial affinity score between a target pedestrian and the rest of the crowd. By using the inner product of location features, the model can "pay more attention" to influential pedestrians, regardless of their physical distance.
- Displacement Prediction Module: Following residual learning principles, the model predicts the change in coordinates ($\delta S$) between frames rather than absolute positions, simplifying the learning task.
Key Insights
- Global over Local: Social interaction shouldn't be restricted by distance. A learned affinity measure allows the model to account for long-range interactions, such as avoiding a group walking toward you from across a hall.
- Learned Affinity vs. Geometric Kernels: The MLP-based affinity measure outperforms standard distance-based kernels because it can implicitly learn to "undo" the perspective distortions caused by the camera's viewing angle.
- The Power of Residuals: Predicting displacement is significantly more accurate than predicting absolute coordinates, confirming that residual learning is highly effective for temporal trajectory data.
Experimental Results
CIDNN was evaluated on five public datasets, including ETH, UCY, and the New York Grand Central (GC) dataset. It consistently outperformed baselines like Social LSTM and Social Force. On the GC dataset, CIDNN achieved an Average Displacement Error (ADE) of 0.012, compared to 0.020 for Social LSTM.
Qualitative analysis shows the model is particularly effective on "non-straight" trajectories, such as turning or dodging. However, it still faces challenges with "sudden intent changes"—abrupt movements that have no observable social cause. Despite these edge cases, the model is highly efficient, running at ~0.43ms per image on a GPU, making it suitable for real-time applications.
Conclusion
By combining global spatial affinity with residual displacement prediction, CIDNN provides a robust framework for understanding complex human movement. Future work may involve integrating raw video pixel data to better understand environmental obstacles like walls and doorways.
Summary updated