Incremental Learning for Defect Segmentation With Efficient Transformer Semantic Complement
- 9 September 2025
- journal article
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Transactions on Neural Networks and Learning Systems
- Vol. 37 (1) , 274-283
Abstract
In industrial scenarios, semantic segmentation of surface defects is vital for identifying, localizing, and delineating defects. However, new defect types constantly emerge with product iterations or process updates. Existing defect segmentation models lack incremental learning capabilities, and direct fine-tuning (FT) often leads to catastrophic forgetting. Furthermore, low contrast between defects and background, as well as among defect classes, exacerbates this issue. To address these challenges, we introduce a plug-and-play Transformer-based semantic complement module (TSCM). With only a few added parameters, it injects global contextual features from multi-head self-attention into shallow convolutional neural network (CNN) feature maps, compensating for convolutional receptive-field limits and fusing global and local information for better segmentation. For incremental updates, we propose multi-scale spatial pooling distillation (MSPD), which uses pseudo-labeling and multi-scale pooling to preserve both short- and long-range spatial relations and provides smooth feature alignment between teacher and student. Additionally, we adopt an adaptive weight fusion (AWF) strategy with a dynamic threshold that assigns higher weights to parameters with larger updates, achieving an optimal balance between stability and plasticity. The experimental results on two industrial surface defect datasets demonstrate that our method outperforms existing approaches in various incremental segmentation scenarios.Keywords
Funding Information
- Key Research and Development Program of Liaoning Province (2021B0101200001)
- National Natural Science Foundation of China (62433011)
This publication has 38 references indexed in Scilit:
- Continual learning for surface defect segmentation by subnetwork creation and selectionJournal of Intelligent Manufacturing, 2024
- SegViT v2: Exploring Efficient and Continual Semantic Segmentation with Plain Vision TransformersInternational Journal of Computer Vision, 2023
- PODNet: Pooled Outputs Distillation for Small-Tasks Incremental Learning2020
- Modeling the Background for Incremental Learning in Semantic Segmentation2020
- Surface defect saliency of magnetic tileThe Visual Computer, 2018
- Feature Pyramid Networks for Object Detection2017
- Deep Residual Learning for Image Recognition2016
- U-Net: Convolutional Networks for Biomedical Image Segmentation2015
- ImageNet: A large-scale hierarchical image database2009
- Catastrophic forgetting in connectionist networksTrends in Cognitive Sciences, 1999