TL;DR
This paper introduces "surrogate anomaly detection," a new framework for identifying unusual data points without prior knowledge of what anomalies look like. They propose a novel algorithm, DEAN, that leverages ensembles of simple neural networks and demonstrate its competitive performance and adaptability across a wide range of datasets.
What Problem Does This Paper Address?
Anomaly detection (AD) is crucial for tasks like fraud detection and system monitoring, aiming to identify rare, exceptional data points. The unsupervised setting, where we have no labeled examples of anomalies, is particularly challenging. Traditional methods often struggle with high-dimensional data (the "curse of dimensionality") or rely on complex density estimations that don't always generalize well. This paper addresses the need for robust, scalable, and adaptable unsupervised AD methods that can learn a representation of "normal" data and flag deviations, without needing to explicitly model the entire data distribution.
Methods
The core idea is surrogate anomaly detection. Instead of directly modeling complex data distributions, the authors propose learning a simplified "surrogate" model that captures the regular patterns of normal data. Anomalies are then detected as deviations from this learned pattern.
Key aspects of their approach include:
- Axiomatic Framework: They define five axioms that an optimal surrogate model should satisfy, focusing on scale consistency, reliable training, robustness to trivial solutions, hyperparameter invariance, and complex pattern learning. This provides a principled way to evaluate and design AD algorithms.
- DEAN (Deep Ensemble ANomaly detection): This is their proposed algorithm, designed to adhere to the axioms. It's an ensemble of simple, independently trained feedforward neural networks.
- Simple Surrogate Function: Each sub-network learns to map input data to a constant value (specifically, 1). This simplicity is key to avoiding many of the pitfalls of more complex models.
- Ensemble Aggregation: The anomaly scores from individual sub-networks are aggregated using a power-based function to create a robust overall score.
- Feature Bagging: For high-dimensional data, feature bagging is used to promote diversity among sub-models, improving robustness and runtime.
Datasets
The authors evaluate DEAN on 121 benchmark datasets, following the protocol from the ADBench survey paper. This extensive set of datasets is designed to cover a wide range of anomaly detection scenarios. They also use the COMPAS dataset for a proof-of-concept demonstration of adapting DEAN for fairness.
Key Insights and Ideas
- The Power of Simplicity: By focusing on learning a simple, constant surrogate pattern (outputting '1'), DEAN avoids many complexities and potential issues associated with more elaborate density estimation or representation learning methods.
- Ensembles as a Solution: Combining many simple, diverse sub-models (DEAN's core strategy) is crucial for robustness and adaptability, especially in high-dimensional settings. This ensemble approach helps mitigate the limitations of individual sub-models.
- Axiomatic Design: Defining clear axioms for surrogate models provides a valuable theoretical foundation for developing and comparing AD algorithms, moving beyond empirical performance alone.
- Adaptability Beyond Benchmarks: DEAN's ensemble structure makes it highly adaptable for real-world applications, allowing for extensions like explainability, adversarial robustness, and fairness.
Key Results
- Competitive Performance: DEAN performs highly competitively across the 121 datasets, showing only minor performance differences with top non-surrogate methods and outperforming other surrogate-based methods.
- Scalability: DEAN's ensemble approach, combined with feature bagging, offers good scalability for high-dimensional data.
- Runtime: While deep learning methods are generally slower, DEAN's sub-models train very quickly, allowing for large ensembles with reasonable overall training times (e.g., <9 seconds per submodel for a 100-submodel ensemble).
- Fairness Adaptation: DEAN can be effectively adapted to improve fairness, with techniques like sub-model pruning significantly reducing bias on the COMPAS dataset with minimal performance degradation.
Limitations and Future Work
- Trivial Solutions: While DEAN is designed to mitigate trivial solutions (where the model predicts a constant for all inputs), the paper acknowledges that they can still occur and discusses strategies to handle them.
- Hyperparameter Sensitivity: While DEAN is generally robust, the paper notes that performance can be sensitive to hyperparameters, and further research into optimal selection is suggested.
- Future Work: The authors suggest that the axiomatic design and ensemble nature of DEAN can facilitate straightforward modifications for enhancing explainability, adversarial robustness, and fairness, opening avenues for future research. They also mention the potential for lightweight variants for resource-constrained devices.
Summary updated