Worst-Case Complexity: Other Anomaly Detectors' Big Data Bottlenecks

While Isolation Forest boasts near-linear time complexity (O(n log n) for training, effectively O(n) for big data due to sub-sampling), many traditional anomaly detection algorithms face significant computational hurdles. For instance, One-Class SVM (OCSVM) often has a complexity of O(n²) to O(n³) with respect to the number of samples, making it impractical for large datasets. Similarly, Local Outlier Factor (LOF) and K-Nearest Neighbors (KNN) typically exhibit O(n²) complexity due to distance calculations, severely limiting their scalability for big data environments.

Sources

Open the full topic