[Paper Review] Improved histogram-based anomaly detector with the extended principal component features
This paper proposes SPAD+, an enhanced histogram-based anomaly detector that improves detection accuracy by combining original features with principal components (PCs) to capture correlated multidimensional patterns. By extending the feature space with PCs, SPAD+ effectively detects both Type I (single-feature outliers) and Type II (multidimensional) anomalies, achieving superior performance over baseline SPAD and state-of-the-art methods with minimal runtime overhead.
In this era of big data, databases are growing rapidly in terms of the number of records. Fast automatic detection of anomalous records in these massive databases is a challenging task. Traditional distance based anomaly detectors are not applicable in these massive datasets. Recently, a simple but extremely fast anomaly detector using one-dimensional histograms has been introduced. The anomaly score of a data instance is computed as the product of the probability mass of histograms in each dimensions where it falls into. It is shown to produce competitive results compared to many state-of-the-art methods in many datasets. Because it assumes data features are independent of each other, it results in poor detection accuracy when there is correlation between features. To address this issue, we propose to increase the feature size by adding more features based on principal components. Our results show that using the original input features together with principal components improves the detection accuracy of histogram-based anomaly detector significantly without compromising much in terms of run-time.
Motivation & Objective
- To address the limitation of histogram-based anomaly detectors in detecting anomalies that are not outlying in any single feature but are anomalous in multidimensional subspaces.
- To improve detection accuracy of the SPAD method without significantly increasing runtime.
- To explore whether principal components can enhance anomaly detection by capturing feature correlations that univariate histograms miss.
- To establish a new fast, effective, and efficient baseline for anomaly detection in big data.
Proposed method
- Extend the input feature space by adding principal components (PCs) derived from the covariance matrix of the data.
- Apply the SPAD algorithm on the combined feature space of original features and PCs to compute anomaly scores.
- Compute anomaly scores as the product of univariate histogram probabilities across all dimensions, including both original features and PCs.
- Use PCA to transform correlated input features into uncorrelated, orthogonal components that capture linear relationships.
- Maintain computational efficiency by preserving the histogram-based scoring mechanism, which is inherently fast and scalable.
- Leverage the complementary strengths: original features detect Type I anomalies, while PCs detect Type II anomalies in correlated subspaces.
Experimental results
Research questions
- RQ1Can adding principal components to the feature space improve the detection of anomalies that are not detectable by univariate histograms alone?
- RQ2Does the inclusion of PCs significantly enhance the performance of the SPAD algorithm without incurring substantial computational cost?
- RQ3How does SPAD+ compare to traditional k-NN and other fast anomaly detection methods in terms of both accuracy and runtime?
- RQ4Why do methods like LOF and iForest not benefit from adding PCs, while SPAD+ does?
Key findings
- SPAD+ significantly improves detection accuracy over SPAD on 15 benchmark datasets, with an average AUC increase from 0.8432 to 0.8662.
- SPAD+ outperforms both k-NN and iForest in terms of AUC, achieving the highest average AUC of 0.8662 across all datasets.
- The method maintains high speed, running faster than most existing fast anomaly detection algorithms, making it suitable for big data.
- Adding PCs to LOF and iForest does not improve performance, as their anomaly scores are already based on multi-dimensional distances or random partitions, making PCs redundant or misleading.
- SPAD+ effectively detects Type II anomalies—those that are normal in individual features but anomalous in joint subspaces—by leveraging correlated PCs.
- The use of PCs in SPAD+ avoids false positives common in iForest, as PCs are orthogonal and do not artificially induce correlations.
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.