Next Article in Journal
Multimodal Emotion Recognition Using Modality-Wise Knowledge Distillation
Previous Article in Journal
FedECPA: An Efficient Countermeasure Against Scaling-Based Model Poisoning Attacks in Blockchain-Based Federated Learning
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
This is an early access version, the complete PDF, HTML, and XML versions will be available soon.
Article

Dual Weakly Supervised Anomaly Detection and Unsupervised Segmentation for Real-Time Railway Perimeter Intrusion Monitoring

1
State Key Laboratory of High-Speed Maglev Transportation Technology, CRRC Qingdao Sifang Co., Ltd., Qingdao 266111, China
2
School of Traffic and Transportation, Beijing Jiaotong University, Beijing 100044, China
*
Author to whom correspondence should be addressed.
Sensors 2025, 25(20), 6344; https://doi.org/10.3390/s25206344
Submission received: 13 September 2025 / Revised: 10 October 2025 / Accepted: 12 October 2025 / Published: 14 October 2025
(This article belongs to the Section Sensing and Imaging)

Abstract

The high operational velocities of high-speed trains present constraints on their onboard track intrusion detection systems for real-time capture and analysis, encompassing limited computational resources and motion image blurring. This emphasizes the critical necessity of track perimeter intrusion monitoring systems. Consequently, an intelligent monitoring system employing trackside cameras is constructed, integrating weakly supervised video anomaly detection and unsupervised foreground segmentation, which offers a solution for monitoring foreign objects on high-speed train tracks. To address the challenges of complex dataset annotation and unidentified target detection, weakly supervised learning detection is proposed to track foreign object intrusions based on video. The pretraining of Xception3D and the integration of multiple attention mechanisms have markedly enhanced the feature extraction capabilities. The Top-K sample selection alongside the amplitude score/feature loss function effectively discriminates abnormal from normal samples, incorporating time-smoothing constraints to ensure detection consistency across consecutive frames. Once abnormal video frames are identified, a multiscale variational autoencoder is proposed for the positioning of foreign objects. A downsampling/upsampling module is optimized to increase feature extraction efficiency. The pixel-level background weight distribution loss function is engineered to jointly balance background authenticity and noise resistance. Ultimately, the experimental results indicate that the video anomaly detection model achieved an AUC of 0.99 on the track anomaly detection dataset and processes 2 s video segments in 0.41 s. The proposed foreground segmentation algorithm achieved an F1 score of 0.9030 in the track anomaly dataset and 0.8375 on CDnet2014, with 91 Frames per Second, confirming its efficacy.
Keywords: foreign object intrusion; high-speed railway; anomaly detection; foreground segmentation; weakly supervised foreign object intrusion; high-speed railway; anomaly detection; foreground segmentation; weakly supervised

Share and Cite

MDPI and ACS Style

Wu, D.; Tian, Y.; Gao, F.; Wei, X.; Wang, C. Dual Weakly Supervised Anomaly Detection and Unsupervised Segmentation for Real-Time Railway Perimeter Intrusion Monitoring. Sensors 2025, 25, 6344. https://doi.org/10.3390/s25206344

AMA Style

Wu D, Tian Y, Gao F, Wei X, Wang C. Dual Weakly Supervised Anomaly Detection and Unsupervised Segmentation for Real-Time Railway Perimeter Intrusion Monitoring. Sensors. 2025; 25(20):6344. https://doi.org/10.3390/s25206344

Chicago/Turabian Style

Wu, Donghua, Yi Tian, Fangqing Gao, Xiukun Wei, and Changfan Wang. 2025. "Dual Weakly Supervised Anomaly Detection and Unsupervised Segmentation for Real-Time Railway Perimeter Intrusion Monitoring" Sensors 25, no. 20: 6344. https://doi.org/10.3390/s25206344

APA Style

Wu, D., Tian, Y., Gao, F., Wei, X., & Wang, C. (2025). Dual Weakly Supervised Anomaly Detection and Unsupervised Segmentation for Real-Time Railway Perimeter Intrusion Monitoring. Sensors, 25(20), 6344. https://doi.org/10.3390/s25206344

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop