Neural-Collapse-guided Task-Free Continual Anomaly Detection
Xiaotong Kong, Chaoyang Song, Ziai Zhou, Jinxia Zhang, Kanjian Zhang, Haikun Wei
Abstract
Recent years have witnessed growing interest in continual anomaly detection for industrial visual inspection. However, real-world manufacturing environments exhibit unpredictable shifts in data distributions, rendering task-dependent continual learning assumptions impractical. To address this limitation, we formulate industrial anomaly detection as a task-free continual learning problem and propose NC-TFAD, a neural-collapse-inspired, geometry-driven framework for learning from non-stationary data streams without task boundaries. NC-TFAD freezes a pretrained backbone and aligns streaming features to a simplex Equiangular Tight Frame (ETF) prototype space to stabilize representation geometry under non-stationary streams. To satisfy the NC-inspired geometric construction in the absence of real anomalies, we generate synthetic anomaly samples as auxiliary anchors during training. Building on this geometry, we further introduce inter- and intra-class regularization together with a Focal Neural Collapse Contrastive (FNCC) loss to suppress representation drift and improve normal-anomaly separability. Finally, a normal-patch-prototype-guided localization branch constructs calibrated patch-wise deviation maps from normal training samples and fuses them with a weak self-attention prior, producing anomaly heatmaps without pixel-level annotations. Extensive experiments on MVTec AD and VisA show that NC-TFAD consistently outperforms representative task-free continual learning methods adapted from general vision, as well as unified anomaly detection baselines, in both image-level detection and pixel-level localization under the task-free continual learning protocol. These results highlight that geometry-driven modeling offers an effective and robust solution for task-free continual anomaly detection in real-world industrial applications.
Create a lesson
Related papers
Training-Free Logical and Structural Anomaly Detection via Calibrated Fusion
Shared title terminologycs.CVChangyi Li, Miao Yu, Kai Dong et al.
ADClaw: A Programmable Visual Agent for Industrial Anomaly Detection and Understanding
Shared title terminologycs.CVXinyi Wu, Rongxin Gao, YuHui Lin et al.
Detectable by Design: Learning a Continuous 3D Saliency Field from 2D Detector Responses
Shared title terminologycs.CVHan Sun, Jun Li, Christy Jie Liang
Adaptive Multi-Granularity Temporal Modeling for Weakly Supervised Video Anomaly Detection
Shared title terminologycs.CVChangyi Li, Yu Xiao
SimFuse3D: Source-Guided Target Simulation and Confidence-Guided Multi-Stage Localization Reweighting for Cross-Platform 3D Object Detection
Shared title terminologycs.CVYongchun Lin, Xinliang Zhang, Yun Zou et al.
LUMIN: Lifecycle-Utility-aware and Metadata-Informed Network for Visual Anomaly Detection
Shared title terminologycs.CVPengfei Yang