UG-Net: An Unsupervised-Guided Framework for Railway Foreign Object Detection
Open Access
- 9 January 2026
- journal article
- research article
- Published by MDPI AG in Applied Sciences
- Vol. 16 (2) , 689
Abstract
Foreign object intrusion severely threatens railway safety. Existing methods struggle with open-set categories, high annotation costs, and poor label-efficient generalization. To address these issues, we propose UG-Net, an unsupervised-guided label-efficient detection framework. The core idea is a two-stage strategy: first, a masked autoencoder (MAE) learns “normality” priors from unlabeled data and generates a spatial attention mask via a deep feature difference strategy; then, this mask is fused as a fourth channel into a lightweight YOLOv8n detector. This approach effectively alleviates reliance on manual annotations. On a self-constructed railway dataset, UG-Net achieved 94.56% mAP@0.5 using only 200 labeled samples, significantly outperforming the YOLOv8n baseline (86.91%). The framework provides a label-efficient solution for industrial anomaly detection.Keywords
This publication has 22 references indexed in Scilit:
- An Improved Lightweight YOLOv5 Algorithm for Detecting Railway Catenary Hanging StringIEEE Access, 2023
- YOLOv7: Trainable Bag-of-Freebies Sets New State-of-the-Art for Real-Time Object Detectors2023
- Masked Autoencoders Are Scalable Vision Learners2022
- CutPaste: Self-Supervised Learning for Anomaly Detection and Localization2021
- A GAN-Based Anomaly Detection Method for Isoelectric Line in High-Speed Railway2019
- Unsupervised Anomaly Detection with Generative Adversarial Networks to Guide Marker Discovery2017
- Perceptual Losses for Real-Time Style Transfer and Super-Resolution2016
- Moving camera background-subtraction for obstacle detection on railway tracks2016
- Detecting Rails and Obstacles Using a Train-Mounted Thermal Camera2015
- Efficient railway tracks detection and turnouts recognition method using HOG featuresNeural Computing and Applications, 2012