OCSVM's Shrinking Boundary: The Cost of Contamination

Even a small percentage (e.g., 1-5%) of outliers in training data can significantly distort the One-Class SVM's learned boundary, causing it to become overly tight or shift, leading to misclassification of legitimate normal points as anomalies.

The top 3

  1. Contamination Threshold: OCSVM's 2% Purity Limit: One-Class SVM performance significantly degrades with even 1-2% anomalies in its training data, underscoring the critical need to maintain training data purity below 2% for reliable anomaly detection.
  2. OCSVM vs. Isolation Forest: Contamination Handling: Isolation Forest generally exhibits greater resilience to contaminated training data and scales more effectively with high-dimensional datasets compared to the contamination-sensitive One-Class SVM.
  3. Top OCSVM Robustness Fixes: Pre-filtering & Nu-Tuning: To mitigate OCSVM's sensitivity to contaminated training data, key strategies involve implementing a two-phase approach with preliminary outlier detection and carefully tuning the `nu` hyperparameter (typically between 0.01 and 0.20).

Sources

Open the full topic