RIFT: Relative Isolation From Trees For Anomaly Detection

Mark Daniel Szalai, Gabor Horvath
10/8/2026
cs.LG

No confident code implementation found for this paper.

Abstract

Isolation Forest (IF) is a widely used baseline for unsupervised anomaly detection. Recent studies provide a closed-form expression for the infinite-forest limit for one-dimensional data.

Show full abstract

Inspired by the geometric interpretation of this formula, we introduce RIFT (Relative Isolation From Trees), a deterministic anomaly detection method that generates the minimum spanning tree and scores each point by the sum of the apparent sizes of tree edges as viewed from that point. For one-dimensional data, the RIFT score recovers the closed-form IF limit exactly. In higher dimensions, it provides a parameter-free generalization that is deterministic, robust to varying density and clustered anomalies and avoids the axis-parallel artifacts of IF. We further propose an ensemble variant for large datasets. Experiments on synthetic data and the ADBench benchmark demonstrate that the accuracy is comparable to IF, while the ensemble variant exhibits significantly lower variance across random seeds.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{szalai2026rift,
  title  = {RIFT: Relative Isolation From Trees For Anomaly Detection},
  author = {Mark Daniel Szalai and Gabor Horvath},
  year   = {2026},
  eprint = {2610.12244},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2610.12244v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2610.12244.svg)](https://codeofpaper.com/paper/2610.12244)

Discussion