[Paper Review] AnomalyHop: An SSL-based Image Anomaly Localization Method
AnomalyHop is a self-supervised learning (SSL)-based method for image anomaly localization that uses successive subspace learning (SSL) for feature extraction, Gaussian models to model normal feature distributions, and anomaly map fusion for localization. It achieves state-of-the-art ROC-AUC performance of 95.9% on the MVTec AD dataset with fast inference (0.24s per image) and low model complexity (100K parameters), offering mathematical transparency and efficiency over deep learning baselines.
An image anomaly localization method based on the successive subspace learning (SSL) framework, called AnomalyHop, is proposed in this work. AnomalyHop consists of three modules: 1) feature extraction via successive subspace learning (SSL), 2) normality feature distributions modeling via Gaussian models, and 3) anomaly map generation and fusion. Comparing with state-of-the-art image anomaly localization methods based on deep neural networks (DNNs), AnomalyHop is mathematically transparent, easy to train, and fast in its inference speed. Besides, its area under the ROC curve (ROC-AUC) performance on the MVTec AD dataset is 95.9%, which is among the best of several benchmarking methods. Our codes are publicly available at Github.
Motivation & Objective
- Address the challenge of image anomaly localization with limited or no access to anomalous training data.
- Develop a method that is mathematically interpretable, fast in inference, and effective without relying on large pretrained deep networks.
- Enable efficient deployment in real-world edge environments where GPU acceleration is impractical.
- Improve generalization across diverse normal image content (e.g., textures, objects) without external pretraining.
- Provide a lightweight alternative to complex DNN-based anomaly localization models with comparable or better performance.
Proposed method
- Uses successive subspace learning (SSL) to extract hierarchical features from normal images by applying PCA-based c/w Saab filters across short-, mid-, and long-range neighborhoods.
- Models the distribution of normal features using three types of Gaussian models: location-aware, location-independent, and self-reference, selected based on image class characteristics.
- Generates anomaly maps by computing pixel-wise reconstruction error between input and reconstructed features using the learned Gaussian models.
- Fuses multiple anomaly maps from different feature levels using a learned or fixed fusion strategy to improve localization accuracy.
- Employs a lightweight feature extractor (PixelHop++) with only 100K parameters, enabling fast training and inference on CPU.
- Adapts the Gaussian model type per class: location-aware for object classes, location-independent for homogeneous textures, and self-reference for structured patterns like grids.
Experimental results
Research questions
- RQ1Can a self-supervised learning framework based on successive subspace learning achieve state-of-the-art performance in image anomaly localization without external pretraining?
- RQ2How does the choice of Gaussian model (location-aware, location-independent, self-reference) affect localization performance across different image categories?
- RQ3To what extent can a lightweight, non-DNN model outperform deep learning-based methods in inference speed and model efficiency while maintaining high accuracy?
- RQ4How does AnomalyHop generalize across diverse normal image content such as textures, objects, and structured patterns without domain-specific fine-tuning?
- RQ5Can a mathematically transparent, non-end-to-end method achieve competitive performance compared to complex, black-box DNN-based approaches in anomaly localization?
Key findings
- AnomalyHop achieves a ROC-AUC score of 95.9% on the MVTec AD dataset, ranking among the best-performing methods without external training data.
- The method achieves the fastest inference speed among all compared methods, at 0.24 seconds per image on a CPU, outperforming PaDiM by 28.3x and SPADE by 28x.
- Training time is highly efficient, requiring only 2 minutes per class on a standard CPU, demonstrating low training overhead.
- The self-reference Gaussian model yields the best performance on the grid class due to its rotational and lighting variability, while location-aware models work best for object classes.
- AnomalyHop's performance is robust across both object and texture classes, with average AUC-ROC of 95.7% across all classes and 96.7% for object classes.
- Despite using a lightweight 100K-parameter feature extractor (PixelHop++), AnomalyHop outperforms larger DNN-based models like PaDiM (60M parameters) in inference speed and model efficiency.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.