Normality Addition via Normality Detection in Industrial Image Anomaly Detection Models
Jihun Yi, Dahuin Jung, Sungroh Yoon
TL;DR
This work tackles changing normality criteria in industrial image anomaly detection by introducing Normality Addition via Normality Detection (NAND), a post-hoc, text-guided adaptation powered by vision-language models. NAND detects the newly defined normality from textual descriptions, uses a Prompt Generator to create meaningful prompts, and leverages a Normality Detection Module based on APRIL-GAN to generate a suppression map that reshapes the anomaly map as $A_{final} = A \odot (1 - A_{sup})$, yielding a revised anomaly score $a = \max A_{final}$. The method is model-agnostic and demonstrated on MVTec AD with multiple detectors (APRIL-GAN, WinCLIP, PatchCore), showing consistent AUROC gains (e.g., $\text{AUROC}_{\text{before}} = 70.6$ to $\text{AUROC}_{\text{after}} = 75.1$ for APRIL-GAN) and selective suppression of the added normality while preserving other anomalies. Overall, NAND provides a practical pathway for rapid, text-guided adaptation of industrial IAD systems to evolving definitions of normality without retraining.
Abstract
The task of image anomaly detection (IAD) aims to identify deviations from normality in image data. These anomalies are patterns that deviate significantly from what the IAD model has learned from the data during training. However, in real-world scenarios, the criteria for what constitutes normality often change, necessitating the reclassification of previously anomalous instances as normal. To address this challenge, we propose a new scenario termed "normality addition," involving the post-training adjustment of decision boundaries to incorporate new normalities. To address this challenge, we propose a method called Normality Addition via Normality Detection (NAND), leveraging a vision-language model. NAND performs normality detection which detect patterns related to the intended normality within images based on textual descriptions. We then modify the results of a pre-trained IAD model to implement this normality addition. Using the benchmark dataset in IAD, MVTec AD, we establish an evaluation protocol for the normality addition task and empirically demonstrate the effectiveness of the NAND method.
