PIF: Anomaly detection via preference embedding
Filippo Leveni, Luca Magri, Giacomo Boracchi, Cesare Alippi
TL;DR
PIF addresses anomaly detection for data that deviate from structured patterns by embedding observations into a high-dimensional preference space and applying PI-Forest, a tree-based isolation method built on nested Voronoi tessellations with the $Tanimoto$ distance. Preference embedding computes a vector of model-based preferences for each data point using a pool of parametric models sampled from the data, then PI-Forest operates in the resulting space to produce anomaly scores $\alpha_\psi(p) = 2^{-\frac{E[h(p)]}{c(\psi)}}$. The approach outperforms state-of-the-art detectors such as LOF, iFor, and EiFor on synthetic patterns and real data (AdelaideRMF), demonstrating improved separability for pattern-based anomalies and robustness across varying anomaly rates. The work demonstrates the value of combining structure-informed embeddings with distance-preserving isolation and suggests broad applicability to other metric spaces and non-parametric preference embeddings.
Abstract
We address the problem of detecting anomalies with respect to structured patterns. To this end, we conceive a novel anomaly detection method called PIF, that combines the advantages of adaptive isolation methods with the flexibility of preference embedding. Specifically, we propose to embed the data in a high dimensional space where an efficient tree-based method, PI-Forest, is employed to compute an anomaly score. Experiments on synthetic and real datasets demonstrate that PIF favorably compares with state-of-the-art anomaly detection techniques, and confirm that PI-Forest is better at measuring arbitrary distances and isolate points in the preference space.
