OCSVM's Critical Weakness: Training Data Contamination

One-Class SVM is highly sensitive to outliers present in its training data; even a small number of anomalies can significantly shift the learned decision boundary, causing true anomalies to be incorrectly classified as normal during prediction. [3, 8, 17]

The top 3

  1. OCSVM's Boundary Distortion: How Outliers Skew 'Normal': Even a small percentage of anomalous data (e.g., 1-2%) within OCSVM's training set can significantly distort its learned decision boundary, causing the 'normal' region to shrink or shift, leading to increased false positives for truly normal data.
  2. Performance Drop: OCSVM's Sensitivity to Training Contamination: OCSVM's performance, often measured by ROC-AUC, can significantly degrade when training data is contaminated. Studies show a notable drop (e.g., from 0.78 to 0.5 ROC-AUC) even with moderate outlier percentages (around 7%) in the training set.
  3. Top 3 Anomaly Detectors More Robust to Contamination: Compared to OCSVM's sensitivity, Isolation Forest, Local Outlier Factor (LOF), and Elliptic Envelope are generally more robust to contaminated training data for anomaly detection, often showing superior performance in such scenarios.

Sources

Open the full topic