DFANet: A Lightweight Dual-Branch Feature-Aggregation Network for Metal Surface Defect Detection
Open Access
- 26 October 2026
- journal article
- research article
- Published by MDPI AG in Journal of Imaging
- Vol. 12 (11) , 532
Abstract
Object detection is pivotal for automated industrial surface defect detection. However, industrial imaging of metal surfaces is often hampered by adverse factors such as uneven illumination, strong specular reflection, low contrast, and blurring of tiny defects. These issues can significantly impair the feature extraction capability of mainstream detection networks and hinder their real-time deployment on edge imaging devices. To address the aforementioned issues, this paper proposes a lightweight Dual-branch Feature-Aggregation Network (DFANet). Aiming at excessive parameters and redundant computation of traditional backbones, we design a lightweight Dual-branch Feature Alignment Fusion (DFAF) backbone. The dual-stream structure separately extracts shallow texture imaging features and deep semantic imaging features of metal surfaces, and the embedded Feature Alignment Fusion (FAF) module eliminates spatial offsets of multi-scale imaging features caused by illumination interference. Furthermore, a Parallel Spatial Deformable Module (PSDM) is integrated into the backbone to dynamically adjust receptive fields via deformable attention, strengthening feature characterization for irregular defects under low-quality imaging conditions. In the neck part, a Reparameterized Context Interaction Block (RCIB) is constructed to filter redundant background texture information from multi-layer imaging feature maps, further reducing memory and computation consumption. Comprehensive experiments are carried out on three public metal surface imaging datasets: NEU-DET, X-SDD, and GC10-DET. The DFANet achieves mAP values of 83.8%, 76.6%, and 73.1%, respectively. Compared with the YOLO11m baseline, our DFANet reduces the number of parameters by 20.7% and the computational cost (GFLOPs) by 65.9%. Extensive comparisons with state-of-the-art detection methods and ablation studies demonstrate that DFANet achieves a favorable trade-off between detection precision and lightweight performance. The proposed network offers an efficient solution for real-time automatic defect inspection on industrial metal production lines.Keywords
Funding Information
- National Natural Science Foundation of China (62566012)
- National Natural Science Foundation of China (62666020)
- Science and Technology Plan Projects of Guizhou Province (QKHJCZK[2024]YB493)
- Science and Technology Plan Projects of Guizhou Province (QKHJCZK[2026]ZD083)
- Science and Technology Plan Projects of Guizhou Province (QKHJCZK[2023]YB143)
- Natural Science Research Project of Education Department of Guizhou Province (QJJ[2024]273)
- Natural Science Research Project of Education Department of Guizhou Province (QJJ[2023]061)
- Natural Science Research Project of Education Department of Guizhou Province (QJJ[2024]063)
- Natural Science Foundation Research Project of Guiyang Institute of Humanities and Technology (2024rwjs18)
- Ministry of Education’s Industry-University Collaborative Education Project (221001766110209)
- 2025 Annual Planning Project of the China Association for Non-Government Education (CANQN250599)
This publication has 36 references indexed in Scilit:
- Steel surface defect detection method based on improved YOLOv9Scientific Reports, 2025
- A lightweight algorithm for steel surface defect detection using improved YOLOv8Scientific Reports, 2025
- An efficient re-parameterization feature pyramid network on YOLOv8 to the detection of steel surface defectNeurocomputing, 2024
- LAACNet: Lightweight adaptive activation convolution network-based defect detection on polished metal surfacesEngineering Applications of Artificial Intelligence, 2024
- STFE-Net: A multi-stage approach to enhance statistical texture feature for defect detection on metal surfacesAdvanced Engineering Informatics, 2024
- MINet: Multiscale Interactive Network for Real-Time Salient Object Detection of Strip Steel Surface DefectsIEEE Transactions on Industrial Informatics, 2024
- ES-Net: Efficient Scale-Aware Network for Tiny Defect DetectionIEEE Transactions on Instrumentation and Measurement, 2022
- Visual inspection of steel surface defects based on domain adaptation and adaptive convolutional neural networkMechanical Systems and Signal Processing, 2021
- RetinaNet With Difference Channel Attention and Adaptively Spatial Feature Fusion for Steel Surface Defect DetectionIEEE Transactions on Instrumentation and Measurement, 2020
- An End-to-End Steel Surface Defect Detection Approach via Fusing Multiple Hierarchical FeaturesIEEE Transactions on Instrumentation and Measurement, 2019