基于双注意力残差预测-判别自编码的船舶轨迹异常检测

Ship Trajectory Anomaly Detection Based on a Dual-Attention Residual Predictive Discriminative Autoencoder

  • 摘要:目的】在船舶领域,航行安全始终是一个极其重要的核心问题。船舶轨迹预测能够为潜在碰撞风险提供前瞻性的避碰决策支持,但在人工操纵变化或设备异常等因素影响下,预测结果可能产生较大偏差,因此有必要引入轨迹异常检测机制以辅助实现更加可靠的避碰决策。【方法】在轨迹数据构建方面,通过生成正常轨迹与多类型异常轨迹样本,并提取船舶运动特征构建异常检测数据集。在模型设计方面,提出一种基于双注意力残差预测-判别自编码结构的异常检测模型,在编码阶段引入时间注意力与多头自注意力机制以增强时序特征表达,并通过残差瓶颈模块强化轨迹偏差特征,同时构建重构、预测与判别三分支协同的检测框架,实现多维信息联合异常判定。【结果】在转向异常、加速异常、停止异常和平移异常等多种场景下开展实验,通过Accuracy、Precision、Recall、F1和AUC等指标对模型性能进行评估。实验结果表明,所提出模型在不同异常类型下均表现出较好的检测性能,相比对比模型在识别准确性和稳定性方面均具有一定优势。【结论】实验结果表明,该方法能够有效刻画船舶航行行为变化特征,实现对异常航行行为的准确识别,为船舶航行安全监测与海事监管提供技术支持。

     

    Abstract: Objectives In the maritime domain, navigational safety remains a critical issue. Ship trajectory prediction can provide forward-looking decision support for potential collision avoidance. However, prediction results may exhibit significant deviations due to factors such as manual maneuvering variations or equipment anomalies. Therefore, it is necessary to introduce a trajectory anomaly detection mechanism to assist in achieving more reliable collision avoidance decisions. Methods In terms of trajectory data construction, normal trajectories and multiple types of abnormal trajectories were generated, and ship motion features were extracted to build an anomaly detection dataset. For model design, an anomaly detection model based on a dual-attention residual prediction-discrimination autoencoder architecture is proposed. Temporal attention and multi-head self-attention mechanisms are introduced in the encoding stage to enhance temporal feature representation, while a residual bottleneck module is employed to strengthen trajectory deviation features. Meanwhile, a collaborative detection framework integrating reconstruction, prediction, and discrimination branches is constructed to achieve anomaly identification through multi-dimensional information fusion. Results Experimental evaluations are conducted under multiple abnormal scenarios, including turning anomalies, acceleration anomalies, stopping anomalies, and translation anomalies. The model performance is assessed using metrics such as Accuracy, Precision, Recall, F1-score, and AUC. The results demonstrate that the proposed model achieves favorable detection performance across different anomaly types and exhibits advantages in both detection accuracy and stability compared with baseline models. Conclusions The experimental results verify the effectiveness of the proposed anomaly detection method in complex AIS trajectory scenarios. By integrating dual-attention feature modeling, residual feature representation, and a prediction-discrimination joint detection mechanism, the model can more accurately characterize variations in ship navigation behavior and effectively identify anomalous navigation activities, thereby providing technical support for maritime safety monitoring and maritime supervision.

     

/

返回文章
返回