Unsupervised Continual Anomaly Detection with Contrastively-Learned Prompt
Jiaqi Liu, Kai Wu, Qiang Nie, Ying Chen, Bin-Bin Gao, Yong Liu, Jinbao Wang, Chengjie Wang, Feng Zheng
Abstract
Unsupervised Anomaly Detection (UAD) with incremental training is crucial in industrial manufacturing, as unpredictable defects make obtaining sufficient labeled data infeasible. However, continual learning methods primarily rely on supervised annotations, while the application in UAD is limited due to the absence of supervision. Current UAD methods train separate models for different classes sequentially, leading to catastrophic forgetting and a heavy computational burden. To address this issue, we introduce a novel Unsupervised Continual Anomaly Detection framework called UCAD, which equips the UAD with continual learning capability through contrastively-learned prompts. In the proposed UCAD, we design a Continual Prompting Module (CPM) by utilizing a concise key-prompt-knowledge memory bank to guide task-invariant 'anomaly' model predictions using task-specific 'normal' knowledge. Moreover, Structurebased Contrastive Learning (SCL) is designed with the Segment Anything Model (SAM) to improve prompt learning and anomaly segmentation results. Specifically, by treating SAM's masks as structure, we draw features within the same mask closer and push others apart for general feature representations. We conduct comprehensive experiments and set the benchmark on unsupervised continual anomaly detection and segmentation, demonstrating that our method is significantly better than anomaly detection methods, even with rehearsal training. The code will be available at https://github . com/shirowalker/UCAD.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
13 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- One-for-More: Continual Diffusion Model for Anomaly Detection cites Towards Total Recall in Industrial Anomaly Detection
- One-for-More: Continual Diffusion Model for Anomaly Detection cites A Unified Model for Multi-class Anomaly Detection
- Toward Long-Tailed Online Anomaly Detection Through Class-Agnostic Concepts cites Towards Total Recall in Industrial Anomaly Detection
- Toward Long-Tailed Online Anomaly Detection Through Class-Agnostic Concepts cites Anomaly Detection via Reverse Distillation from One-Class Embedding
- Toward Long-Tailed Online Anomaly Detection Through Class-Agnostic Concepts cites A Unified Model for Multi-class Anomaly Detection
- RareCLIP: Rarity-Aware Online Zero-Shot Industrial Anomaly Detection cites Segment Anything
- RareCLIP: Rarity-Aware Online Zero-Shot Industrial Anomaly Detection cites Towards Total Recall in Industrial Anomaly Detection
- RareCLIP: Rarity-Aware Online Zero-Shot Industrial Anomaly Detection cites Anomaly Detection via Reverse Distillation from One-Class Embedding
- Salvaging the Overlooked: Leveraging Class-Aware Contrastive Learning for Multi-Class Anomaly Detection cites Towards Total Recall in Industrial Anomaly Detection
- Salvaging the Overlooked: Leveraging Class-Aware Contrastive Learning for Multi-Class Anomaly Detection cites Anomaly Detection via Reverse Distillation from One-Class Embedding
- Salvaging the Overlooked: Leveraging Class-Aware Contrastive Learning for Multi-Class Anomaly Detection cites A Unified Model for Multi-class Anomaly Detection
- Towards an Incremental Unified Multimodal Anomaly Detection: Augmenting Multimodal Denoising From an Information Bottleneck Perspective cites Anomaly Detection via Reverse Distillation from One-Class Embedding
- Towards an Incremental Unified Multimodal Anomaly Detection: Augmenting Multimodal Denoising From an Information Bottleneck Perspective cites One-for-More: Continual Diffusion Model for Anomaly Detection
- Towards an Incremental Unified Multimodal Anomaly Detection: Augmenting Multimodal Denoising From an Information Bottleneck Perspective cites A Unified Model for Multi-class Anomaly Detection
- A Unified Model for Multi-class Anomaly Detection cites Anomaly Detection via Reverse Distillation from One-Class Embedding
Cited by top-tier papers13
- Salvaging the Overlooked: Leveraging Class-Aware Contrastive Learning for Multi-Class Anomaly DetectionLei Fan, Junjie Huang, Donglin Di, Anyang Su et al.ICCV 2025 · 8 citations
- RareCLIP: Rarity-Aware Online Zero-Shot Industrial Anomaly DetectionJianfang He, Min Cao, Silong Peng, Qiong XieICCV 2025 · 7 citations
- Towards an Incremental Unified Multimodal Anomaly Detection: Augmenting Multimodal Denoising From an Information Bottleneck PerspectiveKaifang Long, Lianbo Ma, Jiaqi Liu, liming liu et al.CVPR 2026 · 5 citations
- Toward Long-Tailed Online Anomaly Detection Through Class-Agnostic ConceptsChiao-An Yang, Kuan-Chuan Peng, Raymond A. YehICCV 2025 · 1 citation
- One-for-More: Continual Diffusion Model for Anomaly DetectionXiaofan Li, Xin Tan, Zhuo Chen, Zhizhong Zhang et al.CVPR 2025
Builds on16
- Segment AnythingAlexander Kirillov, Eric Mintun, Nikhila Ravi, Hanzi Mao et al.ICCV 2023 · 13,211 citations
- Towards Total Recall in Industrial Anomaly DetectionKarsten Roth, Latha Pemula, Joaquin Zepeda, Bernhard Schölkopf et al.CVPR 2022 · 1,301 citations
- Anomaly Detection via Reverse Distillation from One-Class EmbeddingHanqiu Deng, Xingyu LiCVPR 2022 · 701 citations
- Learning to Prompt for Continual LearningZifeng Wang, Zizhao Zhang, Chen-Yu Lee, Han Zhang et al.CVPR 2022 · 635 citations
- A Unified Model for Multi-class Anomaly DetectionZhiyuan You, Lei Cui, Yujun Shen, Kai Yang et al.NeurIPS 2022 · 585 citations
Related papers
- Exploring Multimodal Prompts For Unsupervised Continuous Anomaly DetectionMingle Zhou, Jiahui Liu, Jin Wan, Gang Li et al.ACM MM 2025
- Towards Continual Adaptation in Industrial Anomaly DetectionWujin Li, Jiawei Zhan, Jinbao Wang, Bizhong Xia et al.ACM MM 2022 · 37 citations
- CaPro: Curvilinear-aware Prompt Learning with Single Unlabeled Image for Cost-effective Curvilinear Structure SegmentationZhuangzhuang Chen, Qiangyu Chen, Chubin Ou, Xiaomeng LiAAAI 2026
- Decoupling Continual Semantic SegmentationYifu Guo, Yuquan Lu, Wentao Zhang, Zishan Xu et al.AAAI 2026 · 3 citations
- Promptable Anomaly Segmentation with SAM Through Self-Perception TuningHui-Yue Yang, Hui Chen, Ao Wang, Kai Chen et al.AAAI 2025 · 10 citations
