1. Introduction
The challenge of predicting pedestrian trajectories has emerged as a pivotal challenge in recent years. This surge in interest is largely attributed to the profound implications it holds for autonomous vehicle navigation [
1], service robot deployment [
2], and the strategic planning of infrastructure and mass gatherings [
3]. In addressing these intricate challenges, researchers have traditionally employed physics-based (PB) models to simulate and understand pedestrian behavior. These models have been instrumental in dissecting collective phenomena and enhancing our understanding of pedestrian dynamics, particularly in high-density contexts relevant to crowd management and evacuation strategies [
3]. However, the landscape of pedestrian trajectory prediction has witnessed a paradigm shift over the last decade with the advent and integration of deep learning (DL) algorithms [
4]. Despite the opaqueness of these models in terms of interpretability, their superiority in mirroring observed trajectories has been markedly pronounced, especially when juxtaposed with their PB counterparts [
5]. Nonetheless, it is important to acknowledge that the domains of applicability for PB and DL models do not entirely overlap. While PB models excel in the realm of high-density simulations, providing insights into collective behavior, DL algorithms predominantly thrive in low-density environments where individual pedestrian movements are characterized by a greater degree of freedom and intricate long-range interactions [
4]. This paper introduces a novel, real-world pedestrian trajectory dataset, gathered during the Festival of Lights in Lyon. Field pedestrian trajectory datasets are typically gathered from low-density situations. In contrast, this dataset captures the nuanced dynamics of pedestrian movements across a large spectrum of density levels. It ranges from sparse crowds observed during show moments to the densely packed throngs seen after the event. Utilizing this dataset, we train DL algorithms, including Long Short-Term Memory (LSTM) networks and Generative Adversarial Networks (GAN). Our methodology is underscored by a novel approach: we harness situational classification predicated on crowd density to refine our models’ learning process. This two-stage process, which initially classifies the scene based on density and then predicts the trajectories, not only bolsters the efficiency of our models but also substantially elevates the precision of trajectory predictions. This improvement is demonstrated by comparative analyses with traditional DL algorithms and PB models.
Another challenge of trajectory prediction that we face in this paper is overlapping and colliding of predicted trajectories [
6]. To tackle that problem, we integrate a time-to-collision (TTC) [
7] term into the loss function of the algorithms. A parameter,
, is utilized to modulate the TTC’s influence on the training. Our empirical research uncovers a significant relationship between the optimal
values and the density levels, highlighting the intricacies of pedestrian behavior across different densities.
The remainder of this paper is organized as follows: first, we review related studies in
Section 2. Then, our novel dataset is presented in
Section 3 and the methodology for the empirical work is proposed in
Section 4. The results are shown in
Section 5. The last
Section 6 includes a discussion of the results and an outlook on future works.
2. Related work
The domain of pedestrian trajectory prediction is multifaceted, drawing insights from various disciplines and methodologies. The two main stream are the physics-based models and data-based algorithms [
4]. PB models have been the cornerstone of understanding pedestrian dynamics, especially in high-density scenarios. The Social Force model (SF), introduced by Helbing and Molnar [
8], exemplifies this approach, simulating pedestrian movement by balancing attractive and repulsive forces. Other famous PB models are the Optimal Reciprocal Collision Avoidance (ORCA) from Van den Berg et al. [
9] or the cellular automata model from Burstedde et al. [
10]. However, these models are not without their challenges, particularly when it comes to encapsulating the full range of crowd behavior [
4]. For more PB models see reviews like [
11,
12,
13].
In pursuit of addressing these limitations, the research frontier has gradually shifted towards data-driven methodologies. Notably, the past decade has witnessed a burgeoning interest in DL approaches. Pioneering works like the
Social LSTM from Alahi et al. [
5] introduce the use of Recurrent Neural Networks (RNN), specifically LSTM networks, in conjunction with a novel concept known as
Social Pooling. This innovative approach incorporates neighbouring information, thereby enriching the model’s contextual understanding. This social concept was further enhanced by Gupta et al. [
14] through
Social GAN, where the generative adversarial framework allowed for the generation of multiple plausible future paths, addressing the inherent uncertainty in human movement. Alternative methods employed for social predictions include attention mechanisms [
15], graph-based approaches [
16], and the utilization of relative coordinates [
17]. Additionally, deep learning architectures such as Convolutional Neural Networks [
18,
19] and Transformers [
20] have been applied in trajectory prediction tasks.
A pivotal aspect of this paper is the innovative classification of trajectory scenes based on crowd density prior to prediction. To the best of our knowledge, this approach is a novel paradigm, potentially owing to the scarcity of high-density, real-world pedestrian trajectory datasets. Xue et al. [
21] predict pedestrian destinations using bidirectional LSTM classification. This involves an additional classification stage to distinguish between possible destinations of pedestrians. They classify the route manually into four distinct categories. In another paper from the authors [
22] the classification is done based on a clustering algorithm. Kothari et al. [
23] categorize pedestrian trajectories based on the nature of interactions observed, identifying behaviors such as collision avoidance, leader-follower dynamics, and grouping behavior. An alternative methodology involves classifying trajectories based on individual pedestrian characteristics. Papathanasopoulou et al. [
24] concentrate on attributes such as age, gender, height, and speed to inform their classification. A second cornerstone of this work is the seamless integration of a PB concept, TTC, into the loss function of DL algorithms. This synthesis of PB principles and DL models is not an isolated endeavor. Alahi et al. [
5] and Khadka et al. [
25] utilized simulated data from PB models for training DL algorithms. Antonucci et al. [
26] embedded a PB model directly into the DL architecture. Furthermore, the works of Silvestri et al. [
27] and Kothari et al. [
28] stand out for their use of PB principles within the loss function to eliminate unrealistic predictions.
3. The Dataset
With a growing interest in data-based methods the significance of pedestrian trajectory data has been elevated in recent research. This area has seen a proliferation of datasets published by researchers, which can be categorized into field data and experimental data obtained in laboratory conditions. In the field studies, real-world settings are employed where individuals, unaware of their participation in a study, navigate through various scenarios. Famous field datasets are the ETH [
29] and UCY [
30] datasets, which are widely used in the machine learning community. Originating from surveillance videos, these datasets capture pedestrians scene of low density (0.1-0.5
). Other field datasets are the Stanford Drone Dataset [
31], the Grand Central Station Dataset [
32], and the Edinburgh Informatics Forum Dataset [
33]. None of these have densities above 0.2
. In the following we will present a field dataset with pedestrian densities between 0.2-2.2
.
The data was collected at Lyon´s Festival of Lights. The event running for four days from 7 pm to 11 pm attracts millions (2 million in 2022) of visitors each year. Key attractions are light shows at Place des Terreaux and Place Saint-Jean. We have installed cameras at the Place des Terreaux to film the area which is represented by the red rectangle in
Figure 1.
In
Figure 1a, the entirety of Place des Terreaux is depicted. The red box on the right-hand side delineates our designated tracking region.
Figure 1b offers an aerial perspective of this same area. This designated zone measures 9 meters in length and 6.5 meters in width. On average, we concurrently tracked 55 pedestrians, resulting in a mean density of 0.95
. The distribution of pedestrian density exhibited significant variability. During the light show, the majority of pedestrians congregated in the central area of the square, remaining largely stationary. Consequently, the pedestrian density within our tracking zone was relatively low. However, when the show concluded—which consistently lasts approximately 9 minutes—the crowd dynamics shifted dramatically as most individuals sought to exit towards another event. In this transition phase, the density within our tracking corridor surged, often exceeding 120 pedestrians moving simultaneously. For video calibration, we meticulously established nine calibration points, ensuring the precise tracking of pedestrian trajectories using the PeTrack software [
34]. Throughout our study, we recorded 5195 individual trajectories, which averaged a duration of 12.38 seconds and a mean velocity of 0.62
. For the training and testing of the algorithms we need trajectories of a minimal length of 7 seconds (see
4.1). Because many trajectories are more than 14 seconds long, they can be used more than once. All in all we get 7450 trajectories for training and testing.
4. Methodology
4.1. Overview
For predicting pedestrian trajectories we have pedestrian in a scene represented by image coordinates for each time instant , with und s the time step. The observed positions from to is taken as input and the aim is to predict future trajectories from to . Every scene involves a primary pedestrian and his neigbours over the timespan to . A neigbours is a pedestrian whose position at is closer to the position of the primary pedestrian than a radius R. Our dataset has a framerate of three observation for each second. We choose input trajectories of 9 observations (3 sec.) and want to predict 12 timesteps (4 sec.).
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
is the actual position of the
pedestrian at time
t while
is the predicted position. The Euclidean distance is denoted as
. The second distance-based metric, called final displacement error (FDE) [
30] displays the distance between the final point
of the predicted trajectory and the ground truth trajectory
These distance-based metrics are widely used in pedestrian trajectory predictions for their effectiveness in quantifying the goodness-of-fit. However, repulsive forces, which are pivotal in shaping interactions between pedestrians, are not taken into account [
35]. Consequently, these metrics do not account for potential overlaps or collisions between pedestrians. Therefore the collision metric is used to enhance the evaluating process
with
S includes all scenes in the test set,
represents a scene prediction containing
N agents, and
is the prediction of agent
i over the prediction time of
T, while
is the Iverson bracket
This metric counts a prediction as a collision when a predicted pedestrian trajectory intersects with neighboring trajectories, thus indicating the proportion of predictions where collisions occur. A vital factor in this calculation is the chosen pedestrian size
R. An increase in
R will likewise increase the number of collisions.
4.2. Prediction approaches
In the subsequent trajectory predictions, various trajectory prediction approaches ranging from traditional PB models to modern DL algorithms are chooses as benchmarks for comparison with our two-stage approach. We present the results of the Constant Velocity model (CV) and SF model [
8] as well as the results of a Vanilla LSTM, the Social LSTM (SLSTM) [
5] and the Social GAN [
14]. The position and velocity of the
pedestrian are denoted as
and
, respectively. For a system of
N pedestrians, the position and velocity vectors,
and
, have dimensions of
. All variables, including
and
, are functions of time
t.
4.2.1. Constant Velocity Model
The CV model assumes pedestrian velocities remain unchanged over time. It serves as a baseline for more complex models. The future position of a pedestrian is predicted as:
4.2.2. Social Force Model
Introduced by Helbing and Molnar [
8], the SF model treats pedestrians as particles influenced by forces. Within this framework, the model calculates acceleration based on the cumulative effect of three distinct forces, as delineated in equation
7
Here,
,
, and
signify the mass, current velocity, and desired velocity of pedestrian
i. The term
represents the repulsive force from other pedestrians, while
indicates the repulsive force from obstacles. The potential functions
and
are given by:
The first term of Equation
7 signifies the driving force experienced by the
pedestrian. This force propels the individual towards their desired speed and direction within a relaxation time
. The second term encapsulates the summation of social forces, originating from the repulsive effects as pedestrians endeavour to maintain a comfortable distance from one another. The third term accounts for the aggregate interaction forces between pedestrian
i and various obstacles.
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
LSTM networks, a class of RNN designed to learn long-term dependencies, have proven effective in handling sequential data, particularly for time series prediction tasks. Introduced by Hochreiter and Schmidhuber [
36], LSTMs address the vanishing and exploding gradient problems common in traditional RNNs, making them suitable for complex sequence modeling tasks such as trajectory prediction. The vanilla LSTM model considers historical trajectories to predict future positions.
Here,
predicts the future trajectory of a pedestrian
i at time
, based on its past positions
, over an observation window
.
4.2.4. Social LSTM
LSTM networks have demonstrated effective performance in sequence learning tasks. One such task, the prediction of pedestrian trajectories, presents the challenges, that the trajectory of a pedestrian can be significantly influenced by the trajectories of surrounding pedestrians. The number of these neighboring influences can fluctuate widely, especially in densely crowded environments [
37].
Enhancing the LSTM framework, the SLSTM by Alahi et al. [
5] incorporates a social pooling layer, enabling the model to consider the influence of neighboring pedestrians explicitly. This is a key distinction from the Vanilla LSTM, reflecting the model’s capacity to capture social interactions:
In this formulation, the inclusion of the index i and the collective pedestrian state x emphasizes the model’s attention to the surrounding pedestrians’ trajectories, making it adept at handling complex social behaviors in dense scenarios.
4.2.5. Social GAN
Another approach we take into account is the Social GAN (SGAN) introduced by Gupta et al. [
14]. This model extends traditional approaches by incorporating GANs to predict future trajectories. GANs, conceptualized by Goodfellow et al. [
38], consist of two competing networks: a Generator, which generates data samples, and a Discriminator, which evaluates the authenticity of the samples against real data. SGAN leverages this architecture to generate plausible future trajectories of pedestrians, addressing the complex dynamics of pedestrian movement in crowded spaces. A key feature of the SGAN model is its pooling mechanism, which processes the relative positions of pedestrians to each other. This mechanism is crucial for understanding the social interactions and dependencies among individuals in crowded environments
4.3. Two-stage process
The foundation of our innovative classification framework lies in its capacity to predict trajectories across varying density levels, marking a departure from traditional models that typically utilize a single algorithm to process a wide array of scenarios within a dataset. Our strategy entails segmenting the dataset according to the density of each scene, thereby generating distinct subsets. At the inception of our methodology, we establish well-defined criteria for classification. This process is underpinned by two distinct methodologies: a statistical analysis and a review of existing literature. The results of this clustering process are depicted in
Figure 2. These figures visually represent each dataset item as a point measurement each second, with the left side of
Figure 2 illustrating points based on their average density
and average velocity
and the right side based on their average density and flow, the flow being the product of the density by the average velocity
In these illustrations, the use of varied colors signifies the identification of distinct clusters. Additionally, to corroborate these findings, a hierarchical cluster analysis was undertaken, which yielded analogous outcomes.
We can see clear vertical colour switch’s of the points at densities around 0.7, 1.1, and 1.6
. Remarkably, without presetting the number of clusters or explicitly focusing on density levels, the K-Means algorithm autonomously reveals density-dependent clustering. The delineation of clusters and their boundary values align closely with those identified in the literature. Stefan Holl [
39] delineates critical density thresholds for various infrastructures, signifying points at which pedestrian behavior undergoes significant changes. According to Holl, densities below 0.7
indicate a free flow state, densities below 1.3
represent a bound flow, and values above 1.3
are indicative of congested flow. In our model, we refine these categories by slightly narrowing the bound flow range and subdividing the congested flow category into two distinct segments.
Figure 12 illustrates the procedural steps undertaken to evaluate our proposed methodology and within the sizes of the clusters, which are taken from
Figure 2.
Figure 3.
Schemata of our two-stage prediction approach
Figure 3.
Schemata of our two-stage prediction approach
New trajectory scene are given to our framework, where the initial step involves calculating the scene’s density using (
12) in individuals per square meter (
),
N represents the total number of pedestrians observed within the scene, and
A is the scene’s total area in square meters.
The density categorization is as follows: scenes with a density below 0.7 are labelled as lowD; densities ranging from 0.7 to 1.2 are classified as mediumD; densities between 1.2 and 1.6 are designated as highD; and densities exceeding 1.6 are identified as veryHD. Following classification, the scene is bifurcated into two segments: the initial segment spans 9 timesteps and serves as input for one of the four specialized Sub-LSTMs, while the subsequent segment, encompassing 12 timesteps, is utilized to appraise the LSTMs’ performance through the computation of error metrics ADE, FDE and COL.
Figure 4a to
4d provide illustrative examples of each density level encountered in our dataset.
In
Figure 4a, the scene exhibits very low density, with pedestrian movement primarily from two directions, leading to numerous interactions and avoidance behaviors. This is characteristic of our lowD data. Conversely,
Figure 4b showcases a moderately higher density, yet still affords space for interactions, avoidance, and bidirectional pedestrian flow. In
Figure 4c, representing highD data, the dynamics of pedestrian movement markedly differ from those observed in lowD and mediumD scenes, with movement predominantly unidirectional from the top, indicating a tendency to follow the pedestrian ahead. This pattern is even more pronounced in
Figure 4d, where the flow from the top is so dense that passage from the bottom becomes challenging, leading pedestrians to follow the leader with limited freedom of movement and space. These observed behavioral differences underpin our classification rationale.
4.4. Collision weight
Predictions of pedestrian trajectories presents the challenge to predict trajectory paths that do not collide with neighbours. Accurately measuring these collisions is challenging due to the shapes of pedestrians, which can vary from person to person. Traditionally, collisions are defined by the overlap of the radii of two pedestrians, as delineated in Equations
3 to
5. However, this method proves sub optimal for inclusion as a penalty function within the loss function of DL algorithms. Analysis of pedestrian trajectory data frequently reveals instances where collisions are not genuine but rather instances of grouping behavior, with individuals walking closely, sometimes shoulder-to-shoulder. It is not these interactions we aim to deter, but rather scenarios in which individuals move directly towards one another without any attempt to avoid collision—behaviors that are unrealistic and undesirable.
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:
A collision is imminent when
, whereas a large positive value for
indicates no collision risk. To implement
into the loss function we have to use an sigmoid function
f that has high values, if
is low and vice versa:
where
and
are slope and threshold parameters, respectively. This function is then integrated into the loss function, traditionally focused solely on minimizing the ADE. The revised loss function combines ADE with TTC loss, optimized through minimization:
where
modulates the influence of the TTC component in their loss function. The calculation of
considers all nearby pedestrians to the primary pedestrian, employing the minimum
to identify and mitigate the most critical potential collision scenario in the model.
4.5. Implementation details
The algorithms are implemented in the commonly accepted configurations of related contributions [
23]. All computations are performed using the PyTorch framework. The learning rate is set to 0.001 and an ADAM optimizer is utilizied. The batch size is set to 8 and training is carried out for 15 epochs, if not the early stop mechanism interrupt. This is the case, when the validations error starts to rise for three epochs. For validation and testing, a hold-out validation strategy is adopted by allocating 15% of the dataset for each validation and testing, while the remaining data serves as the training set. For capturing pedestrian interactions, we choose a circles with a radius of
m surrounding the primary pedestrian.
5. Results
We will unveil the predictive outcomes of our dataset using two distinct yet synergistic methods. Initially, we will showcase the performance of our two-stage prediction framework, comparing it with contemporary state-of-the-art methodologies. Subsequently, we will demonstrate the seamless integration of our two-stage process with the incorporation of the TTC term into the loss function, illustrating its efficacy in mitigating collision instances.
5.1. Two-Stage Predictions
The results of our predictions will be presented in
Table 1. As described in
Section 4.3 we evaluated the predictions on the different density levels lowD, mediumD, highD, and veryHD. For every approach we measure ADE, FDE and COL metrics.
The initial insight gleaned from
Table 1 reveals a clear trend: as density increases, the COL metric rises while the ADE/FDE diminish. This pattern emerges because higher densities naturally lead to reduced distances between individuals, consequently resulting in increased overlaps among agents. Additionally, it’s observed that velocities decrease as density intensifies, leading to trajectories that are shorter in spatial extent. This reduction in travel distance directly contributes to the observed decrease in both ADE and FDE metrics at higher densities. Furthermore, it is clear that the DB algorithm outperform the traditional models CV and SF in terms of ADE/FDE. In terms of COL metric SF performs very well.
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
In this study, we propose to integrate TTC in the loss function with the two-stage approach outlined in
Section 4.3. As described in Equation
17 the collision part in the loss function can be adjusted by a parameter
[
35]. If
is high, the impact of the TTC term is high compared to the impact of ADE and vice versa. In the following diagram, the impact of different values of
on the prediction accuracy of the SLSTM algorithm is displayed. In
Figure 5a for lowD data in
Figure 5b for mediumD data, in
Figure 5c for highD data, and in
Figure 5d for veryHD data. The first observation in each Figures is for
, which means, that it is equivalent to the value of our two-stage SLSTM in
Table 1.
Across all figures, a consistent pattern emerges: increasing the collision weight
generally results in fewer collisions. Optimal predictions occur at a specific
value, where ADE and FDE are equivalent to or lower than those at
. Each dataset exhibits a maximum effective
value beyond which ADE sharply increases. In the lowD dataset (
Figure 5a), the ideal
is 0.08, reducing ADE by 19% and collisions by 6%. Values slightly higher than 0.08 are still beneficial, yielding fewer collisions and enhanced avoidance behavior, but
values exceeding 0.16 lead to a significant increase in ADE. In the mediumD dataset (
Figure 5b), the optimal
is 0.04, reducing ADE and collisions by 3% and 40%, respectively. Here, a
value above 0.06 results in increased ADE, although a
of 0.1 reduces the collision metric by 75%. In the highD dataset, improvements in ADE are marginal too, only notable at a
of 0.02. However, the collision metric significantly decreases, by up to 48%, at a
of 0.08. Conversely, in the very high-density (veryHD) dataset, increasing collision weight initially results in a rise in ADE, with no subsequent decrease. While the collision metric decreases by 37% at
values, there’s no improvements for ADE. These empirical observations lead to the insight, that pedestrian behavior at different densities is very different and need different parameter configurations. At lower densities our TTC term can improve overall accuracy (ADE and COL) in higher densities we can only reduce COL, by taking higher ADE into account.
6. Conclusions
Pedestrian behavior is inherently complex, exhibiting a wide variety of patterns across different contexts. This paper introduced a novel pedestrian trajectory dataset, characterized by its diversity in situational contexts, including varying densities and motivations. Our analysis of the data reveals variations in pedestrian behaviors correlating with the density of the scene. To address these variations, we propose a novel two-stage classification and prediction process. This approach first classifies scenes based on density and then applies the suitable model for predicting behavior within that specific density context. Implementing this framework enhanced the prediction accuracy of two famous DL algorithms, Social LSTM and Social GAN.
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.
This research opens several avenues for future investigation in the field of pedestrian trajectory prediction, especially concerning heterogeneous datasets characterized by variable densities. Current methodologies typically rely on a one-size-fits-all model for behavior prediction across all conditions. We advocate for the development and application of multiple specialized models, each tailored to different scene characteristics, with scene density being a pivotal factor. While focusing on density has proven to be a successful strategy, exploring additional factors could yield further improvements. For instance, our methodology utilized an estimate of overall scene density. However, pedestrians do not take global densities for there decision-making into account, but rather local densities. Wirth et al. [
40] demonstrate that pedestrian decisions are primarily influenced by their visual neighborhood. Future studies should investigate the impact of assessing local density variations within a scene, which could be particularly beneficial in environments exhibiting a wide range of density levels. This direction could unlock new dimensions of accuracy and reliability in trajectory prediction models.
Moreover, incorporating the TTC concept into the loss function has shown promise in enhancing prediction accuracy at lower density levels. Future research should explore alternative loss functions, particularly for high-density scenarios, where the traditional ADE based approaches may not suffice. Investigating other metrics that could more effectively capture the complexities of high-density pedestrian behavior is crucial for advancing the field.
Author Contributions
Conceptualization, R.K. and A.T.; methodology, R.K. and A.T.; software, R.K.; validation, R.K. and A.T.; formal analysis, R.K.; investigation, R.K.; resources, R.K.; data curation, R.K.; writing—original draft preparation, R.K.; writing—review and editing, R.K. and A.T.; visualization, R.K.; supervision, A.T.; project administration, A.T.; funding acquisition, A.T. All authors have read and agreed to the published version of the manuscript.
Funding
The authors acknowledge the Franco-German research project MADRAS funded in France by the Agence Nationale de la Recherche (ANR, French National Research Agency), grant number ANR-20-CE92-0033, and in Germany by the Deutsche Forschungsgemeinschaft (DFG, German Research Foundation), grant number 446168800.
Data Availability Statement
Acknowledgments
We would like to express our gratitude to Professor Armin Seyfried for his engaging and insightful discussions, which have borne fruit in the form of valuable ideas.
Conflicts of Interest
The authors declare no conflict of interest.
Abbreviations
The following abbreviations are used in this manuscript:
| 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]
|
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/).