[Paper Review] Improved YOLOv5 Based on Attention Mechanism and FasterNet for Foreign Object Detection on Railway and Airway tracks
This paper proposes an improved YOLOv5 model integrating FasterNet and attention mechanisms for enhanced foreign object detection on railway and airport runways. The method reduces parameters by 25.12% and GFLOPs by 10.63%, achieving 1.2% higher precision, 1.0% higher recall, and 0.6% higher mAP@.5, while maintaining mAP@.5-.95, on the newly introduced AARFOD dataset.
In recent years, there have been frequent incidents of foreign objects intruding into railway and Airport runways. These objects can include pedestrians, vehicles, animals, and debris. This paper introduces an improved YOLOv5 architecture incorporating FasterNet and attention mechanisms to enhance the detection of foreign objects on railways and Airport runways. This study proposes a new dataset, AARFOD (Aero and Rail Foreign Object Detection), which combines two public datasets for detecting foreign objects in aviation and railway systems.The dataset aims to improve the recognition capabilities of foreign object targets. Experimental results on this large dataset have demonstrated significant performance improvements of the proposed model over the baseline YOLOv5 model, reducing computational requirements.Improved YOLO model shows a significant improvement in precision by 1.2%, recall rate by 1.0%, and mAP@.5 by 0.6%, while mAP@.5-.95 remained unchanged. The parameters were reduced by approximately 25.12%, and GFLOPs were reduced by about 10.63%. In the ablation experiment, it is found that the FasterNet module can significantly reduce the number of parameters of the model, and the reference of the attention mechanism can slow down the performance loss caused by lightweight.
Motivation & Objective
- To address the growing risk of foreign object intrusions on railway and airport runways, including vehicles, animals, and debris.
- To improve detection accuracy and efficiency of YOLOv5 for real-time foreign object detection in critical transport infrastructure.
- To develop a new, large-scale benchmark dataset, AARFOD, combining aviation and rail foreign object data for improved model generalization.
- To reduce model complexity and inference cost without sacrificing detection performance.
Proposed method
- Replaced the backbone of YOLOv5 with FasterNet to reduce model parameters and FLOPs while maintaining feature extraction capability.
- Integrated an attention mechanism to enhance feature representation and mitigate performance degradation in lightweight models.
- Constructed the AARFOD dataset by combining two public datasets for foreign objects in aviation and rail contexts.
- Trained and evaluated the improved model on AARFOD, using mAP@.5, mAP@.5-.95, precision, recall, and computational efficiency as evaluation metrics.
- Conducted ablation studies to isolate the contributions of FasterNet and attention mechanisms to model performance and efficiency.
Experimental results
Research questions
- RQ1Can FasterNet effectively reduce model parameters and FLOPs in YOLOv5 while preserving detection accuracy for foreign object detection?
- RQ2How does the integration of an attention mechanism improve detection performance in a lightweight YOLOv5 variant?
- RQ3To what extent does the proposed model outperform baseline YOLOv5 on a newly constructed, large-scale foreign object detection dataset (AARFOD)?
- RQ4Does the combination of FasterNet and attention mechanisms mitigate the performance drop typically seen in lightweight models?
Key findings
- The proposed model achieved a 1.2% improvement in precision and a 1.0% increase in recall compared to the baseline YOLOv5.
- mAP@.5 improved by 0.6% while mAP@.5-.95 remained unchanged, indicating consistent performance across IoU thresholds.
- Model parameters were reduced by 25.12%, and GFLOPs were reduced by 10.63%, significantly improving efficiency.
- Ablation studies confirmed that FasterNet drastically reduced model size, and the attention mechanism helped stabilize performance in lightweight configurations.
- The AARFOD dataset effectively supports training and evaluation of foreign object detection models in combined rail and aviation environments.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.