Multi-Context Aggregation Network With Foreground Correction for Automated Few-Shot Defect Segmentation
State-of-the-art defect segmentation methods rely on sufficient training data and struggle to generalize to unseen categories. Few-Shot Semantic Segmentation (FSS) is introduced to specifically address these issues. However, existing FSS models still face two challenges in the industry. 1) Defects usually present as weak features, resulting in incomplete segmentation; 2) Severe background interference often leads to incorrect segmentation. To tackle these problems, we propose the Multi-Context Aggregation Network (MCANet). Specifically, we design a Cross-Layer Multi-Level Feature Aggregation Module (CMAM). CMAM effectively aggregates discretely distributed multi-level defect features across different layers and guides the query image to perceive defects from the pixel level, which avoids incomplete segmentation caused by weak features. Additionally, a Foreground Correction Module (FCM) is developed, which is equipped with a dedicated background predictor (BP) and a foreground corrector (FC). BP places more emphasis on learning features from backgrounds rather than defects. FC achieves efficient feature ensemble and further suppresses the backgrounds misidentified as defects in CMAM. They collaborate to prevent incorrect segmentation caused by background interference. Extensive experiments demonstrate the effectiveness of our method. We achieve state-of-the-art results on both FSSD-12, a public benchmark FSS dataset for strip steel, and FSS-AEB, an FSS dataset for aero-engine blades. Specifically, with 1/5 support images, we achieve 64.6%/65.6% mIoU on FSSD-12 and 55.0%/57.8% mIoU on FSS-AEB. Note to Practitioners—Surface defect segmentation has always been a hot topic in the industry. However, existing methods rely on sufficient training data and struggle to generalize to unseen categories, which significantly hinders the automation of defect segmentation. To address this problem, we propose MCANet for automated few-shot defect segmentation. It achieves effective segmentation for surface defects with limited data, even for unseen categories. Furthermore, MCANet achieves state-of-the-art results on two datasets from real-world industrial scenarios and also delivers significant improvements over the widely concerned large vision models. Finally, we integrate MCANet into an automated surface defect inspection platform consisting of an imaging system and a high-performance computing server for real-world performance validation.
Authors
- 元 渡辺 (ORCID: https://orcid.org/0000-0003-3995-4402)
- Yaonan Wang (ORCID: https://orcid.org/0000-0002-0519-6458)
- Shuai Jiang (ORCID: https://orcid.org/0000-0002-6579-0969)
- Yunfeng Ma (ORCID: https://orcid.org/0009-0007-4539-2043)
- Min Liu (ORCID: https://orcid.org/0000-0001-6406-4896)
- Xueping Wang (ORCID: https://orcid.org/0000-0003-4862-8975)
Institutions
- Hunan University (CN)
- Hunan Normal University (CN)
Publication Details
- Journal
- IEEE Transactions on Automation Science and Engineering
- Published
- 2025-01-01
- DOI
- https://doi.org/10.1109/tase.2025.3554987
- Citations
- 5
- Primary Topic
- Advanced X-ray and CT Imaging
- Type
- article
- Field-Weighted Citation Impact
- 3.37
Funders
- National Natural Science Foundation of China
- Natural Science Foundation of Hunan Province
- National Key Research and Development Program of China