Dynamic Prototype-Enhanced Network for Few-Shot Industrial Defect Segmentation
Pixel-level annotation is costly in industrial inspection, and previously unseen defect categories may arise as materials and manufacturing processes change. This paper proposes a dynamic prototype-enhanced network (DPEN) for few-shot industrial defect segmentation. First, a balanced dense feature pyramid network (BDFPN) aggregates cross-level features and balances their contributions, improving the representation of small defects and boundary details. Second, a dynamic prototype enhancement mechanism jointly models foreground, boundary, and global information. The resulting prototype is used as a semantic prompt to reconstruct query features through cross-attention and gated residual fusion, reducing the sensitivity of a single mean prototype to background noise and intra-class variation. Third, an asymmetric progressive decoder restores spatial detail from coarse to fine and uses joint spatial--channel attention to sharpen defect localization. On FSSD-12, DPEN achieves mean Intersection over Union (mIoU) and foreground--background IoU (FB-IoU) scores of 67.5\%/81.1\% and 68.6\%/81.6\% under the one-shot and five-shot settings, respectively. On Surface Defects-4i, the corresponding scores are 39.4\%/61.4\% and 43.3\%/62.7\%. These results show that DPEN improves the overall few-shot segmentation accuracy on both benchmarks.
Authors
- Duzhen Zhang (ORCID: https://orcid.org/0000-0001-8261-373X)
- Yuanyuan Chen (ORCID: https://orcid.org/0009-0008-9548-7080)
Institutions
- Jiangsu Normal University (CN)
Publication Details
- Journal
- Research Square
- Published
- 2026-12-02
- DOI
- https://doi.org/10.21203/rs.3.rs-10709651/v1
- Primary Topic
- Industrial Vision Systems and Defect Detection
- Type
- preprint