An Incremental Unified Framework for Small Defect Inspection
Jiaqi Tang, Hao Lu, Xiaogang Xu, Ruizheng Wu, Sixing Hu, Tong Zhang, Tsz Wa Cheng, Ming Ge, Ying-Cong Chen, Fugee Tsung
TL;DR
The paper addresses defect inspection in dynamic manufacturing environments by introducing the Incremental Unified Framework (IUF), which enables object-incremental learning within a reconstruction-based defect-detection setting. It combines Object-Aware Self-Attention to create object-specific semantic boundaries, Semantic Compression Loss to reserve capacity for unseen objects, and a gradient-based updating strategy to preserve prior semantic memory during updates. Empirical results on MVTec-AD and VisA show state-of-the-art performance at both image- and pixel-level defect localization while mitigating catastrophic forgetting, without relying on explicit memory banks. This approach provides a scalable, adaptable solution for industrial inspection pipelines subject to frequent production changes.
Abstract
Artificial Intelligence (AI)-driven defect inspection is pivotal in industrial manufacturing. Yet, many methods, tailored to specific pipelines, grapple with diverse product portfolios and evolving processes. Addressing this, we present the Incremental Unified Framework (IUF), which can reduce the feature conflict problem when continuously integrating new objects in the pipeline, making it advantageous in object-incremental learning scenarios. Employing a state-of-the-art transformer, we introduce Object-Aware Self-Attention (OASA) to delineate distinct semantic boundaries. Semantic Compression Loss (SCL) is integrated to optimize non-primary semantic space, enhancing network adaptability for novel objects. Additionally, we prioritize retaining the features of established objects during weight updates. Demonstrating prowess in both image and pixel-level defect inspection, our approach achieves state-of-the-art performance, proving indispensable for dynamic and scalable industrial inspections. Our code will be released at https://github.com/jqtangust/IUF.
