EconPapers    
Economics at your fingertips  
 

Foreground–background separation transformer for weakly supervised surface defect detection

Xiaoheng Jiang (), Jian Feng (), Feng Yan (), Yang Lu (), Quanhai Fa (), Wenjie Zhang () and Mingliang Xu ()
Additional contact information
Xiaoheng Jiang: Zhengzhou University
Jian Feng: Zhengzhou University
Feng Yan: Zhengzhou University
Yang Lu: Zhengzhou University
Quanhai Fa: Zhengzhou University
Wenjie Zhang: Zhengzhou University
Mingliang Xu: Zhengzhou University

Journal of Intelligent Manufacturing, 2025, vol. 36, issue 6, No 25, 4217-4232

Abstract: 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.

Keywords: Weakly supervised learning; Class activation map; Foreground-background separation; Transformer; Surface defect detection (search for similar items in EconPapers)
Date: 2025
References: Add references at CitEc
Citations:

Downloads: (external link)
http://link.springer.com/10.1007/s10845-024-02446-8 Abstract (text/html)
Access to the full text of the articles in this series is restricted.

Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.

Export reference: BibTeX RIS (EndNote, ProCite, RefMan) HTML/Text

Persistent link: https://EconPapers.repec.org/RePEc:spr:joinma:v:36:y:2025:i:6:d:10.1007_s10845-024-02446-8

Ordering information: This journal article can be ordered from
http://www.springer.com/journal/10845

DOI: 10.1007/s10845-024-02446-8

Access Statistics for this article

Journal of Intelligent Manufacturing is currently edited by Andrew Kusiak

More articles in Journal of Intelligent Manufacturing from Springer
Bibliographic data for series maintained by Sonal Shukla () and Springer Nature Abstracting and Indexing ().

 
Page updated 2025-07-17
Handle: RePEc:spr:joinma:v:36:y:2025:i:6:d:10.1007_s10845-024-02446-8