Local Outlier Factor
What it is
Compares a point's local density to its neighbours'; much lower density means an outlier.
When to use it
Anomaly detection where anomalies are local, not global, and density varies across regions.
Caveats
Scores depend heavily on the number of neighbours and are hard to compare across datasets, since there is no natural threshold. Neighbour search is costly on large data, and distances lose meaning in high dimensions.
Key ideas
- An outlier detector, not a clusterer: it scores each point instead of grouping points
- Compares a point's local density with the density around its neighbours
- Catches outliers that are only unusual relative to their own region
Related architectures
Original paper
LOF (2000, DOI)