YOLO-AOD: A lightweight algorithm for detecting foreign object invasions on railway tracks in foggy conditions

Yue Zhang , Wentao Zhang , Yi Chun

Journal of Measurement Science and Instrumentation ›› 2026, Vol. 17 ›› Issue (3) : 508 -522.

PDF (4441KB)
Journal of Measurement Science and Instrumentation ›› 2026, Vol. 17 ›› Issue (3) :508 -522. DOI: 10.62756/jmsi.1674-8042.2026043
Advanced test and detection technology
research-article
YOLO-AOD: A lightweight algorithm for detecting foreign object invasions on railway tracks in foggy conditions
Author information +
History +
PDF (4441KB)

Abstract

Considering the performance degradation of object detection algorithms in foggy conditions, a lightweight end-to-end detection algorithm is proposed by adding a dehazing module AOD-Net to the front end of YOLOv8 model, called YOLO-AOD. The architecture of the proposed algorithm is composed of two modules: a dehazing module and a detection module. Firstly, the dehazing module employs a lightweight dehazing network, AOD-Net, which is to enhance image clarity and reduce the interference of fog on detection performance. Secondly, the detection module employs YOLOv8n algorithm as a baseline framework, with targeted modifications made to accommodate the characteristics of dehazed images. Thirdly, an enhanced FasterNet block is utilized in the construction of C2f-RGN-F module, thereby achieving model lightweighting and enhancing feature expression capability. Furthermore, the shallow feature information from backbone network is fused in neck network, thereby effectively addressing the issue of detail loss caused by multiple convolution operations. This enhancement of the model’s ability to detect distant foreign objects (small targets) is achieved. Finally, by combining CIoU and normalized Wasserstein distance, a new N-CIoU loss function is designed to improve the model’s robustness in locating boundary-blurred targets. The experimental findings demonstrate that on a self-built foggy track foreign object dataset, YOLO-AOD attains an mAP@0.5 of 80.4%, an inference speed of 94 frames per second, with a concomitant reduction in parameters and computation to 2.7 M and 7.3 GFLOPS, respectively. This significant performance enhancement over YOLOv8n and various mainstream detection models is a notable achievement. The findings substantiate the effectiveness and practicality of this approach in foggy conditions.

Keywords

object detection / YOLOv8n / foggy conditions / lightweight / C2f-RGN-F / shallow feature information

Cite this article

Download citation ▾
Yue Zhang, Wentao Zhang, Yi Chun. YOLO-AOD: A lightweight algorithm for detecting foreign object invasions on railway tracks in foggy conditions. Journal of Measurement Science and Instrumentation, 2026, 17 (3) : 508-522 DOI:10.62756/jmsi.1674-8042.2026043

登录浏览全文

4963

注册一个新账户 忘记密码

References

[1]

Ren S Q, He K M, Girshick R, et al. Faster R-CNN: towards real-time object detection with region proposal networks[J]. IEEE Transactions on Pattern Analysis and Machine Intelligence, 2017, 39(6): 1137-1149.

[2]

He K M, Gkioxari G, Dollár P, et al. Mask R-CNN[C]//2017 IEEE International Conference on Computer Vision, October 22-29, 2017, Venice, Italy. New York: IEEE, 2017: 2980-2988.

[3]

Cai Z W, Vasconcelos N. Cascade R-CNN: delving into high quality object detection[C]//2018 IEEE/CVF Conference on Computer Vision and Pattern Recognition, June 18-23, 2018, Salt Lake City, UT, USA. New York: IEEE, 2018: 6154-6162.

[4]

Redmon J, Divvala S, Girshick R, et al. You only look once: unified, real-time object detection[C]//2016 IEEE Conference on Computer Vision and Pattern Recognition, June 27-30, 2016, Las Vegas, NV, USA. New York: IEEE, 2016: 779-788.

[5]

Zhang H, Han Y P, Li R H. Surface defect detection of steel materials based on improved YOLOv8[J]. Journal of Test and Measurement Technology, 2025, 39(4): 430-438.

[6]

Redmon J, Farhadi A. YOLOv3: an incremental improvement[PP/OL]. (2018-04-08)[2025-06-23].

[7]

Li Z Y, Hu X, Ma B B, et al. GIS-YOLO: an improved YOLOv8 algorithm for instance segmentation of GIS isolating switches[J]. Journal of Test and Measurement Technology, 2026, 40(1): 112-123.

[8]

Liu W, Anguelov D, Erhan D, et al. SSD: single shot MultiBox detector[M]//Computer Vision- ECCV 2016. Cham: Springer, 2016: 21-37.

[9]

Law H, Jia D. CornerNet: detecting objects as paired keypoints[M]//Computer Vision-ECCV 2018. Cham: Springer, 2018: 765-781.

[10]

Guo B Q, Shi J F, Zhu L Q, et al. High-speed railway clearance intrusion detection with improved SSD network[J]. Applied Sciences, 2019, 9(15): 2981.

[11]

Zhang J, Wang D Z, Mo G J, et al. High-speed rail foreign body intrusion detection algorithm based on improved YOLOv3[J]. Computer Technology and Development, 2022, 32(2): 69-74.

[12]

Xu Y, Tao H Q, Hu L L. Railway foreign body intrusion detection based on faster R-CNN network model[J]. Journal of the China Railway Society, 2020, 42(05): 91-98.

[13]

Guan L, Jia L M, Xie Z Y. Research on lightweight model for railway intrusion detection integrating attention mechanism[J]. Journal of the China Railway Society, 2023, 45(5): 72-81.

[14]

Meng C X, Wang Z N, Shi L, et al. Improved foreign object intrusion detection algorithm for railway with YOLOv5s[J]. Small Microcomputer System, 2024, 45(4): 879-886.

[15]

Yan P, Li Y X, Li Z L, et al. High-speed rail foreign object intrusion detection algorithm based on improved YOLOv7[J]. Radio Engineering, 2024, 54(5): 1099-1109.

[16]

Lou Z Z, Zhang X, Hu S Z, et al. Foggy weather object detection method based on YOLOX\_s[J]. Computer Science, 2024, 51(7): 206-213.

[17]

Huang S C, Le T H, Jaw D W. DSNet: joint semantic learning for object detection in inclement weather conditions[J]. IEEE Transactions on Pattern Analysis and Machine Intelligence, 2021, 43(8): 2623-2633.

[18]

Xie Y H, Xie Y, Chen L, et al. Object detection in real-world hazy scene[J]. Journal of Computer-Aided Design & Computer Graphics, 2021, 33(5): 733-745.

[19]

Liu W Y, Ren G F, Yu R S, et al. Image-adaptive YOLO for object detection in adverse weather conditions[J]. Proceedings of the AAAI Conference on Artificial Intelligence, 2022, 36(2): 1792-1800.

[20]

Li C Y, Guo C L, Guo J C, et al. PDR-net: perception-inspired single image dehazing network with refinement[J]. IEEE Transactions on Multimedia, 2020, 22(3): 704-716.

[21]

Lai J A, Chen Z Q, Sun Z W, et al. A lightweight hazy weather object detection method based on YOLOv5[J]. Computer Engineering and Applications, 2024, 60(6): 78-88.

[22]

Ma Y H, Cai J F, Tao J X, et al. Foggy image detection based on DehazeNet with improved SSD[C]//2021 the 5th International Conference on Innovation in Artificial Intelligence, Xiamen China. New York: ACM, 2021: 82-86.

[23]

Cai B L, Xu X M, Jia K, et al. DehazeNet: an end-to-end system for single image haze removal[J]. IEEE Transactions on Image Processing, 2016, 25(11): 5187-5198.

[24]

Li B Y, Peng X L, Wang Z Y, et al. AOD-net: all-in-one dehazing network[C]//2017 IEEE International Conference on Computer Vision, October 22-29, 2017, Venice, Italy. New York: IEEE, 2017: 4780-4788.

[25]

Chen J R, Kao S H, He H, et al. Run, don't walk: chasing higher FLOPS for faster neural networks[C]//2023 IEEE/CVF Conference on Computer Vision and Pattern Recognition, June 17-24, 2023, Vancouver, BC, Canada. New York: IEEE, 2023: 12021-12031.

[26]

Liu G L, Reda F A, Shih K J, et al. Image inpainting for irregular holes using partial convolutions[C]//Ferrari V, Hebert M, Sminchisescu C, et al. Computer Vision–ECCV 2018. Cham: Springer International Publishing, 2018: 89-105.

[27]

Ioffe S, Szegedy C. Batch normalization: accelerating deep network training by reducing internal covariate shift[C]//Proceedings of the 32nd International Conference on Machine Learning - Volume 37. New York: ACM, 2015: 448-456.

[28]

Cai T L, Ma J X, Wang Y, et al. Learning graph normalization for graph neural networks[J]. IEEE Transactions on Neural Networks and Learning Systems, 2021, 33(12): 7451-7463.

[29]

Zheng Z H, Wang P, Liu W, et al. Distance-IoU loss: faster and better learning for bounding box regression[J]. Proceedings of the AAAI Conference on Artificial Intelligence, 2020, 34(7): 12993-13000.

[30]

Li X, Wang W H, Wu L J, et al. Generalized focal loss: learning qualified and distributed bounding boxes for dense object detection[PP/OL]. (2020-06-08)[2025-06-26].

[31]

Xu C, Wang J W, Yang W, et al. Detecting tiny objects in aerial images: a normalized Wasserstein distance and a new benchmark[J]. ISPRS Journal of Photogrammetry and Remote Sensing, 2022, 190: 79-93.

PDF (4441KB)

0

Accesses

0

Citation

Detail

Sections
Recommended

/

〈 〉