Submitted:
28 February 2024
Posted:
28 February 2024
You are already at the latest version
Abstract
Keywords:
1. Introduction
2. Related work
3. The Dataset
4. Methodology
4.1. Overview
- The predicted trajectory of all primary pedestrians are evaluated on two commonly utilized Euclidean distance metric and a collision metric. In the first distance-based metrics, called average displacement error (ADE) [29], the distance between the predicted trajectory and the ground truth trajectory is measured at any time step t
4.2. Prediction approaches
4.2.1. Constant Velocity Model
4.2.2. Social Force Model
- Whereas the CV model has no parameter, the SF model has three parameters, preferred velocity, interaction potential, and reaction time, that can be optimized to get accurate predictions.
4.2.3. Vanilla LSTM
4.2.4. Social LSTM
4.2.5. Social GAN
4.3. Two-stage process

4.4. Collision weight
- To address this, we adopt the TTC concept, a widely recognized principle in the study of pedestrian dynamics [7]. Implementing this variable in the loss function of an DL algorithm would reduce predicted situations, where pedestrians walk straight towards each other without avoidance mechanism. Integrating TTC into a DL algorithm’s loss function significantly mitigates predictions where pedestrians are on a direct collision course without any avoidance mechanisms. The TTC term calculates the time until two pedestrians would collide if they continue moving at their current velocities, a concept validated by Karamouzas et al. [7]. The relative position and velocity between the pedestrian i and j can be denoted by and , respectively. A collision between pedestrian i and pedestrian j occurs if a ray, originating from and extending in the direction of , intersects the circle centred at with a radius of at some time in the future. This condition can be mathematically represented as where denotes Euclidean norm. Solving this quadratic inequality for t yields as the smallest positive root:
4.5. Implementation details
5. Results
5.1. Two-Stage Predictions
- In the last three rows of Table 1, we present the effectiveness of our two-stage approach and its combination with the TTC term. The results clearly show a significant improvement in the algorithm’s precision, attributed to the strategy of classification before prediction. Our enhanced two-stage SLSTM model consistently outperforms the traditional SLSTM across all evaluated datasets, demonstrating superior performance in terms of ADE, FDE, and COL metrics. Similarly, our adapted SGAN model shows marked improvements over the standard SGAN in three out of four datasets with respect to ADE. Integrating the TTC term further enhances the SLSTM results, notably in reducing collisions. A more detailed discussion on this enhancement is provided in the subsequent Section 5.2.
5.2. Collision weight
6. Conclusions
- Further, we integrated a TTC based term into the loss function of the SLSTM to improve avoidance behaviors, consequently reducing potential collisions. Our empirical studies indicate that the effectiveness of the TTC-based term varies with density; it significantly benefits scenarios of low density by correlating higher TTC values with reduced collision incidents. However, the outcomes in high-density situations were more ambiguous, suggesting a nuanced impact of density on the efficacy of this approach. This observation could be attributed to the nuanced dynamics of pedestrian behavior across different densities. Specifically, in environments with lower densities, pedestrians tend to navigate more through avoidance and interactions, making TTC particularly relevant. Conversely, in higher density settings, pedestrian movement is more characterized by forced leader-follower dynamics, diminishing the prominence of TTC in explaining behavior. This study underscores the complexity of pedestrian behavior, which varies significantly under different environmental conditions. It highlights the necessity of adopting a flexible modeling approach to accurately predict pedestrian trajectories in diverse settings.
Author Contributions
Funding
Data Availability Statement
Acknowledgments
Conflicts of Interest
Abbreviations
| DL | Deep learning |
| PB | Physics-based |
| LSTM | Long Short-Term Memory |
| SLSTM | Social Long Short-Term Memory |
| GAN | Generative Adversarial Network |
| SGAN | Social Generative Adversarial Network |
| TTC | Time-to-collision |
| SF | Social Force model |
| CV | Constant Velocity model |
| ORCA | Optimal Reciprocal Collision Avoidance |
| RNN | Recurrent Neural Network |
| ADE | Average displacement error |
| FDE | Final displacement error |
| COL | Collision metric |
| lowD | Low density |
| mediumD | Medium density |
| highD | High density |
| VeryHD | Very high density |
References
- Poibrenski, A.; Klusch, M.; Vozniak, I.; Müller, C. M2p3: multimodal multi-pedestrian path prediction by self-driving cars with egocentric vision. Proceedings of the 35th Annual ACM Symposium on Applied Computing, 2020, pp. 190–197. [CrossRef]
- Scheggi, S.; Aggravi, M.; Morbidi, F.; Prattichizzo, D. Cooperative human-robot haptic navigation. 2014 IEEE International Conference on Robotics and Automation (ICRA). IEEE, 2014, pp. 2693–2698. [CrossRef]
- Boltes, M.; Zhang, J.; Tordeux, A.; Schadschneider, A.; Seyfried, A. Empirical results of pedestrian and evacuation dynamics. Encyclopedia of complexity and systems science 2018, 16, 1–29. [Google Scholar] [CrossRef]
- Korbmacher, R.; Tordeux, A. Review of pedestrian trajectory prediction methods: Comparing deep learning and knowledge-based approaches. IEEE Transactions on Intelligent Transportation Systems 2022. [Google Scholar] [CrossRef]
- Alahi, A.; Goel, K.; Ramanathan, V.; Robicquet, A.; Fei-Fei, L.; Savarese, S. Social LSTM: Human trajectory prediction in crowded spaces. Proceedings of the IEEE conference on computer vision and pattern recognition, 2016, pp. 961–971.
- Dang, H.T.; Korbmacher, R.; Tordeux, A.; Gaudou, B.; Verstaevel, N. TTC-SLSTM: Human trajectory prediction using time-to-collision interaction energy. 2023 15th International Conference on Knowledge and Systems Engineering (KSE). IEEE, 2023, pp. 1–6. [CrossRef]
- Karamouzas, I.; Skinner, B.; Guy, S.J. Universal power law governing pedestrian interactions. Physical review letters 2014, 113, 238701. [Google Scholar] [CrossRef] [PubMed]
- Helbing, D.; Molnar, P. Social force model for pedestrian dynamics. Physical Review E 1995, 51, 4282. [Google Scholar] [CrossRef] [PubMed]
- Van Den Berg, J.; Guy, S.J.; Lin, M.; Manocha, D. Reciprocal n-body collision avoidance. Robotics Research: The 14th International Symposium ISRR. Springer, 2011, pp. 3–19. [CrossRef]
- Burstedde, C.; Klauck, K.; Schadschneider, A.; Zittartz, J. Simulation of pedestrian dynamics using a two-dimensional cellular automaton. Physica A: Statistical Mechanics and its Applications 2001, 295, 507–525. [Google Scholar] [CrossRef]
- Bellomo, N.; Dogbe, C. On the modeling of traffic and crowds: A survey of models, speculations, and perspectives. SIAM review 2011, 53, 409–463. [Google Scholar] [CrossRef]
- Chraibi, M.; Tordeux, A.; Schadschneider, A.; Seyfried, A. Modelling of pedestrian and evacuation dynamics. Encyclopedia of complexity and systems science 2018, pp. 1–22. [CrossRef]
- Duives, D.C.; Daamen, W.; Hoogendoorn, S.P. State-of-the-art crowd motion simulation models. Transportation research part C: emerging technologies 2013, 37, 193–209. [Google Scholar] [CrossRef]
- Gupta, A.; Johnson, J.; Fei-Fei, L.; Savarese, S.; Alahi, A. Social GAN: Socially acceptable trajectories with generative adversarial networks. Proceedings of the IEEE conference on computer vision and pattern recognition, 2018, pp. 2255–2264.
- Vemula, A.; Muelling, K.; Oh, J. Social attention: Modeling attention in human crowds. 2018 IEEE international Conference on Robotics and Automation (ICRA). IEEE, 2018, pp. 4601–4607. [CrossRef]
- Monti, A.; Bertugli, A.; Calderara, S.; Cucchiara, R. Dag-net: Double attentive graph neural network for trajectory forecasting. 2020 25th International Conference on Pattern Recognition (ICPR). IEEE, 2021, pp. 2551–2558. [CrossRef]
- Shi, X.; Shao, X.; Guo, Z.; Wu, G.; Zhang, H.; Shibasaki, R. Pedestrian trajectory prediction in extremely crowded scenarios. Sensors 2019, 19, 1223. [Google Scholar] [CrossRef]
- Yi, S.; Li, H.; Wang, X. Pedestrian behavior understanding and prediction with deep neural networks. Computer Vision–ECCV 2016: 14th European Conference, Amsterdam, The Netherlands, October 11–14, 2016, Proceedings, Part I 14. Springer, 2016, pp. 263–279. [CrossRef]
- Li, Y.; Xu, H.; Bian, M.; Xiao, J. Attention based CNN-ConvLSTM for pedestrian attribute recognition. Sensors 2020, 20, 811. [Google Scholar] [CrossRef] [PubMed]
- Yao, H.Y.; Wan, W.G.; Li, X. End-to-end pedestrian trajectory forecasting with transformer network. ISPRS International Journal of Geo-Information 2022, 11, 44. [Google Scholar] [CrossRef]
- Xue, H.; Huynh, D.Q.; Reynolds, M. Bi-prediction: Pedestrian trajectory prediction based on bidirectional LSTM classification. 2017 International Conference on Digital Image Computing: Techniques and Applications (DICTA). IEEE, 2017, pp. 1–8. [CrossRef]
- Xue, H.; Huynh, D.Q.; Reynolds, M. PoPPL: Pedestrian trajectory prediction by LSTM with automatic route class clustering. IEEE transactions on neural networks and learning systems 2020, 32, 77–90. [Google Scholar] [CrossRef] [PubMed]
- Kothari, P.; Kreiss, S.; Alahi, A. Human trajectory forecasting in crowds: A deep learning perspective. IEEE Transactions on Intelligent Transportation Systems 2021, 23, 7386–7400. [Google Scholar] [CrossRef]
- Papathanasopoulou, V.; Spyropoulou, I.; Perakis, H.; Gikas, V.; Andrikopoulou, E. A data-driven model for pedestrian behavior classification and trajectory prediction. IEEE Open Journal of Intelligent Transportation Systems 2022, 3, 328–339. [Google Scholar] [CrossRef]
- Khadka, A.; Remagnino, P.; Argyriou, V. Synthetic crowd and pedestrian generator for deep learning problems. ICASSP 2020-2020 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP). IEEE, 2020, pp. 4052–4056. [CrossRef]
- Antonucci, A.; Papini, G.P.R.; Bevilacqua, P.; Palopoli, L.; Fontanelli, D. Efficient prediction of human motion for real-time robotics applications with physics-inspired neural networks. IEEE Access 2021, 10, 144–157. [Google Scholar] [CrossRef]
- Silvestri, M.; Lombardi, M.; Milano, M. Injecting domain knowledge in neural networks: a controlled experiment on a constrained problem. Integration of Constraint Programming, Artificial Intelligence, and Operations Research: 18th International Conference, CPAIOR 2021, Vienna, Austria, July 5–8, 2021, Proceedings 18. Springer, 2021, pp. 266–282. [CrossRef]
- Kothari, P.; Alahi, A. Safety-compliant generative adversarial networks for human trajectory forecasting. IEEE Transactions on Intelligent Transportation Systems 2023, 24, 4251–4261. [Google Scholar] [CrossRef]
- Pellegrini, S.; Ess, A.; Schindler, K.; Van Gool, L. You’ll never walk alone: Modeling social behavior for multi-target tracking. 2009 IEEE 12th international conference on computer vision. IEEE, 2009, pp. 261–268. [CrossRef]
- Lerner, A.; Chrysanthou, Y.; Lischinski, D. Crowds by example. Computer graphics forum. Wiley Online Library, 2007, Vol. 26, pp. 655–664. [CrossRef]
- Robicquet, A.; Sadeghian, A.; Alahi, A.; Savarese, S. Learning social etiquette: Human trajectory understanding in crowded scenes. Computer Vision–ECCV 2016: 14th European Conference, Amsterdam, The Netherlands, October 11-14, 2016, Proceedings, Part VIII 14. Springer, 2016, pp. 549–565. [CrossRef]
- Zhou, B.; Wang, X.; Tang, X. Understanding collective crowd behaviors: Learning a mixture model of dynamic pedestrian-agents. 2012 IEEE Conference on Computer Vision and Pattern Recognition. IEEE, 2012, pp. 2871–2878. [CrossRef]
- Majecka, B. Statistical models of pedestrian behaviour in the forum. Master’s thesis, School of Informatics, University of Edinburgh 2009.
- Boltes, M.; Seyfried, A. Collecting pedestrian trajectories. Neurocomputing 2013, 100, 127–133. Special issue: Behaviours in video. [CrossRef]
- Korbmacher, R.; Dang, H.T.; Tordeux, A. Predicting pedestrian trajectories at different densities: A multi-criteria empirical analysis. Physica A: Statistical Mechanics and its Applications 2024, 634, 129440. [Google Scholar] [CrossRef]
- Hochreiter, S.; Schmidhuber, J. Long short-term memory. Neural computation 1997, 9, 1735–1780. [Google Scholar] [CrossRef]
- Korbmacher, R.; Dang-Huu, T.; Tordeux, A.; Verstaevel, N.; Gaudou, B. Differences in pedestrian trajectory predictions for high-and low-density situations. 14th International Conference on Traffic and Granular Flow (TGF) 2022. Springer, 2022, pp. à–paraître.
- Goodfellow, I.; Pouget-Abadie, J.; Mirza, M.; Xu, B.; Warde-Farley, D.; Ozair, S.; Courville, A.; Bengio, Y. Generative adversarial nets. Advances in neural information processing systems 2014, 27. [Google Scholar]
- Holl, S. Methoden für die Bemessung der Leistungsfähigkeit multidirektional genutzter Fußverkehrsanlagen; Number FZJ-2017-00069, Jülich Supercomputing Center, 2016.
- Wirth, T.D.; Dachner, G.C.; Rio, K.W.; Warren, W.H. Is the neighborhood of interaction in human crowds metric, topological, or visual? PNAS nexus 2023, 2, pgad118. [Google Scholar] [CrossRef]




| Model | LowD | MediumD | HighD | VeryHD | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ADE/FDE | COL | ADE/FDE | COL | ADE/FDE | COL | ADE/FDE | COL | |||||
| CV | 0.71/0.97 | 54.76 | 0.85/0.98 | 45.73 | 0.53/0.8 | 62.35 | 0.44/0.67 | 81.74 | ||||
| Social Force [8] | 0.78/1.33 | 24.4 | 0.55/0.89 | 31.16 | 0.5/0.82 | 36.43 | 0.36/0.63 | 54.78 | ||||
| Vanilla LSTM | 0.5/0.99 | 31.55 | 0.33/0.63 | 37.69 | 0.29/0.52 | 36.43 | 0.24/0.41 | 63.8 | ||||
| Social LSTM [5] | 0.53/1.02 | 57.74 | 0.37/0.73 | 59.3 | 0.41/0.78 | 64.26 | 0.35/0.66 | 75.37 | ||||
| Social GAN [14] | 0.53/0.99 | 31.36 | 0.39/0.72 | 32.16 | 0.36/0.61 | 32.33 | 0.25/0.41 | 55.94 | ||||
| Our 2stg. SLSTM | 0.48/0.93 | 30.95 | 0.3/0.63 | 36.18 | 0.26/0.4 | 42.02 | 0.24/0.41 | 52.23 | ||||
| Our 2stg. SGAN | 0.44/0.83 | 32.74 | 0.27/0.52 | 40.2 | 0.28/0.5 | 35.33 | 0.26/0.43 | 58.6 | ||||
| Our 2stg. TTC-SLSTM | 0.39/0.73 | 29.17 | 0.3/0.62 | 22.61 | 0.23/0.36 | 36.29 | 0.24/0.41 | 52.23 | ||||
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2024 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).