运筹与管理 ›› 2025, Vol. 34 ›› Issue (11): 143-150.DOI: 10.12005/orms.2025.0355

• 应用研究 • 上一篇    下一篇

基于多尺度特征融合的钢铁表面缺陷定位方法

程聪, 吴蘇洋, 吕珊珊, 李安然   

  1. 河北工业大学 经济管理学院,天津 300130
  • 收稿日期:2024-02-22 出版日期:2025-11-25 发布日期:2026-03-30
  • 通讯作者: 吕珊珊(1991-),女,河南南阳人,副教授,博士,研究方向:质量管理与质量工程。Email: shanshanlv@hebut.edu.cn。
  • 作者简介:程聪(1987-),女,河南焦作人,讲师,博士,研究方向:工业数据解析。
  • 基金资助:
    国家自然科学基金资助项目(72102059,72471081,72002066,72571098)

Steel Surface Defect Location Algorithm Based on Multi-scale Feature Fusion

CHENG Cong, WU Suyang, LYU Shanshan, LI Anran   

  1. School of Economics and Management, Hebei University of Technology, Tianjin 300130, China
  • Received:2024-02-22 Online:2025-11-25 Published:2026-03-30

摘要: 在钢铁生产过程中,通常会出现影响产品质量的表面缺陷,例如斑块、夹杂和裂纹等。针对表面缺陷尺度较小以及与正常表面易于混淆导致缺陷难以定位的问题,本文设计了一种基于多尺度特征融合的钢铁表面缺陷定位方法,称作MFF-Net(Multi-scale Feature Fusion Network for Steel Surface Defect Localization)。该算法采用编码器-解码器的网络结构作为主干网络,并引入注意力机制来提升网络捕捉钢铁表面缺陷中的关键特征的能力;基于感受野增强模块(Receptive Field Block,RFB)设计了多尺度特征提取模块来融合多尺度的缺陷特征,提升网络对于小尺度缺陷的检测精度;为了有效解决类不平衡问题,设计了联合损失函数来监督网络训练。利用数据增强扩充数据集,提升网络的泛化性和鲁棒性。实验结果表明,本文提出的方法不仅能够准确地判断缺陷的类型,并能精确地定位各种尺度和形状的缺陷,显著优于现有的多种先进方法。

关键词: 表面缺陷定位, 注意力机制, 特征金字塔, 语义分割

Abstract: In the field of steel production, surface defects pose a common challenge that can significantly degrade the quality of the final products. Surface defects in steel exhibit high background similarity and often involve defects of small size. Manual inspection and traditional machine learning methods for defect detection confront issues of insufficient accuracy and low efficiency due to these characteristics. Therefore, innovative techniques are needed to ensure accurate detection. The work of this study lies in the development of an advanced pixel-level detection algorithm called Multi-scale Feature Fusion Network for Steel Surface Defect Localization (MFF-Net) for steel surface defect detection. This algorithm is capable of identifying steel surface defects and accurately localizing these defects, contributing to the enhancement of quality control in the steel industry.
   Aiming at the problem that the classification accuracy still needs to be improved in steel surface defect detection and the localization of small size defects is not good, the proposed MFF-Net algorithm relies on the U-Net architecture, proving effective in small size target image segmentation tasks. By incorporating an attention mechanism, the algorithm enhances the network’s capacity to capture crucial features related to steel surface defects, thereby improving overall performance. To overcome the challenges posed by high background similarity and small size defects, a receptive field enhancement module is integrated into the network. This module facilitates the fusion of multi-scale defect features, contributing to improved accuracy in identifying subtle defects. A joint loss function is utilized during training to continuously adjust network parameters, cleverly addressing the issue of imbalanced defect categories and ensuring the robustness and balance of defect feature learning. Additionally, the algorithm employs data augmentation techniques to expand the dataset, actively enhancing the network’s generalization and overall robustness. The integrated approach implemented in the MFF-Net algorithm solidifies its effectiveness in recognizing and accurately locating steel surface defects in various scenarios. In summary, the MFF-Net algorithm addresses the challenges of category imbalance and insufficient data by incorporating attention mechanisms, receptive field enhancement modules, improved loss functions and data augmentation, thereby enhancing the accuracy of classification and localization of small-scale steel surface defects.
   The experimental results reveal that the proposed algorithm achieves an mIoU (mean Intersection over Union) of 84.53% on the NEU-Seg dataset, improving by 1.29% compared to existing state-of-the-art models. The algorithm demonstrates a high level of accuracy in identifying defect types, positions and shapes, meeting the requirements for steel surface defect detection in real-world scenarios.

Key words: surface defect location, attention mechanism, feature pyramid, semantic segmentation

中图分类号: