Vision-Based Few-Shot Railway Intrusion Detection via Dual-Detector and Contrastive Learning

Tao Ye, Yuliang Li, Ruohan Liu, Xiaosong Li, Wei Chen, Zehua Wang, Fei Richard Yu, Victor C. M. Leung · IEEE Sensors Journal · 2025

With the rapid advancement of rail transit, railway intrusion detection has become a crucial and indispensable technology for ensuring the safe operation of trains. Current mainstream railway intrusion detection methods are based on deep learning and general object detection frameworks. However, they rely on large-scale, high-cost annotated datasets, leading to expensive data collection and poor performance in data-scarce railway scenarios. Meanwhile, few-shot object detection methods often generalize poorly to novel classes and suffer from catastrophic forgetting of base classes. To address these issues, we leverage a visible-light camera as the vision sensor and propose a few-shot railway intrusion detection method based on Dual Detector, Contrastive Learning within Novel Classes (CLNC), and an Efficient Fine-Tuning Framework. The Dual Detector design decouples the detection of base and novel classes, mitigating catastrophic forgetting, while the CLNC module enhances intra-class compactness and inter-class separability, improving generalization to novel classes. Additionally, the Efficient Fine-Tuning Framework optimizes module collaboration, further enhancing detection accuracy. Extensive experiments on the self-constructed few-shot railway intrusion dataset (FSRI2024), collected using a visible-light camera, demonstrate that the proposed G-FSRD achieves better performance compared to state-of-the-art few-shot object detection methods. It effectively preserves common base intrusions detection performance while efficiently adapting to rare novel intrusions, making it well-suited for railway intrusion detection.

Read the paper · More papers on PaperTik