OCSVM vs. Isolation Forest: High-Dim Performance Gap
Isolation Forest generally proves more effective than One-Class SVM for anomaly detection in high-dimensional and large datasets, primarily due to its faster training time and inherent robustness to increased dimensionality. OCSVM's performance tends to degrade as the kernel matrix grows quadratically with data size, making it less suitable for such extensive datasets.
The top 3
- Isolation Forest's Speed Advantage in High Dimensions: Isolation Forest typically achieves 40-60% faster training times on datasets with over 50 features due to its linear O(n log n) complexity per tree, whereas One-Class SVM's kernel matrix computations can result in O(n²) to O(n³) complexity, making it slower for large, high-dimensional data.
- Memory Efficiency: Isolation Forest Outperforms OCSVM: Isolation Forest requires low memory due to its subsampling approach and tree-based partitioning, making it highly scalable for large, high-dimensional datasets; in contrast, OCSVM's need to store support vectors and compute a potentially large kernel matrix can lead to significant memory and computational overhead.
- Robustness to Irrelevant Features in High Dimensions: Isolation Forest is often more robust to the presence of irrelevant features in high-dimensional data, as its random partitioning strategy can isolate anomalies effectively without being overly influenced by noisy or uninformative dimensions, a challenge for OCSVM.
Sources
Open the full topic