A dual-phase transformer with multi-dimensional fusion for real-time steel surface defect detection
Source abstract
Abstract
Accurate detection of small and low-contrast objects remains a major challenge for modern object detectors, particularly in defect detection. Inherent limitations, including shape variation, size variation, and low-contrast defects in defective images, severely hinder the performance of existing detection frameworks. To tackle these issues, we develop a real-time, end-to-end transformer detector, named dual-phase hybrid multi-dimensional DETR (DHM-DETR). Firstly, we design a multi-dimensional feature fusion (MDFF) block, which leverages element-wise multiplication and residual connections to enhance implicit feature dimensions, particularly improving detection sensitivity for low-contrast defects and small objects. Secondly, a hybrid query propagation (HQP) mechanism is developed to redistribute supervision across decoder stages, improving feature refinement and convergence stability. Thirdly, we devise a dual-phase hybrid strategy (DHS) to dynamically adapt the decoder architecture based on training epochs, boosting convergence efficiency while minimising computational overhead. Extensive experiments are performed on the NEU-DET and GC10-DET defect detection datasets to assess the effectiveness of the proposed method, achieving significant improvements of 3.1% and 5.1% in mAP50 over state-of-the-art methods. Data perturbation study and model generalisation analysis on ASSDD dataset validate the robustness and transferability of our model, highlighting its effectiveness in challenging industrial inspection scenarios.
Source: openalex_inverted_index · Quality: baseline
Research context
OpenAlex topics: Ultrasonics and Acoustic Wave Propagation · Non-Destructive Testing Techniques · Surface Roughness and Optical Measurements
SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.
Affiliations
Nanjing University of Science and Technology
References (62)
Show source-provided references
1. 10.1016/j.autcon.2024.10548110.1016/j.autcon.2024.105481 ↗
2. Yang J, Fu G, Zhu W, et al. A deep learning-based surface defect inspection system using multiscale and channel-compressed features. IEEE Trans Instrum Meas. 2020;69(10):8032–8042.
3. 10.1109/TIM.2019.296355510.1109/TIM.2019.2963555 ↗
4. 10.1016/j.engappai.2024.10837910.1016/j.engappai.2024.108379 ↗
5. 10.1016/j.ensm.2024.10343010.1016/j.ensm.2024.103430 ↗
6. Hecht O, Dishon G. Automatic optical inspection (AOI). In: 40th Conf. Proc. on Electronic Components and Technology; Las Vegas, NV, USA. IEEE; 1990. p. 659–661.
7. 10.1016/j.aei.2019.10100410.1016/j.aei.2019.101004 ↗
8. He K, Gkioxari G, Dollár P, et al. In: Proc. IEEE Int. Conf. Computer Vision (ICCV); Venice, Italy. 2017. p. 2961–2969.
9. Girshick R. Fast R-CNN. In: Proc. IEEE Int. Conf. Computer Vision (ICCV); Santiago, Chile. 2015. p. 1440–1448.
10. Redmon J, Divvala S, Girshick R, et al. You only look once: unified, real-time object detection. In: Proc. IEEE Conf. Computer Vision and Pattern Recognition (CVPR); Las Vegas, NV, USA. 2016. p. 779–788.
11. Redmon J, Farhadi A. Yolo9000: better, faster, stronger. In: Proc. IEEE Conf. Computer Vision and Pattern Recognition (CVPR); Honolulu, HI, USA. 2017. p. 7263–7271.
12. Redmon J, Farhadi A. Yolov3: an incremental improvement. arXiv Prepr arXiv: 1804.02767. 2018.
13. 10.1088/1361-6501/add6c510.1088/1361-6501/add6c5 ↗
14. 10.1016/j.jvcir.2024.10417010.1016/j.jvcir.2024.104170 ↗
15. 10.1016/j.jvcir.2025.10456010.1016/j.jvcir.2025.104560 ↗
16. Jin Z, He T, Qiao L, et al. Mes-yolo: an efficient lightweight maritime search and rescue object detection algorithm with improved feature fusion pyramid network. J Vis Commun Image Represent. 2025;109:104453.10.1016/j.jvcir.2025.104453 ↗
17. Chen F, Zhang H, Hu K, et al. Enhanced training of query-based object detection via selective query recollection. In: Proc. IEEE/CVF Conf. Computer Vision and Pattern Recognition (CVPR); Vancouver, BC, Canada. 2023. p. 23756–23765.
18. 10.1016/j.eswa.2024.12614210.1016/j.eswa.2024.126142 ↗
19. 10.1109/TIM.2023.330775310.1109/TIM.2023.3307753 ↗
20. Wu G, Luo J, Wang M, et al. Deep learning-based identification of pipeline weld defects using automated ultrasonic testing, Nondestr. Test Eval. 2026:41(4) 2321–2342.10.1080/10589759.2025.2505094 ↗
21. 10.1080/10589759.2020.177458010.1080/10589759.2020.1774580 ↗
22. 10.1080/10589759.2025.254239710.1080/10589759.2025.2542397 ↗
23. 10.1080/10589759.2024.231926110.1080/10589759.2024.2319261 ↗
24. Carion N, Massa F, Synnaeve G, et al. End-to-end object detection with transformers. In: European Conf. Computer Vision (ECCV), LNCS 12346; Glasgow, UK. Springer; 2020. p. 213–229.
25. Zhu X, Su W, Lu L, et al. Deformable DETR: deformable transformers for end-to-end object detection. arXiv Prepr arXiv: 2010.04159. 2021.
26. Meng D, Chen X, Fan Z, et al. Conditional detr for fast training convergence. In: Proc. IEEE/CVF Int. Conf. Computer Vision (ICCV); Montreal, QC, Canada. 2021. p. 3651–3660.
27. Li F, Zhang H, Liu S, et al. Dn-detr: accelerate detr training by introducing query denoising. In: Proc. IEEE/CVF Conf. Computer Vision and Pattern Recognition (CVPR); New Orleans, LA, USA. 2022. p. 13619–13627.
28. Yao Z, Ai J, Li B, et al. Efficient detr: improving end-to-end object detector with dense prior. arXiv Prepr arXiv: 2104.01318. 2021.
29. Zhao Y, Lv W, Xu S, et al. Detrs beat yolos on real-time object detection. In: Proc. IEEE/CVF Conf. Computer Vision and Pattern Recognition (CVPR); Seattle, WA, USA. 2024. p. 16965–16974.
30. Wang S, Xia C, Lv F, et al. Rt-detrv3: real-time end-to-end object detection with hierarchical dense positive supervision. In: IEEE/CVF Winter Conf. Applications of Computer Vision (WACV); Waikoloa, HI, USA. 2025. p. 1628–1636.
31. Zhao J, Wei F, Xu C. Hybrid proposal refiner: revisiting DETR series from the faster R-CNN perspective. In: Proc. IEEE/CVF Conf. Computer Vision and Pattern Recognition (CVPR); Seattle, WA, USA. 2024. p. 17416–17426.
32. Huang Z, Xiao H, Zhang R, et al. Multi-scale feature pair based R-CNN method for defect detection. In: Proc. Int. Conf. Internet of Things (iThings); Atlanta, GA, USA. IEEE; 2019. p. 46–51.
33. 10.1109/TIM.2023.327798910.1109/TIM.2023.3277989 ↗
34. 10.1109/TIM.2021.304927610.1109/TIM.2021.3049276 ↗
35. 10.1016/j.jvcir.2019.02.00510.1016/j.jvcir.2019.02.005 ↗
36. 10.1080/10589759.2024.238291510.1080/10589759.2024.2382915 ↗
37. You K, Liu H. Feature detection of mineral zoning in spiral slope flow under complex conditions based on improved YOLOv5 algorithm. Phys Scr. 2024;99(1):016001.10.1088/1402-4896/ad0f7d ↗
38. 10.1080/10589759.2025.245176810.1080/10589759.2025.2451768 ↗
39. Hao Z, Liu B, Xu B. En-yolo: a feature-enhanced model for precise hot rolled steel surface defect detection. Nondestr Test Eval. 2025:1–23.
40. 10.1088/1361-6501/ad9d6510.1088/1361-6501/ad9d65 ↗
41. 10.1088/1361-6501/adf65b10.1088/1361-6501/adf65b ↗
42. 10.1007/s10845-025-02613-510.1007/s10845-025-02613-5 ↗
43. 10.1109/TIM.2023.328230210.1109/TIM.2023.3282302 ↗
44. 10.1016/j.eswa.2024.12339410.1016/j.eswa.2024.123394 ↗
45. 10.1016/j.egyr.2023.05.23510.1016/j.egyr.2023.05.235 ↗
46. Gan Y, Ren X, Liu H, et al. A novel steel surface defect detector with wavelet upsampling and frequency-domain attention, Nondestr. Test Eval. 2025:1–25.
47. 10.1080/10589759.2025.258463110.1080/10589759.2025.2584631 ↗
48. 10.1016/j.ymssp.2026.11392310.1016/j.ymssp.2026.113923 ↗
49. You K, Gu Y, Lin Y, et al. A novel physical constraint-guided quadratic neural networks for interpretable bearing fault diagnosis under zero-fault sample, nondestr. Test Eval. 2025:1–31.
50. Brock A, De S, Smith SL, et al. High-performance large-scale image recognition without normalization. In: Int. Conf. Machine Learning (ICML); Vienna, Austria. PMLR; 2021. p. 1059–1071.
51. He K, Zhang X, Ren S, et al. Delving deep into rectifiers: surpassing human-level performance on ImageNet classification. In: Proc. IEEE Int. Conf. Computer Vision (ICCV); Santiago, Chile. 2015. p. 1026–1034.
52. He K, Zhang X, Ren S, et al. Deep residual learning for image recognition. In: Proc. IEEE Conf. Computer Vision and Pattern Recognition (CVPR); Las Vegas, NV, USA. 2016. p. 770–778.
53. Chollet F. Xception: deep learning with depthwise separable convolutions. In: Proc. IEEE Conf. Computer Vision and Pattern Recognition (CVPR); Honolulu, HI, USA. 2017. p. 1251–1258.
54. Glorot X, Bordes A, Bengio Y. Deep sparse rectifier neural networks. In: Proc. 14th Int. Conf. Artificial Intelligence and Statistics (AISTATS), JMLR; Fort Lauderdale, FL, USA. 2011. p. 315–323.
55. Liu Z, Mao H, Wu C-Y, et al. A convNet for the 2020s. In: Proc. IEEE/CVF Conf. Computer Vision and Pattern Recognition (CVPR); New Orleans, LA, USA. 2022. p. 11976–11986.
56. Lin T-Y, Goyal P, Girshick R, et al. Focal loss for dense object detection. In: Proc. IEEE Int. Conf. Computer Vision (ICCV); Venice, Italy. 2017. p. 2980–2988.
57. Duan K, Bai S, Xie L, et al. Centernet: keypoint triplets for object detection. In: Proc. IEEE/CVF Int. Conf. Computer Vision (ICCV); Seoul, South Korea. 2019. p. 6569–6578.
58. Ren S, He K, Girshick R, et al. Faster R-CNN: towards real-time object detection with region proposal networks, in. Adv Neural Inf Process Syst (NeurIPS). 2015;28:91–99.
59. Jocher G Chaurasia A Stoken A et al. Ultralytics yolov5: v7.0 real-time instance segmentation. Zenodo. 2022.
60. Jocher G Chaurasia A Qiu J. Ultralytics YOLO (version 8.0.0) [computer software]. 2023.
61. Liu S, Li F, Zhang H, et al. Dynamic anchor boxes are better queries for DETR. arXiv Prepr arXiv: 2201.12329. 2022.
62. Zhang H, Li F, Liu S, et al. Dino: dETR with improved denoising anchor boxes for end-to-end object detection. arXiv Prepr arXiv: 2203.03605. 2022.