Dimensionality-Aware Outlier Detection

Alastair Anderberg, James Bailey, Ricardo J. G. B. Campello, Michael E. Houle, Henrique O. Marques, Milos Radovanovic, Arthur Zimek

TL;DR

This paper introduces DAO, a novel outlier detection method that accounts for the varying "intrinsic dimensionality" of data. By explicitly modeling these local variations, DAO significantly outperforms existing methods, particularly in datasets with complex structures, demonstrating the importance of dimensionality-aware approaches.

What Problem Does This Paper Address?

Outlier detection aims to find data points that deviate significantly from the norm. Traditional methods often struggle in high-dimensional spaces due to the "curse of dimensionality," where distance measures become less meaningful. This paper argues that the real issue isn't just the number of features (dimensionality), but the intrinsic dimensionality (ID) – the effective number of dimensions needed to describe the data's structure. Crucially, this ID can vary locally within a dataset. Existing outlier detection methods, like LOF and kNN, are "dimensionality-unaware" and treat all local regions as if they have the same ID, leading to performance degradation when local IDs differ significantly. This paper addresses this gap by proposing a method that explicitly models and leverages these local ID variations.

Methods

The core of this paper is the Dimensionality-Aware Outlier (DAO) detection method. DAO is theoretically derived as an estimator of an "asymptotic local expected density ratio" (ALDR), building upon the theory of Local Intrinsic Dimensionality (LID).

Here's a breakdown:

  • Local Intrinsic Dimensionality (LID): This is a theoretical concept that quantifies the effective dimensionality of a data distribution in a local neighborhood. The paper leverages existing LID theory and its representation theorems.
  • Asymptotic Local Expected Density Ratio (ALDR): This is a theoretical measure of outlierness that considers how the local probability density around a query point compares to the densities around its neighbors, as the neighborhood size shrinks to zero.
  • Dimensionality-Aware Reformulation: The ALDR is reformulated to explicitly incorporate LID values, allowing it to be converted into a form that depends on distances and LID estimates.
  • DAO Estimator: The theoretical ALDR' is then translated into a practical, nonparametric estimator for finite datasets. This involves approximating neighborhood distances with k-NN distances and using an LID estimator. The key difference from methods like SLOF is that DAO uses the estimated local LID of a neighbor to weight its contribution, rather than just its distance.
  • LID Estimators: The paper evaluates DAO with four different LID estimators: Maximum Likelihood Estimator (MLE), Tight Local Estimation (TLE), Two-Nearest-Neighbor (TwoNN), and LIDL (using Mixture of Gaussians or RQ-NSF density estimators).

Datasets

The paper uses two main types of datasets for evaluation:

  • Synthetic Datasets: 480 synthetic datasets were generated in R³². These datasets consist of two clusters, where one cluster's intrinsic dimension is fixed, and the other's varies from 2 to 32. This controlled environment allows for precise assessment of how performance changes with varying local IDs.
  • Real-World Datasets: A collection of 393 real-world datasets from six different repositories was used. These datasets were selected based on criteria for suitability for outlier detection and excluded those with very few distinct attribute values.

Key Insights and Ideas

  • The "Curse of Dimensionality" is Deeper: The paper strongly argues that the problems in high-dimensional outlier detection are not solely due to the number of features, but more fundamentally to the variation in local intrinsic dimensionality.
  • Local ID Matters: Ignoring local ID variations leads to a significant performance drop, especially when these variations are pronounced. DAO's strength lies in its ability to adapt to these local changes.
  • LID Estimator Choice is Crucial: The performance of a dimensionality-aware method like DAO is highly dependent on the quality and suitability of the LID estimator used. Estimators that might be biased towards inliers (like LIDL with MoG) or rely on smoothing (like TLE) can actually degrade performance. MLE emerged as a robust choice.
  • DAO is a Natural Extension of SLOF: DAO can be seen as a theoretically justified extension of SLOF, where the implicit assumption of SLOF that local ID is always 1 is replaced by an explicit, estimated local LID.

Key Results

  • Synthetic Data Performance: On synthetic datasets, DAO (particularly DAOMLE) consistently outperformed dimensionality-unaware methods (LOF, SLOF, kNN) as the difference in intrinsic dimensions between clusters increased. kNN showed the most drastic performance degradation.
  • Real-World Data Performance: Across 393 real datasets, DAO demonstrated a significant advantage over LOF, SLOF, and kNN. This outperformance was most pronounced in datasets with high dispersion (large variations in local LID) and low autocorrelation (less predictable local LID patterns).
  • Critical Difference Diagram: A critical difference diagram visually confirmed that DAO significantly outperformed its competitors on average across the real datasets.
  • Computational Complexity: DAO's runtime is comparable to LOF and SLOF, especially when efficient LID estimators are used, making it practical for real-world applications.

Limitations and Future Work

  • LID Estimator Sensitivity: The paper highlights that the choice of LID estimator is critical. While MLE performed well, further research is needed to identify the universally best LID estimators for various data characteristics.
  • Open Questions on LID Estimators: The paper poses an open question about which LID estimators lead to the best outlier detection performance in practice, suggesting this is an area for future investigation.
  • Complexity of LID Profiles: While dispersion and autocorrelation of LID were analyzed, the paper hints that more complex LID profiles might exist, and their impact on outlier detection could be a future research direction.

Summary updated

BibTeX
@inproceedings{anderberg2024dimensionality,
  author = {Alastair Anderberg and James Bailey and Ricardo J. G. B. Campello and Michael E. Houle and Henrique O. Marques and Milos Radovanovic and Arthur Zimek},
  title = {{Dimensionality-Aware Outlier Detection}},
  booktitle = {SDM},
  year = {2024},
  doi = {10.1137/1.9781611978032.75},
}

Loading related content...

Figure