Publishing Service

Polishing & Checking

Journal of Zhejiang University SCIENCE A

ISSN 1673-565X(Print), 1862-1775(Online), Monthly

Lateral risk prediction and influencing factor analysis of container trucks based on trajectory reconstruction data

Abstract: With the continuous growth of the demand for container transportation, the proportion of container trucks passing through ports and surrounding roads has increased significantly. Due to their large size and poor maneuverability, once a truck accident occurs, it is often accompanied by serious casualties and property losses. Current research on traffic conflicts for container trucks is limited by the lack of high-quality data: first, publicly available container truck trajectory datasets are extremely rare; second, although drones have the ability to collect data over a large range, their shooting data have problems such as limited accuracy and discontinuous trajectories, which make it difficult to meet the high requirements of micro-modeling for data quality. This problem directly restricts the accuracy of conflict prediction and the credibility of causal analysis. To improve the accuracy and completeness of trajectory data, we introduce a trajectory reconstruction method to repair and complete the original trajectory. The experimental results show that the reconstructed trajectory is significantly better than the original data in terms of continuity and rationality. On this basis, a two-dimensional time to collision (2D-TTC) indicator was constructed to identify side-swipe conflict events, and based on the extraction of micro-behavior features, sample sets of side-swipe and rear-end conflicts were constructed, and a variety of machine learning models were introduced to carry out conflict prediction analysis. The results show that the gradient boosting decision tree (GBDT) model performs best in side-swipe conflict prediction, and the extreme gradient boosting (XGBoost) model in rear-end conflict prediction. By introducing the Shapley additive explanation (SHAP) method to improve the interpretability of the model, our analysis shows that the key factors influencing side-swipe conflict are the lateral speed and the average longitudinal speed within 5 s. The lateral speed reflects the lateral deviation of the vehicle, and the average longitudinal speed within 5 s reflects the driving stability and acceleration trend in a short time. The two together determine the lateral controllability of the vehicle in the dynamic process. Rear-end conflict is affected mainly by the change in longitudinal acceleration, revealing the instability of the vehicle during braking and the lack of control over the distance between the vehicle and the preceding vehicle. Finally, the model performance was optimized through feature ablation experiments, where, in the prediction of side-swipe conflicts, the GBDT achieved an accuracy of 0.911 and an area under the receiver operating characteristic curve (AUC) of 0.953.

Key words: Real-time conflict prediction; Container truck dataset; Trajectory reconstruction; Explainable machine learning; Side-swipe conflict

Chinese Summary  <1> 基于轨迹重构数据的集装箱卡车横向风险预测及影响因素分析

作者:祝志豪,刘赫煊,程荣军
机构:宁波大学,海运学院,中国宁波,315211
目的:港口集装箱卡车在运行过程中,车辆微观行为特征复杂多变,易诱发侧擦和追尾等交通冲突事件,进而对道路安全造成潜在威胁。本文旨在研究集装箱卡车运行中关键微观行为特征对交通冲突的影响机理,构建基于可解释性机器学习的冲突预测方法,以提升冲突事件的提前识别能力与分析可信度,从而为主动交通安全管理提供支持。
创新点:1.提出基于二维空间的碰撞时间(TTC)指标,实现了侧擦冲突事件的有效识别,弥补了传统单维TTC方法在侧滑冲突识别中的不足;2.构建面向集装箱卡车的可解释冲突预测模型,通过特征组合与消融试验优化预测性能,并利用沙普利可加性解释方法(SHAP)分析揭示关键微观行为特征的影响机理,为主动安全决策提供支持。
方法:1.通过轨迹重构方法对无人机采集的集装箱卡车交通流数据进行处理,提升轨迹的连续性和物理一致性,为后续特征提取和冲突分析提供可靠数据基础;2.基于二维空间构建TTC指标,实现侧滑冲突事件的识别与提取,并结合微观行为特征构建侧擦和追尾冲突样本集,为冲突预测模型的建立提供数据支持;3.通过多种机器学习模型对典型冲突事件进行短时预测,并采用SHAP方法从可解释性角度分析关键特征对两类冲突的影响机理,验证所提出方法的有效性。
结论:1.轨迹重构能够有效提升无人机采集数据在速度、加速度和加加速度层面的合理性,使其更符合车辆真实运动特性;2.通过考虑车辆在二维空间中的交互关系构建的2D-TTC指标可以有效识别侧滑冲突事件,并揭示横向速度与短时纵向速度特征对冲突发生的显著影响;3.基于微观行为特征构建的冲突预测模型中,梯度提升决策树(GBDT)与极端梯度提升(XGBoost)分别在侧擦和追尾冲突识别中表现最佳,其模型精度与AUC指标均达到较高水平,为主动交通安全管理提供可靠技术支撑。

关键词组:实时冲突预测;集装箱卡车数据集;轨迹重构;可解释性机器学习;侧滑冲突


Share this article to: More

Go to Contents

References:

<Show All>

Open peer comments: Debate/Discuss/Question/Opinion

<1>

Please provide your name, email address and a comment





DOI:

10.1631/jzus.A2500331

CLC number:

Download Full Text:

Click Here

Downloaded:

1462

Download summary:

<Click Here> 

Downloaded:

152

Clicked:

639

Cited:

0

On-line Access:

2026-01-12

Received:

2025-07-19

Revision Accepted:

2025-10-09

Crosschecked:

2026-01-12

Journal of Zhejiang University-SCIENCE, 38 Zheda Road, Hangzhou 310027, China
Tel: +86-571-87952276; Fax: +86-571-87952331; E-mail: jzus@zju.edu.cn
Copyright © 2000~ Journal of Zhejiang University-SCIENCE