atlas

Research map / Image generation / Text-to-image diffusion

Text-Guided Variational Image Generation for Industrial Anomaly Detection and Segmentation

CVPR 2024 · Image generation › Text-to-image diffusion · approach: Personalized and region-controlled generation · 24 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 a text-guided variational (VQGAN-based) image generator that creates non-defective images from a single or few samples, using WordNet-derived prompts and CLIP-based selection, to augment anomaly detection and segmentation models.

Problem

Industrial anomaly detection suffers from scarce and imbalanced non-defective training data, and naive text-to-image generators produce images that do not help anomaly detectors.

Approach

Extends VQGAN so the decoder samples latents from a predicted per-patch variance, selects the best WordNet-based keyword prompt via CLIP similarity, and picks the generated image set whose CLIP visual features best match the prompt, then uses those images to augment baseline detectors such as PatchCore.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Add generated non-defective imagesPatchcore · MVTecAD hazelnutdetection: 88.3 -> 93.3Helped
Add generated non-defective imagesPatchcore · MVTecAD hazelnutsegmentation: 94.3 -> 94.6Helped
Use the text prompt instead of removing it (ablation)Patchcore · Patchcore ablationImage-Level (%): 77.6(±0.6) -> 79.1(±0.6)Helped
Use the text prompt instead of removing it (ablation)Patchcore · Patchcore ablationPixel-Level (%): 97.1(±0.0) -> 96.9(±0.0)No clear effect
Use variance-aware generation instead of removing variance (ablation)Patchcore · Patchcore ablationImage-Level (%): 74.3(±0.4) -> 78.9(±0.5)Helped
Use variance-aware generation instead of removing variance (ablation)Patchcore · Patchcore ablationPixel-Level (%): 97.0(±0.0) -> 97.3(±0.0)Helped
Vary the number of generated images (ablation)Patchcore · Patchcore ablationImage-Level (%): 78.6(±0.4); 77.9(±0.4); 78.4(±0.5); 79.0(±0.7); 78.5(±0.3); 78.4(±0.5)Mixed
Vary the number of generated images (ablation)Patchcore · Patchcore ablationPixel-Level (%): 97.0(±0.0); 96.9(±0.0); 97.0(±0.0); 97.0(±0.0); 96.9(±0.1); 96.9(±0.0)No clear effect
Use the proposed methodFour baseline models · MVTecAD one-shotaverage improvement: +15.7%Helped
Use the proposed methodFour baseline models · MVTecAD few-shot (5 images)average improvement: +14.1%Helped
Use the proposed methodFour baseline models · MVTecAD full-shotaverage improvement: +5.6%Helped
Use the proposed methodPatchcore · BTAD object type, 1st classdetection AUROC: +20.2%Helped

Surprising findings

Limitations

Experimental setup

Datasets: MVTecAD BTAD MVTec-LOCO AD WordNet

Benchmarks: MVTecAD BTAD MVTec-LOCO AD

Metrics: AUROC Inception Score SSIM PSNR LPIPS

Baselines: PatchCore CFA Reverse distillation WinCLIP DALL-E Midjourney VQGAN-CLIP

Builds on: VQGAN CLIP PatchCore WordNet

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