IDEAS home Printed from https://ideas.repec.org/a/spr/joinma/v36y2025i6d10.1007_s10845-024-02446-8.html

Foreground–background separation transformer for weakly supervised surface defect detection

Author

Listed:
  • Xiaoheng Jiang

    (Zhengzhou University
    Ministry of Education
    National Supercomputing Center in Zhengzhou)

  • Jian Feng

    (Zhengzhou University)

  • Feng Yan

    (Zhengzhou University)

  • Yang Lu

    (Zhengzhou University
    Ministry of Education
    National Supercomputing Center in Zhengzhou)

  • Quanhai Fa

    (Zhengzhou University)

  • Wenjie Zhang

    (Zhengzhou University
    Ministry of Education
    National Supercomputing Center in Zhengzhou)

  • Mingliang Xu

    (Zhengzhou University
    Ministry of Education
    National Supercomputing Center in Zhengzhou)

Abstract

In industrial scenarios, weakly supervised pixel-level defect detection methods leverage image-level labels for training, significantly reducing the effort required for manual annotation. However, existing methods suffer from confusion or incompleteness in predicting defect regions since defects usually show weak appearances that are similar to the background. To address this issue, we propose a foreground–background separation transformer (FBSFormer) for weakly supervised pixel-level defect detection. FBSFormer introduces a foreground–background separation (FBS) module, which utilizes the attention map to separate the foreground defect feature and background feature and pushes their distance intrinsically by learning with opposite labels. In addition, we present an attention-map refinement (AMR) module, which aims to generate a more accurate attention map to better guide the separation of defect and background features. During the inference stage, the refined attention map is combined with the class activation map (CAM) corresponding to the defect feature of FBS to generate the final result. Extensive experiments are conducted on three industrial surface defect datasets including DAGM 2007, KolektorSDD2, and Magnetic Tile. The results demonstrate that the proposed approach achieves outstanding performance compared to the state-of-the-art methods.

Suggested Citation

  • Xiaoheng Jiang & Jian Feng & Feng Yan & Yang Lu & Quanhai Fa & Wenjie Zhang & Mingliang Xu, 2025. "Foreground–background separation transformer for weakly supervised surface defect detection," Journal of Intelligent Manufacturing, Springer, vol. 36(6), pages 4217-4232, August.
  • Handle: RePEc:spr:joinma:v:36:y:2025:i:6:d:10.1007_s10845-024-02446-8
    DOI: 10.1007/s10845-024-02446-8
    as

    Download full text from publisher

    File URL: http://link.springer.com/10.1007/s10845-024-02446-8
    File Function: Abstract
    Download Restriction: Access to the full text of the articles in this series is restricted.

    File URL: https://libkey.io/10.1007/s10845-024-02446-8?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    As the access to this document is restricted, you may want to

    for a different version of it.

    References listed on IDEAS

    as
    1. Chen Zhao & Shichang Du & Jun Lv & Yafei Deng & Guilong Li, 2023. "A novel parallel classification network for classifying three-dimensional surface with point cloud data," Journal of Intelligent Manufacturing, Springer, vol. 34(2), pages 515-527, February.
    2. Shuai Ma & Kechen Song & Menghui Niu & Hongkun Tian & Yunhui Yan, 2024. "Cross-scale fusion and domain adversarial network for generalizable rail surface defect segmentation on unseen datasets," Journal of Intelligent Manufacturing, Springer, vol. 35(1), pages 367-386, January.
    3. Domen Tabernik & Samo Šela & Jure Skvarč & Danijel Skočaj, 2020. "Segmentation-based deep-learning approach for surface-defect detection," Journal of Intelligent Manufacturing, Springer, vol. 31(3), pages 759-776, March.
    4. Danqing Kang & Jianhuang Lai & Junyong Zhu & Yu Han, 2023. "An adaptive feature reconstruction network for the precise segmentation of surface defects on printed circuit boards," Journal of Intelligent Manufacturing, Springer, vol. 34(7), pages 3197-3214, October.
    Full references (including those not matched with items on IDEAS)

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Zichen Zhan & Congcong Han & Lai Zou & Jianmin Dong & Shengbo Yan & Wenxi Wang, 2026. "A new characterization method for rapid prediction of recrystallization damage in single crystal superalloys considering plastic deformation," Journal of Intelligent Manufacturing, Springer, vol. 37(3), pages 1145-1161, March.
    2. Abtin Djavadifar & John Brandon Graham-Knight & Marian Kӧrber & Patricia Lasserre & Homayoun Najjaran, 2022. "Automated visual detection of geometrical defects in composite manufacturing processes using deep convolutional neural networks," Journal of Intelligent Manufacturing, Springer, vol. 33(8), pages 2257-2275, December.
    3. Li Wei & Mahmud Iwan Solihin & Sarah ‘Atifah Saruchi & Winda Astuti & Lim Wei Hong & Ang Chun Kit, 2024. "Surface Defects Detection of Cylindrical High-Precision Industrial Parts Based on Deep Learning Algorithms: A Review," SN Operations Research Forum, Springer, vol. 5(3), pages 1-71, September.
    4. Zichen Bai & Junfeng Jing, 2024. "Mobile-Deeplab: a lightweight pixel segmentation-based method for fabric defect detection," Journal of Intelligent Manufacturing, Springer, vol. 35(7), pages 3315-3330, October.
    5. Shuanlong Niu & Yaru Peng & Bin Li & Yuanhong Qiu & Tongzhi Niu & Weifeng Li, 2024. "A novel deep learning motivated data augmentation system based on defect segmentation requirements," Journal of Intelligent Manufacturing, Springer, vol. 35(2), pages 687-701, February.
    6. Jae-Eun Park & Young-Keun Kim, 2025. "Semi-supervised learning for steel surface inspection using magnetic flux leakage signal," Journal of Intelligent Manufacturing, Springer, vol. 36(2), pages 1021-1031, February.
    7. Yuanyuan Wang & Ling Ma & Lihua Jian & Huiqin Jiang, 2023. "Conductive particle detection via efficient encoder–decoder network," Journal of Intelligent Manufacturing, Springer, vol. 34(8), pages 3563-3577, December.
    8. Swarit Anand Singh & K. A. Desai, 2023. "Automated surface defect detection framework using machine vision and convolutional neural networks," Journal of Intelligent Manufacturing, Springer, vol. 34(4), pages 1995-2011, April.
    9. Ruiyang Hao & Bingyu Lu & Ying Cheng & Xiu Li & Biqing Huang, 2021. "A steel surface defect inspection approach towards smart industrial monitoring," Journal of Intelligent Manufacturing, Springer, vol. 32(7), pages 1833-1843, October.
    10. Aleksandr Dekhovich & Miguel A. Bessa, 2025. "Continual learning for surface defect segmentation by subnetwork creation and selection," Journal of Intelligent Manufacturing, Springer, vol. 36(5), pages 3051-3065, June.
    11. Danqing Kang & Jianhuang Lai & Junyong Zhu & Yu Han, 2023. "An adaptive feature reconstruction network for the precise segmentation of surface defects on printed circuit boards," Journal of Intelligent Manufacturing, Springer, vol. 34(7), pages 3197-3214, October.
    12. Saksham Jain & Gautam Seth & Arpit Paruthi & Umang Soni & Girish Kumar, 2022. "Synthetic data augmentation for surface defect detection and classification using deep learning," Journal of Intelligent Manufacturing, Springer, vol. 33(4), pages 1007-1020, April.
    13. Jingyu Yang & Haochen Wang & Ziyang Song & Feng Guo & Huanjing Yue, 2025. "Efficient textile anomaly detection via memory guided distillation network," Journal of Intelligent Manufacturing, Springer, vol. 36(6), pages 4201-4216, August.
    14. Changqing Wang & Maoxuan Sun & Yuan Cao & Kunyu He & Bei Zhang & Zhonghao Cao & Meng Wang, 2023. "Lightweight Network-Based Surface Defect Detection Method for Steel Plates," Sustainability, MDPI, vol. 15(4), pages 1-12, February.
    15. Chun Fai Lui & Ahmed Maged & Min Xie, 2024. "A novel image feature based self-supervised learning model for effective quality inspection in additive manufacturing," Journal of Intelligent Manufacturing, Springer, vol. 35(7), pages 3543-3558, October.
    16. Rong Luo & Ruihu Chen & Fengting Jia & Biru Lin & Jie Liu & Yafei Sun & Xinbo Yang & Weikuan Jia, 2023. "RBD-Net: robust breakage detection algorithm for industrial leather," Journal of Intelligent Manufacturing, Springer, vol. 34(6), pages 2783-2796, August.
    17. Chen Zheng & Kangning Wang & Shiqi Gao & Yang Yu & Zhanxi Wang & Yunlong Tang, 2025. "Design of multi-modal feedback channel of human–robot cognitive interface for teleoperation in manufacturing," Journal of Intelligent Manufacturing, Springer, vol. 36(6), pages 4283-4303, August.
    18. Yiping Shao & Jun Chen & Xiaoli Gu & Jiansha Lu & Shichang Du, 2025. "A novel curved surface profile monitoring approach based on geometrical-spatial joint feature," Journal of Intelligent Manufacturing, Springer, vol. 36(3), pages 2055-2077, March.
    19. José M. Navarro-Jiménez & José V. Aguado & Grégoire Bazin & Vicente Albero & Domenico Borzacchiello, 2023. "Reconstruction of 3D surfaces from incomplete digitisations using statistical shape models for manufacturing processes," Journal of Intelligent Manufacturing, Springer, vol. 34(5), pages 2345-2358, June.
    20. Jiaqi Zhao & Xiaolong Qian & Yunzhou Zhang & Dexing Shan & Xiaozheng Liu & Sonya Coleman & Dermot Kerr, 2024. "A knowledge distillation-based multi-scale relation-prototypical network for cross-domain few-shot defect classification," Journal of Intelligent Manufacturing, Springer, vol. 35(2), pages 841-857, February.

    More about this item

    Keywords

    ;
    ;
    ;
    ;
    ;

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:spr:joinma:v:36:y:2025:i:6:d:10.1007_s10845-024-02446-8. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Sonal Shukla or Springer Nature Abstracting and Indexing (email available below). General contact details of provider: http://www.springer.com .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.