OCSVM Training: O(N³) Complexity in High-D

One-Class SVM training complexity typically ranges from O(N²) to O(N³) with respect to the number of training instances (N), a burden significantly amplified in high-dimensional datasets due to kernel matrix computations.

The top 3

  1. OCSVM Training Time: Practical Roadblocks: One-Class SVM's O(N³) complexity means training datasets exceeding 10,000 samples often require approximation methods, while datasets over 50,000 instances can lead to training times extending to hours or even days, alongside significant memory consumption.
  2. OCSVM vs. Faster Anomaly Detectors: Complexity Showdown: Compared to OCSVM's O(N³) complexity, Isolation Forest offers a linear time complexity of O(N log N) for training, making it significantly faster and more scalable for large, high-dimensional datasets. Local Outlier Factor (LOF) also typically outperforms OCSVM in speed and memory for large data by avoiding full distance matrix calculations.
  3. Top 3 Strategies to Mitigate OCSVM's High-D Complexity: To combat OCSVM's computational burden in high dimensions, key strategies include: 1) Kernel Approximation methods like Nyström approximation or random Fourier features, which can reduce computation time by 60-80% while retaining high accuracy. 2) Strategic Subsampling or mini-batch learning for large datasets. 3) Dimensionality Reduction techniques such as PCA or t-SNE to project data into a lower-dimensional space before OCSVM training.

Sources

Open the full topic