atlas

Research map / Continual learning / Domain and prompt-based

Unsupervised Continual Anomaly Detection with Contrastively-Learned Prompt

AAAI 2024 · Continual learning › Domain and prompt-based · approach: Prompt-based continual learning · 39 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes UCAD, a task-agnostic continual unsupervised anomaly detection and segmentation framework that uses a key-prompt-knowledge memory with contrastively learned prompts guided by SAM masks.

Problem

Unsupervised anomaly detection in industrial settings must learn new product classes sequentially without labels, but existing UAD methods suffer catastrophic forgetting and cost, and continual methods are not designed for unsupervised pixel-level anomaly segmentation.

Approach

A Continual Prompting Module stores task keys (FPS-sampled ViT features), learnable task prompts, and coreset-compressed normal knowledge in a key-prompt-knowledge memory for task-agnostic inference, while Structure-based Contrastive Learning uses SAM masks as structure labels to pull same-region features together and push others apart when training the prompts.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Add CPM to the model without CPM or SCL (ablation)UCAD · MVTec ADimage AUROC: 0.693 -> 0.894Helped
Add CPM to the model without CPM or SCL (ablation)UCAD · VisAimage AUROC: 0.584 -> 0.786Helped
Add SCL to CPM (ablation)UCAD · MVTec ADimage AUROC: 0.894 -> 0.930Helped
Add SCL to CPM (ablation)UCAD · VisAimage AUROC: 0.786 -> 0.874Helped
Increase knowledge size from 1x to 4x without SCL (ablation)UCAD with CPM · MVTec ADimage AUROC: 0.894 -> 0.929Helped
Increase knowledge size from 1x to 4x without SCL (ablation)UCAD with CPM · VisAimage AUROC: 0.786 -> 0.860Helped
Increase knowledge size from 1x to 4x with SCL (ablation)UCAD with CPM and SCL · MVTec ADimage AUROC: 0.930 -> 0.938Helped
Increase knowledge size from 1x to 4x with SCL (ablation)UCAD with CPM and SCL · VisAimage AUROC: 0.874 -> 0.909Helped
Use ViT encoder layers other than layer 5 (ablation)UCAD · MVTec ADimage AUROC: 0.840; 0.934; 0.936; 0.906 vs 0.930Mixed
Use ViT encoder layers other than layer 5 (ablation)UCAD · VisAimage AUROC: 0.806; 0.876; 0.872; 0.853 vs 0.874Mixed
Use UCAD instead of UniAD* with rehearsalContinual anomaly detection · MVTec ADimage AUROC: 0.904 -> 0.930Helped
Use UCAD instead of UniAD* with rehearsalContinual anomaly detection · VisApixel AUPR: 0.283 -> 0.300Helped

Surprising findings

Limitations

Experimental setup

Datasets: MVTec AD VisA

Benchmarks: MVTec AD VisA

Metrics: image-level AUROC pixel-level AUPR average forgetting measure (avg FM)

Baselines: DNE PatchCore UniAD CFA CSFlow CutPaste DRAEM FastFlow FAVAE PaDiM RD4AD SPADE

Builds on: PatchCore Segment Anything Model L2P ReConPatch DNE

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy