Abstract
DeltaDeno is a training-free, zero-shot framework designed to generate realistic industrial anomalies. By contrasting two synchronized diffusion processes—one for a "normal" prompt and one for an "anomalous" one—it calculates the "delta" (difference) between denoising paths to automatically localize defects. This localization enables precise latent inpainting, synthesizing anomalies that respect the original image's geometry and lighting. Evaluated on the MVTec AD benchmark, DeltaDeno outperforms existing zero-shot and few-shot methods in both generation realism and downstream detection performance.
Introduction
In industrial smart manufacturing, high-performance anomaly detection (AD) systems typically require large amounts of defective data for training. However, real-world defects are rare and expensive to collect. Existing solutions like Few-Shot Anomaly Generation (FSAG) require fine-tuning on real anomalies, creating a dependency on the very data they aim to supplement. Previous Zero-Shot (ZSAG) methods often produce low-resolution masks or unrealistic "cut-and-paste" results that fail to respect the geometry or lighting of the source image.
DeltaDeno addresses these challenges by leveraging the internal knowledge of pre-trained diffusion models without any fine-tuning. It treats anomaly generation as a local editing task, ensuring that the majority of the image remains identical to the high-quality original while seamlessly integrating defects.
Methodology
The DeltaDeno pipeline introduces a training-free approach using several novel steps:
- Normal-Reference Guided Initialization: The process begins with a partially noised version of a real "normal" image to preserve original lighting and geometry.
- Synchronized Dual-Branch Denoising: Two parallel U-Net denoising processes are run—one driven by a normal prompt and the other by an anomalous prompt.
- Delta-Denoising Attribution: The model calculates the difference (the "delta") between the two branches' predictions. This discrepancy naturally highlights the pixels where the anomaly is being formed.
- Mask-Guided Latent Inpainting: The accumulated deltas form a precise mask used for latent inpainting in the later stages of diffusion, editing only the pixels inside the mask.
- Token-Level Prompt Refinement: A lightweight optimization ensures the anomaly description is distinct while shared context remains aligned.
Experiments and Results
The authors evaluated DeltaDeno on the MVTec AD benchmark, which includes 15 object categories and 73 anomaly types.
- Realism and Diversity: DeltaDeno achieved an Inception Score (IS) of 2.03, surpassing the previous state-of-the-art ZSAG method, AnomalyAny (2.02).
- Detection Performance: A detection model trained on DeltaDeno-generated anomalies achieved a mean Image-level AUROC of 84.7 and a Pixel-level AUROC of 84.9 on the real MVTec test set, a significant improvement over previous methods.
- Qualitative Superiority: Visual results demonstrate sharp boundaries and surface-following contours, avoiding the blurry artifacts common in attention-based methods.
Conclusion
DeltaDeno demonstrates that the difference between two denoising paths driven by slightly different prompts is a powerful signal for anomaly localization. By avoiding fine-tuning, the method maintains high generalization across diverse categories. While future work is needed to improve semantic control for abstract defects and automate prompt generation, DeltaDeno sets a new standard for zero-shot anomaly synthesis.
Summary updated