In order to explore the safety of interactions between pedestrian groups moving in different directions, a risk assessment method for pedestrian safety was proposed based on a Seq2Seq network integrated with an AM. By analyzing the interactions among pedestrians, local density was introduced as an additional input feature to better characterize dynamic interpersonal behaviors. The observed sequential features of pedestrians within a continuous time window were fed into an LSTM-based encoder-decoder architecture, and AM was employed to capture multidimensional critical information during motion, enabling the reconstruction of complex crowd movement patterns across various scenarios. Furthermore, pedestrian safety risks were quantified by introducing a crowd pressure metric, and the pressure value ranges corresponding to three typical movement states were calculated to enable risk stratification. The results show that the average displacement error (ADE) and final displacement error (FDE) in trajectory prediction are less than 0.3 m under both unidirectional and bidirectional flow conditions at different densities, indicating the model's high accuracy in trajectory prediction. Based on the risk variation observed in bidirectional flow scenarios, it is found that the probability of accidents increases significantly when pedestrians' velocities change abruptly under high-density conditions. Therefore, timely warnings of crowd states and proactive intervention measures are required to mitigate potential safety risks.
| 科 Family | 属数 Number of genus | 种数 Number of species | 占总种数比例 Percentage of total species (%) | 属 Genus | 种数 Number of species | 占总种数比例 Percentage of total species (%) |
|---|---|---|---|---|---|---|
| 鹅膏菌科Amanitaceae | 2 | 11 | 5.26 | 鹅膏菌属 Amanita | 10 | 4.78 |
| 小菇科 Mycenaceae | 2 | 12 | 5.74 | 丝盖伞属 Inocybe | 5 | 2.39 |
| 多孔菌科 Polyporaceae | 8 | 14 | 6.70 | 蜡蘑属 Laccaria | 5 | 2.39 |
| 红菇科 Russulaceae | 3 | 23 | 11.00 | 小皮伞属 Marasmius | 6 | 2.87 |
| 小菇属 Mycena | 11 | 5.26 | ||||
| 光柄菇属 Pluteus | 5 | 2.39 | ||||
| 红菇属 Russula | 17 | 8.13 | ||||
| 栓菌属 Trametes | 5 | 2.39 |