Engineering Research Express

MGF-DETR: a DETR-based network with multi-granularity convolution and high-frequency feature enhancement for industrial defect detection

Weixing Su, Jiayong Hu, Fang Liu

Key points

From the paper's conclusion
  • Although the proposed feature enhancement strategies introduce additional inference overhead and result in a decrease in FPS, MGF-DETR achieves improved detection accuracy and stronger defect representation capability, showing its potential as an effective solution for industrial surface defect detection.

Abstract

Industrial defect detection is crucial for ensuring product quality and manufacturing safety. However, existing methods still face challenges in detecting small-scale defects, handling large variations in defect size, and distinguishing weak or background-similar anomalies. To address these challenges, this paper proposes MGF-DETR, a DETR-based detection network built upon RT-DETR for industrial defect detection. MGF-DETR integrates a Parallel Deep Convolution Module for multi-granularity feature extraction, Haar wavelet-based downsampling for preserving fine-grained spatial details during feature downsampling, and a global feature enhancement module with Gaussian filtering and high-frequency feature enhancement to strengthen edge and texture information while modeling global dependencies. In addition, the positive-sample weighting strategy in Varifocal Loss is improved to enhance the learning of difficult samples and alleviate class imbalance, while Efficient Intersection over Union Loss is adopted to improve bounding box regression. These components jointly enhance the representation of multi-scale and fine-grained defect features. Experiments on aluminum and steel surface defect datasets demonstrate the effectiveness of the proposed method. On the Tianchi aluminum surface defect dataset, MGF-DETR improves mAP@0.5 and F 1-score by 3.4 and 3.5 percentage points, respectively, compared with RT-DETR, while reducing the number of parameters, model size, and computational complexity by 34.2%, 33.2%, and 7.0%, respectively. Experiments on the steel surface defect dataset further verify the effectiveness of the proposed modules across different defect types and material characteristics. Although the proposed feature enhancement strategies introduce additional inference overhead and result in a decrease in FPS, MGF-DETR achieves improved detection accuracy and stronger defect representation capability, showing its potential as an effective solution for industrial surface defect detection.

Read the paper

Discussion

Science Skim's AI key points, plus readers' public thoughts

Readers' thoughts

No reader thoughts yet.

Related papers