TMCNet: A few-shot defect segmentation method based on triplet-based feature enhancement and multi-scale cascaded decoding

Surface defect detection plays a crucial role in industrial manufacturing, as it directly impacts whether a product meets the required standards. However, due to the scarcity of certain defect samples, traditional defect detection models often struggle to maintain satisfactory performance under data-limited scenarios. Although recent few-shot segmentation methods have made progress, they still face challenges in terms of segmentation accuracy and robustness. To address these limitations, this paper proposes a novel few-shot segmentation framework named TMCNet, which integrates triplet-based feature enhancement and multi-scale cascaded decoding. First, to enhance the representational power of target defect features in the support set, we introduce a triplet-based feature enhancement module (TBFE) that captures defects from three complementary perspectives: salient characteristics, local fine-grained details, and global contextual dependencies. This enables the construction of more discriminative and comprehensive defect representations. Second, to address the limited receptive field commonly encountered in the few-shot pipeline, we propose a multi-receptive field enhancement module (MRFE) that incorporates multi-scale dilated convolutions and a channel-spatial hybrid attention mechanism, thereby enriching semantic feature expression. Third, to better handle large variations in defect scale, we design a multi-scale cascaded decoder (MSCD) that progressively refines the segmentation output by fusing multi-scale predictions, leading to more precise and reliable defect delineation. Extensive comparative experiments on two industrial few-shot defect segmentation datasets—FSSD-12 and Surface Defects-4i—demonstrate the superior performance of TMCNet. Under the 1-shot setting, our method achieves mIoU scores of 67.8% and 42.3%, respectively, significantly outperforming existing state-of-the-art approaches. Moreover, a series of ablation studies validate the effectiveness and individual contributions of each proposed module, further confirming the design rationale and technical soundness of the overall framework.

Authors

Institutions

Publication Details

Journal
Journal of King Saud University - Computer and Information Sciences
Published
2025-11-27
DOI
https://doi.org/10.1007/s44443-025-00360-4
Primary Topic
Industrial Vision Systems and Defect Detection
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

TMCNet: A few-shot defect segmentation method based on triplet-based feature enhancement and multi-scale cascaded decoding

Yufan Zhao, Hongyu Xiang, Jinan Gu, Zilin Xia et al.
Journal of King Saud University - Computer and Information Sciences
Industrial Vision Systems and Defect Detection
article

TMCNet: A few-shot defect segmentation method based on triplet-based feature enhancement and multi-scale cascaded decoding

Yufan Zhao, Hongyu Xiang, Jinan Gu, Zilin Xia, Libin Zheng, Wenbo Wang
article en

Abstract

Surface defect detection plays a crucial role in industrial manufacturing, as it directly impacts whether a product meets the required standards. However, due to the scarcity of certain defect samples, traditional defect detection models often struggle to maintain satisfactory performance under data-limited scenarios. Although recent few-shot segmentation methods have made progress, they still face challenges in terms of segmentation accuracy and robustness. To address these limitations, this paper proposes a novel few-shot segmentation framework named TMCNet, which integrates triplet-based feature enhancement and multi-scale cascaded decoding. First, to enhance the representational power of target defect features in the support set, we introduce a triplet-based feature enhancement module (TBFE) that captures defects from three complementary perspectives: salient characteristics, local fine-grained details, and global contextual dependencies. This enables the construction of more discriminative and comprehensive defect representations. Second, to address the limited receptive field commonly encountered in the few-shot pipeline, we propose a multi-receptive field enhancement module (MRFE) that incorporates multi-scale dilated convolutions and a channel-spatial hybrid attention mechanism, thereby enriching semantic feature expression. Third, to better handle large variations in defect scale, we design a multi-scale cascaded decoder (MSCD) that progressively refines the segmentation output by fusing multi-scale predictions, leading to more precise and reliable defect delineation. Extensive comparative experiments on two industrial few-shot defect segmentation datasets—FSSD-12 and Surface Defects-4i—demonstrate the superior performance of TMCNet. Under the 1-shot setting, our method achieves mIoU scores of 67.8% and 42.3%, respectively, significantly outperforming existing state-of-the-art approaches. Moreover, a series of ablation studies validate the effectiveness and individual contributions of each proposed module, further confirming the design rationale and technical soundness of the overall framework.

Journal of King Saud University - Computer and Information SciencesVol. 37(10)
Jiangsu University (CN), Jingdezhen University (CN)
National Natural Science Foundation of China, Government of Jiangsu Province
Openalex Percentile: Top 51%
Industrial Vision Systems and Defect Detection
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.