Boosting Fine-Grained Visual Anomaly Detection with Coarse-Knowledge-Aware Adversarial Learning
Open Access
- 11 April 2025
- journal article
- Published by Association for the Advancement of Artificial Intelligence (AAAI) in Proceedings of the AAAI Conference on Artificial Intelligence
- Vol. 39 (16) , 16532-16540
Abstract
Many unsupervised visual anomaly detection methods train an auto-encoder to reconstruct normal samples and then leverage the reconstruction error map to detect and localize the anomalies. However, due to the powerful modeling and generalization ability of neural networks, some anomalies can also be well reconstructed, resulting in unsatisfactory detection and localization accuracy. In this paper, a small coarsely-labeled anomaly dataset is first collected. Then, a coarse-knowledge-aware adversarial learning method is developed to align the distribution of reconstructed features with that of normal features. The alignment can effectively suppress the auto-encoder's reconstruction ability on anomalies and thus improve the detection accuracy. Considering that anomalies often only occupy very small areas in anomalous images, a patch-level adversarial learning strategy is further developed. Although no patch-level anomalous information is available, we rigorously prove that by simply viewing any patch features from anomalous images as anomalies, the proposed knowledge-aware method can also align the distribution of reconstructed patch features with the normal ones. Experimental results on four medical datasets and two industrial datasets demonstrate the effectiveness of our method in improving the detection and localization performance.Keywords
All Related Versions
This publication has 8 references indexed in Scilit:
- Deep Industrial Image Anomaly Detection: A SurveyMachine Intelligence Research, 2024
- SPot-the-Difference Self-supervised Pre-training for Anomaly Detection and Segmentation2022
- GAN-based anomaly detection: A reviewNeurocomputing, 2022
- A Unified Model for Multi-Class Anomaly Detection2022
- Deep Learning for Medical Anomaly Detection – A SurveyACM Computing Surveys, 2021
- Reconstruction by inpainting for visual anomaly detectionPattern Recognition, 2021
- The HAM10000 dataset, a large collection of multi-source dermatoscopic images of common pigmented skin lesionsScientific Data, 2018
- Identifying Medical Diagnoses and Treatable Diseases by Image-Based Deep LearningCell, 2018