Isolation Forest's Core: Directly Isolating Anomalies
Unlike distance-based methods that profile normal data, Isolation Forest efficiently detects anomalies by directly isolating them with fewer random splits in decision trees, leveraging their distinct and rare nature.
The top 3
- How Isolation Forest Isolates: Shortest Path Lengths Rule: Isolation Forest directly isolates anomalies using an ensemble of random binary trees. Anomalies, being 'few and different,' require fewer random splits to be separated from the rest of the data, resulting in significantly shorter average path lengths from the root to a leaf node compared to normal data points.
- Anomaly Score Secret: Average Path Length Quantifies Rarity: The anomaly score in Isolation Forest is calculated based on the average path length of an instance across all isolation trees. A shorter average path length yields a higher anomaly score, with scores closer to 1 indicating a greater likelihood of being an anomaly, while scores near 0.5 or lower suggest a normal point.
- Isolation Forest: Short Paths Expose Anomalies: Anomalies, being distinct and sparse, are isolated with fewer random splits in isolation trees, resulting in significantly shorter path lengths from the root to their terminal nodes.
Sources
Open the full topic