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.
The top 3
- N³ Complexity's Stiff Limit on Dataset Size: OCSVM training complexity scales between O(N²) and O(N³) with the number of samples (N), making it impractical for datasets exceeding 50,000 to 100,000 samples; for instance, 45,000 samples can take ~44 seconds, while 200,000 may require 4-24 hours.
- Kernel Matrix's Memory Drain: Standard OCSVM training necessitates storing and operating on an N x N kernel matrix, leading to substantial memory consumption. This overhead, coupled with the need to retain all support vectors for prediction, often restricts its deployment on memory-constrained platforms like IoT devices.
- High-Dimensionality's Exacerbated Burden: While SVMs are effective in high-dimensional spaces, OCSVM's training time and memory demands are severely amplified by the 'curse of dimensionality.' This significantly increases the computational constant factors, pushing practical limits for datasets with many samples or very high feature counts.
Sources
Open the full topic