[Paper Review] A Bayesian Ensemble for Unsupervised Anomaly Detection
This paper proposes a Bayesian ensemble method for unsupervised anomaly detection that combines multiple anomaly detectors using Bayesian classifier combination, enabling interpretable posterior probabilities of anomalies, individual detector error rates, and robustness to unreliable detectors. The method achieves a 28.7% lower error rate than majority voting on real-world time-series data.
Methods for unsupervised anomaly detection suffer from the fact that the data is unlabeled, making it difficult to assess the optimality of detection algorithms. Ensemble learning has shown exceptional results in classification and clustering problems, but has not seen as much research in the context of outlier detection. Existing methods focus on combining output scores of individual detectors, but this leads to outputs that are not easily interpretable. In this paper, we introduce a theoretical foundation for combining individual detectors with Bayesian classifier combination. Not only are posterior distributions easily interpreted as the probability distribution of anomalies, but bias, variance, and individual error rates of detectors are all easily obtained. Performance on real-world datasets shows high accuracy across varied types of time series data.
Motivation & Objective
- To address the lack of interpretability and theoretical grounding in existing unsupervised anomaly detection ensemble methods.
- To enable estimation of individual detector bias, variance, and error rates without labeled data.
- To develop a robust ensemble that remains accurate even when some detectors are unreliable or inaccurate.
- To provide a principled Bayesian framework for combining anomaly detection outputs as probability distributions.
Proposed method
- The method employs Bayesian classifier combination to model the true anomaly status and detector error rates as latent variables with conjugate priors.
- It uses a variational Bayesian inference approach to jointly estimate the posterior distributions of true labels and individual detector confusion matrices.
- The model estimates the posterior probability that a data point is anomalous, incorporating uncertainty from all detectors.
- Hyperparameters for beta priors are set to match the empirical mean and variance of estimated error rates and true label probabilities.
- The algorithm iteratively updates estimates of detector accuracy and true labels using an expectation-maximization-like scheme.
- The final anomaly decision is based on the posterior mean of the anomaly probability, which is interpretable as a confidence score.
Experimental results
Research questions
- RQ1Can a Bayesian ensemble framework improve interpretability and theoretical rigor in unsupervised anomaly detection?
- RQ2Can individual detector error rates, bias, and variance be reliably estimated without labeled data?
- RQ3How does the ensemble perform when some detectors are highly inaccurate or random?
- RQ4Can the ensemble maintain high accuracy despite the inclusion of unreliable detectors?
Key findings
- The Bayesian ensemble achieved a 1.76% error rate on real-world Yahoo! traffic data, representing a 28.7% reduction in error compared to the next-best method, majority voting.
- The model detected 585 true positives and only 586 false positives, outperforming majority voting which had 1,137 false positives.
- Even when a random detector with 50% accuracy was introduced, the Bayesian ensemble maintained the same error rate (0.176%), while majority voting’s error rate increased by 179%.
- The posterior distribution revealed that the random detector had a true positive rate of 0.522, confirming it was identified as unreliable and downweighted.
- The model provided interpretable outputs, including posterior probabilities of anomalies and individual detector error rates, enabling detailed performance analysis.
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.