atlas

Research map / Image generation / Autoregressive and latent generation

Unseen Visual Anomaly Generation

CVPR 2025 · Image generation › Autoregressive and latent generation · approach: Synthetic training data from generators · 21 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 AnomalyAny, a training-free framework that uses pretrained Stable Diffusion with a single normal image, attention-guided latent optimization, and GPT-4-derived detailed prompts to generate unseen visual anomalies for industrial AD.

Problem

Visual anomaly detection suffers from scarce anomalous training samples; existing anomaly synthesis methods either lack realism or require training on normal/anomalous data, and fail to generate unseen anomaly types.

Approach

Instead of fine-tuning Stable Diffusion, condition generation on a single test-time normal image (starting denoising from a noised normal latent), then optimize latents to maximize cross-attention on anomaly tokens and refine with CLIP loss on GPT-4-written detailed anomaly descriptions.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use AnomalyAny-generated anomalous samples for 1-shot anomaly detectionAnomaly detection models · MVTec ADI-AUC: 94.6±1.7 -> 94.9±0.4Helped
Use AnomalyAny-generated anomalous samples for 1-shot anomaly detectionAnomaly detection models · VisAI-AUC: 87.4±0.8 -> 89.7±0.8Helped
Use AnomalyAny rather than the strongest alternative generation methodAnomaly generation · MVTec AD averageIS: 1.80 -> 2.02Helped
Add test-time normal sample conditioning (ablation)AnomalyAny · Anomaly generationgeneration qualityHelped
Add attention-guided anomaly optimization (ablation)AnomalyAny · Anomaly generationanomaly-description fidelityHelped
Add prompt-guided anomaly refinement (ablation)AnomalyAny · Anomaly generationgeneration realismHelped
Add localization-aware scheduling for attention updates (ablation)AnomalyAny · Anomaly generationartifact reductionHelped
Add detailed prompt description c′ alongside anomaly type c (ablation)AnomalyAny · Anomaly generationgeneration realismHelped
Add attention loss Latt (ablation)AnomalyAny prompt-guided optimization · Anomaly generationanomaly-region focusHelped
Add prompt-based loss terms (ablation)AnomalyAny prompt-guided optimization · Anomaly generationgeneration qualityHelped
Add prompt guidance when anomaly type is unambiguous (ablation)AnomalyAny · Anomaly generationgeneration qualityNo clear effect

Surprising findings

Limitations

Experimental setup

Datasets: MVTec AD VisA web images

Benchmarks: MVTec AD VisA

Metrics: Inception Score IC-LPIPS I-AUC I-F1 P-AUC P-F1 PRO

Baselines: DRAEM NSA RealNet AnomalyDiffusion PaDiM PatchCore WinCLIP+ AnomalyGPT PromptAD

Builds on: Stable Diffusion AnomalyDiffusion CLIP DDPM

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