Progressive disentanglement for robust image anomaly detection
摘要
Image anomaly detection aims to identify regions deviating from expected visual patterns, with applications spanning industrial defect detection, medical lesion identification, and intelligent security. Traditional methods, focusing on holistic image representation, often struggle with anomalies driven by single latent factors. To address this, we introduce DAD (disentangled anomaly detection), a framework that disentangles object structure from appearance for progressive anomaly detection. DAD employs an abnormal-to-normal transformer (A2NFormer) for structure prediction, followed by an appearance reconstruction module guided by the predicted structure. Finally, an anomaly localization subnetwork combines structural and appearance cues for precise detection. Experimental results on the MVTec Anomaly Detection dataset demonstrate that DAD achieves state-of-the-art performance, improving image-level AUROC by 0.2%, increasing pixel-level AP by 2.5%, and boosting instance-level IAP and IAP@90 by 5.8% and 4.8%, respectively. Our approach highlights the benefits of disentangled representation and structure-guided localization for accurate, robust, and interpretable anomaly detection. The code is publicly available at https://github.com/yan-yp/DAD (DOI: https://doi.org/10.5281/zenodo.15901469).