Abstract
Traditional outlier detection methods often struggle in high-dimensional spaces, where the "curse of dimensionality" masks anomalies and provides little context for why a point is considered deviant. We present LODI (Local Outlier Detection with Interpretation), a novel framework that simultaneously identifies local outliers and provides a weighted ranking of the features that define their uniqueness. By combining information theory for adaptive neighborhood selection with matrix eigen-decomposition for subspace learning, LODI achieves state-of-the-art performance on both synthetic and real-world benchmarks while offering human-readable explanations.
Introduction
In data mining, identifying an outlier is often only half the battle. In critical domains like fraud detection or bioinformatics, practitioners need to understand the underlying reasons for an anomaly. Existing methods face two primary challenges: neighborhood noise, where nearby outliers mask each other's presence, and a lack of interpretability, where algorithms provide a score but no insight into which specific features are responsible for the deviation.
LODI addresses these issues by treating outlier detection as a local binary classification problem. It seeks to find a "pure" neighborhood for each candidate point and then learns an optimal one-dimensional subspace that maximizes the separation between the candidate and its neighbors.
The LODI Framework
The LODI algorithm operates through a two-step process designed to ensure both detection accuracy and explanatory power.
1. Adaptive Neighbor Selection via Entropy
Local outlier detection relies on comparing a point to its neighbors. However, a fixed $k$-nearest neighbor ($k$-NN) approach often includes "noisy" points—such as other outliers or members of adjacent clusters—which can obscure the true nature of the anomaly.
LODI employs Quadratic Renyi Entropy to prune these irrelevant neighbors. The algorithm starts with a larger candidate set and monitors the "information potential." As shown in the figure below, the algorithm identifies large gaps in information potential to determine the optimal neighborhood size. This heuristic ensures the final reference set is a coherent, "pure" distribution, preventing the masking effect.
2. Subspace Learning and Interpretation
Once a pure neighborhood is established, LODI identifies the optimal one-dimensional subspace (defined by a vector $w$) that best distinguishes the outlier. The goal is to find a projection that maximizes the distance between the outlier and the neighborhood center while minimizing the variance within the neighborhood itself.
This optimization is solved using generalized eigen-decomposition. The resulting vector $w$ is a linear combination of the original features. Crucially, the magnitude of the coefficients in $w$ directly corresponds to the importance of each feature in making the point an outlier. This provides a built-in, weighted explanation for every detection.
Experimental Evaluation
The authors evaluated LODI against established algorithms, including LOF (density-based), ABOD (angle-based), and SOD (subspace-based), using both synthetic and UCI real-world datasets.
- Accuracy: On the Ionosphere radar dataset, LODI achieved an AUC of 0.892, significantly outperforming SOD (0.800) and ABOD (0.791).
- Stability: In synthetic tests with increasing dimensionality (Syn3), LODI maintained high detection rates even as noisy dimensions were added, whereas competing methods saw sharp performance declines.
- Interpretability: Qualitative analysis of the Image Segmentation dataset showed that LODI correctly identified feature subsets responsible for anomalies, successfully distinguishing between "color-based" and "position-based" outliers.
Key Insights and Discussion
LODI's success stems from the "Pure Neighborhood" principle. By ensuring the reference set is not contaminated by other anomalies, the deviation of the outlier becomes much sharper and easier to characterize. Furthermore, because the math used for detection is identical to the math used for explanation, the resulting feature rankings are statistically grounded rather than post-hoc approximations.
While the current implementation assumes linear separability and has a quadratic complexity relative to the number of features ($O(D^2)$), it represents a significant step forward in making high-dimensional outlier detection both more accurate and more transparent. Future work may explore non-linear dimensionality reduction to handle more complex local data distributions.
Summary updated