Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

Unseen Visual Anomaly Generation

About

Visual anomaly detection (AD) presents significant challenges due to the scarcity of anomalous data samples. While numerous works have been proposed to synthesize anomalous samples, these synthetic anomalies often lack authenticity or require extensive training data, limiting their applicability in real-world scenarios. In this work, we propose Anomaly Anything (AnomalyAny), a novel framework that leverages Stable Diffusion (SD)'s image generation capabilities to generate diverse and realistic unseen anomalies. By conditioning on a single normal sample during test time, AnomalyAny is able to generate unseen anomalies for arbitrary object types with text descriptions. Within AnomalyAny, we propose attention-guided anomaly optimization to direct SD attention on generating hard anomaly concepts. Additionally, we introduce prompt-guided anomaly refinement, incorporating detailed descriptions to further improve the generation quality. Extensive experiments on MVTec AD and VisA datasets demonstrate AnomalyAny's ability in generating high-quality unseen anomalies and its effectiveness in enhancing downstream AD performance.

Han Sun, Yunkang Cao, Hao Dong, Olga Fink• 2024

Related benchmarks

TaskDatasetResultRank
Anomaly DetectionVisA--
261
Anomaly SegmentationMVTec AD
AUROC (Pixelwise)0.97
105
Synthetic Anomaly GenerationMVTec-AD (test)
IS2.91
64
Anomaly GenerationMVTec-AD (test)
IC-LPIPS0.33
33
Anomaly SegmentationVisA
Candle AUROC71
10
Industrial Anomaly SynthesisIndustrial Anomaly Synthesis Human Evaluation Set (test)
Good Sample Rate34
6
Human Perceptual Realism EvaluationHuman perceptual realism study (31 participants) (test)
TrueSkill (μ)27.16
5
Showing 7 of 7 rows

Other info

Follow for update