DCG-DETR: 基于双分支与上下文引导的钢铁缺陷检测算法
CSTR:
作者:
作者单位:

作者简介:

通讯作者:

中图分类号:

TG142;TP391.41

基金项目:

国家自然科学基金项目(62276118).


DCG-DETR: Steel defect detection via dual-branch and context-guided optimization
Author:
Affiliation:

Fund Project:

  • 摘要
  • |
  • 图/表
  • |
  • 访问统计
  • |
  • 参考文献
  • |
  • 相似文献
  • |
  • 引证文献
  • |
  • 资源附件
  • |
  • 文章评论
    摘要:

    针对钢材表面缺陷检测任务中存在的模型参数量大、小目标漏检率高及复杂背景干扰等关键问题, 提出一种基于RT-DETR (real-time detection transformer) 架构的双分支与上下文引导的协同优化检测方法, 命名为DCG-DETR. 首先, 设计双分支特征增强模块DFEM, 通过通道注意力机制与动态感受野卷积的并行融合, 显著提升复杂纹理背景下微小缺陷的特征判别力; 其次, 构建内容-上下文引导聚合特征金字塔模块CCGAFP, 采用内容感知上采样CARAFE与全局-局部双分支特征融合, 解决多尺度特征错位问题, 增强小目标定位精度; 进一步引入轻量化特征融合模块VoV-GSCSPC, 通过压缩冗余计算与跨阶段梯度传播优化, 在保持精度的同时降低模型复杂度. 在NEU-DET数据集上的实验表明, 改进模型mAP@0.5指标达81.5%, 较基准RT-DETR-L提升3.2%, 同时参数量降低11%、计算量减少25.9%. 实验结果表明, 改进后的DCG-DETR性能整体优于其他同类主流算法, 在进行轻量化的同时提高了检测精度, 为工业质检提供了新方案.

    Abstract:

    To address the critical challenges in steel surface defect detection, such as high model complexity, frequent missed detection of small targets, and interference from complex backgrounds, we propose DCG-DETR, a novel detection framework based on the real-time detection transformer (RT-DETR) architecture, which leverages dual-branch feature enhancement and context-guided optimization. First, we design a dual-branch feature enhancement module that integrates an efficient channel attention mechanism with dynamic receptive field convolution in parallel, effectively enhancing the discriminative power for micro-defects against complex textures. Second, we construct a content-context guided aggregation feature pyramid (CCGAFP) module, which adopts content-aware upsampling CARAFE and global-local dual-path fusion to resolve multi-scale feature misalignment and improve the localization accuracy of small defects. Furthermore, we introduce a lightweight feature fusion module VoV-GSCSPC (generalized cross stage partial network with GSConv) that compresses redundant computations and optimizes cross-stage gradient propagation, significantly reducing model complexity while maintaining detection performance. Experiments on the NEU-DET dataset demonstrate that the DCG-DETR achieves 81.5% mAP@0.5, outperforming the baseline RT-DETR-L by 3.2%, while reducing parameters by 11% and computational load by 25.9%. The results validate that the DCG-DETR achieves a superior balance between accuracy and efficiency, offering a practical and deployable solution for industrial quality inspection.

    参考文献
    相似文献
    引证文献
引用本文

丁方也,段先华,张静. DCG-DETR: 基于双分支与上下文引导的钢铁缺陷检测算法[J].控制与决策,2026,41(3):626-638

复制
相关视频

分享
文章指标
  • 点击次数:
  • 下载次数:
  • HTML阅读次数:
  • 引用次数:
历史
  • 收稿日期:2025-07-04
  • 最后修改日期:
  • 录用日期:
  • 在线发布日期: 2026-03-04
  • 出版日期: 2026-03-10
文章二维码