• CN:11-2187/TH
  • ISSN:0577-6686

机械工程学报 ›› 2026, Vol. 62 ›› Issue (10): 73-82.doi: 10.3901/JME.260492

• 仪器科学与技术 • 上一篇    

扫码分享

基于响应选择策略的连铸坯表面缺陷检测模型迭代方法

曹翔宇1, 徐科1, 张含鑫1, 黄磊2,3, 黄学忠2,3, 韦毅4,5   

  1. 1. 北京科技大学钢铁共性技术协同创新中心 北京 100083;
    2. 广西北港新材料有限公司 北海 536000;
    3. 广西特钢新材料重点实验室 北海 536000;
    4. 广西产研院新型功能材料研究所有限公司 南宁 530233;
    5. 重庆大学化学化工学院 重庆 401331
  • 收稿日期:2025-05-13 修回日期:2025-12-08 发布日期:2026-07-29
  • 作者简介:曹翔宇,男,1992年出生,博士研究生。主要研究方向为机器视觉和智能检测。E-mail:18810610485@163.com;徐科(通信作者),男,1972年出生,博士,研究员,博士研究生导师。主要研究方向为机器视觉、深度学习、智能检测。E-mail:xuke@ustb.edu.cn
  • 基金资助:
    国家重点研发计划课题资助项目(2021YFB3202403)。

Model Iteration Method for Surface Defect Detection of Continuous Casting Slabs Based on Response Selection Strategy

CAO Xiangyu1, XU Ke1, ZHANG Hanxin1, HUANG Lei2,3, HUANG Xuezhong2,3, WEI Yi4,5   

  1. 1. Collaborative Innovation Center of Steel Technology, University of Science and Technology Beijing, Beijing 100083;
    2. China Guangxi Beigang New Materials Co., Ltd., Beihai 536000;
    3. Guangxi Key Laboratory of New Materials for Special Steel, Beihai 536000;
    4. Institute of Novel Functional Materials, Guangxi Institute of Industry and Research, Nanning 530233;
    5. College of Chemistry and Chemical Engineering, Chongqing University, Chongqing 401331
  • Received:2025-05-13 Revised:2025-12-08 Published:2026-07-29

摘要: 在连铸板坯的生产过程中,表面缺陷样本数据稀少,使得检测模型需要不断的迭代更新。传统的迭代训练方式不仅耗时长、计算资源消耗大,且容易丢失先前学习到的关键特征知识。为解决上述问题,提出一种基于响应选择策略的增量学习方法,用于训练YOLOv8检测器。该方法基于知识蒸馏框架,设计一种依据统计规律过滤无效知识的响应选择策略,使学生模型能够更精准地继承教师模型的有效特征,从而增强蒸馏效果。通过在MS COCO 2017数据集与实际采集的连铸坯表面缺陷数据集上进行验证试验,评估该方法的有效性。试验结果表明,在仅使用新增样本进行微调的条件下,该方法能显著缓解模型遗忘问题,使检测器在铸坯缺陷数据集上的平均精度(Average precision,AP)下降幅度减少12.9。相比于传统全量数据重训练的耗时迭代方式,该策略虽然仅存在3.3 AP的精度差距,但极大地降低了计算资源开销和时间成本。研究表明,该迭代策略能够在保证一定检测精度的前提下,实现连铸坯表面缺陷检测模型的快速、低成本迭代,具有良好的工程应用价值。

关键词: 缺陷检测, 增量学习, 知识蒸馏, 连铸坯, 模型迭代

Abstract: In the production of continuous casting slabs, the scarcity of surface defect sample data necessitates frequent iterative updates of detection models. Traditional iterative training methods are time-consuming, computationally expensive, and easily lead to the loss of previously learned critical features. To address these issues, a model iteration method based on a response selection strategy is proposed to train the YOLOv8 detector via incremental learning. Based on the knowledge distillation framework, a response selection strategy utilizing statistical principles is designed to filter out ineffective knowledge, enabling the student model to inherit effective features from the teacher model more accurately and enhancing the distillation effect. The proposed method is validated through experiments on the MS COCO 2017 dataset and a collected surface defect dataset of continuous casting slabs. Experimental results indicate that under the condition of fine-tuning only with new samples, the degree of forgetting is significantly alleviated, reducing the drop in average precision(AP) by 12.9 on the casting defect dataset. Compared to traditional time-consuming iterative methods involving retraining on full data, the proposed strategy exhibits a gap of only 3.3 AP while drastically reducing computational resource consumption and time costs. It is concluded that this iterative strategy achieves rapid and low-cost iteration of the surface defect detection model for continuous casting slabs while maintaining acceptable detection accuracy, demonstrating significant engineering application value.

Key words: defect detection, incremental learning, knowledge distillation, continuous casting slabs, modal iteration

中图分类号: