[Paper Review] Are generative deep models for novelty detection truly better?
This paper evaluates generative deep models against classical anomaly detection methods like kNN and Isolation Forests across diverse non-image benchmark datasets. It finds that deep generative models do not consistently outperform kNN; their performance heavily depends on hyperparameter tuning, which is impractical in real-world scenarios with limited anomalous labels.
Many deep models have been recently proposed for anomaly detection. This paper presents comparison of selected generative deep models and classical anomaly detection methods on an extensive number of non--image benchmark datasets. We provide statistical comparison of the selected models, in many configurations, architectures and hyperparamaters. We arrive to conclusion that performance of the generative models is determined by the process of selection of their hyperparameters. Specifically, performance of the deep generative models deteriorates with decreasing amount of anomalous samples used in hyperparameter selection. In practical scenarios of anomaly detection, none of the deep generative models systematically outperforms the kNN.
Motivation & Objective
- To assess whether generative deep models offer a significant performance advantage over classical anomaly detection methods in real-world settings.
- To investigate the impact of hyperparameter selection on the performance of deep generative models in anomaly detection.
- To evaluate the robustness of deep models when only a small number of anomalous samples are available for tuning.
- To determine if kNN remains a strong baseline even against state-of-the-art deep generative models in practical anomaly detection scenarios.
- To provide a standardized, publicly available framework for fair comparison of anomaly detection algorithms.
Proposed method
- The study evaluates multiple generative deep models—VAE, VAE with normalizing flows, GAN, fmGAN, and autoencoders—on a wide range of non-image benchmark datasets.
- Performance is measured using AUC scores across various hyperparameter selection strategies, including full test set, training set, and top 1% or 5% most anomalous samples.
- Statistical significance is assessed using the Friedman test and critical difference diagrams to compare algorithm rankings across datasets.
- A standardized evaluation framework is implemented to ensure consistent training, testing, and comparison of models.
- Anomaly scores are derived from reconstruction error (autoencoders), discriminator scores (GANs), or a combination of both.
- The analysis includes mean prediction time and computational cost to evaluate practicality on large datasets.
Experimental results
Research questions
- RQ1Do generative deep models systematically outperform classical anomaly detection methods like kNN and Isolation Forests on non-image benchmark datasets?
- RQ2How does the performance of deep generative models degrade when hyperparameters are tuned with fewer anomalous samples?
- RQ3Is the superior performance of deep models observed in prior work due to favorable hyperparameter selection or inherent model superiority?
- RQ4Can kNN be considered a robust baseline even in the presence of advanced deep generative models?
- RQ5What criteria for hyperparameter selection are most effective when only limited labeled anomalies are available?
Key findings
- Generative deep models such as VAE and fmGAN only outperform kNN when hyperparameters are tuned using a large number of known anomalies, such as on the full test set.
- With only 1% or 5% of the most anomalous samples available for tuning, generative models consistently underperform kNN, which remains robust across all configurations.
- The Friedman test rejects the null hypothesis that all models perform equally, indicating statistically significant differences in performance across methods.
- kNN is not outperformed by any generative model in any of the hyperparameter selection criteria, including the most realistic ones (top 1% and top 5% anomalies).
- VAE shows the most consistent performance across all tuning criteria, suggesting greater robustness among deep generative models.
- Deep models have faster prediction times on large datasets due to inference independence from training set size, but this advantage is offset by high training costs.
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.