OCSVM's Purity Paradox: The Clean Data Imperative
One-Class SVM's core strength, defining a precise boundary around normal data, creates a critical dependency on "pure" training data; even minor contamination fundamentally compromises its ability to accurately model the 'normal' class and leads to unreliable anomaly detection.
The top 3
- OCSVM's Sharp Decline: Performance Loss from Minimal Outliers: Even a small contamination of 1-2% in the training data can significantly degrade One-Class SVM performance, leading to high false negative rates. Industry benchmarks suggest that training data contamination exceeding 5% notably impairs OCSVM's accuracy by skewing its definition of 'normal' behavior.
- OCSVM's Lifeline: Data Cleaning and Nu Parameter Tuning: To ensure OCSVM reliability, essential steps include pre-filtering training data using methods like Isolation Forest for outlier removal and rigorous feature scaling (e.g., StandardScaler or RobustScaler). The 'nu' hyperparameter is critical, typically set between 0.01 and 0.05 for very clean data, as it defines the expected fraction of outliers and influences the decision boundary.
- Beyond OCSVM: Superior Anomaly Detectors for Noisy Datasets: When training data contamination is unavoidable, other algorithms often prove more robust than OCSVM. Isolation Forest is frequently recommended as a more resilient alternative, while advanced methods like Autoencoders and specifically Shrink Autoencoder (SAE) have demonstrated less sensitivity to outliers compared to Denoising Autoencoder (DAE) and PCA in real-world network anomaly detection scenarios.
Sources
Open the full topic