Ellipsoidal Subspace Support Vector Data Description

Fahad Sohrab, Jenni Raitoharju, Alexandros Iosifidis, Moncef GabboujarXiv 2020 · DOI

TL;DR

This paper introduces Ellipsoidal Subspace Support Vector Data Description (ES-SVDD), a new approach for anomaly detection that learns to project high-dimensional data into a lower-dimensional space while simultaneously fitting an optimal ellipsoid around the target class. By accounting for data covariance rather than assuming a perfect sphere, the method achieves higher accuracy and significantly faster convergence than previous subspace-based techniques.

What Problem Does This Paper Address?

One-class classification (OCC) is the bread and butter of anomaly detection: you train a model on a "normal" target class (e.g., healthy engine sensor data) so it can spot "abnormal" outliers (e.g., a failing engine).

The classic tool for this is Support Vector Data Description (SVDD), which tries to wrap the target data in a minimum-volume hypersphere. However, SVDD faces two major hurdles:

  1. The Curse of Dimensionality: In high-dimensional spaces, data becomes sparse, making it hard to define a tight boundary.
  2. The "Spherical" Assumption: Real-world data rarely forms a perfect ball. It’s usually stretched or tilted (correlated). Forcing a hypersphere around elongated data creates "superfluous regions"—empty space that the model thinks is "normal," leading to false negatives.

While recent "Subspace SVDD" methods solve the first problem by learning a projection to a lower-dimensional space, they still rely on hyperspheres. This paper aims to solve both by learning a subspace optimized for an ellipsoid.

Methods

The authors propose an iterative, two-step optimization process:

  1. Data Description Step: Given a projection matrix $Q$, the algorithm solves for the support vectors that define the boundary of the ellipsoid in the current subspace.
  2. Subspace Learning Step: The algorithm updates the projection matrix $Q$ using gradient descent to minimize the volume of the hyperellipsoid while incorporating regularization terms that control the variance of the projected data.

Key Innovations: * Covariance Integration: Unlike previous methods, ES-SVDD explicitly uses the concentration (inverse covariance) matrix in its formulation, allowing the boundary to stretch and rotate to fit the data's natural distribution. * Non-linear Projection Trick (NPT): Standard "kernel tricks" don't work for ellipsoids because the math involves outer products. The authors bypass this by using NPT to map data into a non-linear kernel space before applying the linear ES-SVDD formulation. * Regularization Variants: They introduce several regularization terms ($\Upsilon$ and $\psi$) that use different subsets of the data (all samples vs. just support vectors) to stabilize the learned subspace.

Datasets

The method was evaluated on 14 one-class tasks derived from the UCI Machine Learning Repository, including:

  • Seeds (Kama, Rosa, Canadian)
  • Qualitative Bankruptcy
  • Somerville Happiness Survey
  • Iris (Setosa, Versicolor, Virginica)
  • Ionosphere
  • Sonar (Rock vs. Mines)

These datasets range from low-dimensional (4 features) to high-dimensional (60 features), providing a robust test of the "subspace" aspect of the algorithm.

Key Insights and Ideas

  • Flexibility Equals Speed: The most striking finding is that ES-SVDD converges much faster than its hyperspherical counterpart (S-SVDD). Because an ellipsoid is a more natural fit for raw data, the projection matrix doesn't have to "fight" the data as hard to force it into a circular shape.
  • The Power of the Boundary: The authors found that regularization terms using only the support vectors (samples on or outside the boundary) often performed better than using the entire dataset. This suggests that for anomaly detection, the "shape" of the class is best defined by its extremes rather than its mean.
  • Dimensionality Matters: The benefits of ES-SVDD are most pronounced in high-dimensional datasets (like Sonar or Ionosphere). On very small, low-dimensional datasets like Iris, simpler methods sometimes hold their own, but ES-SVDD scales better as complexity increases.

Key Results

  • Performance: ES-SVDD achieved the best average results (measured by Gmean, the geometric mean of sensitivity and specificity) in the majority of cases compared to OC-SVM, standard SVDD, and S-SVDD.
  • Convergence: In datasets like Seeds and Qualitative Bankruptcy, ES-SVDD reached peak performance in significantly fewer iterations than S-SVDD.
  • Stability: The non-linear version of the algorithm generally outperformed the linear version, suggesting that the "ellipsoid in a projected space" approach captures complex, non-linear anomalies effectively.

Limitations and Future Work

  • Kernel Selection: The current non-linear version relies on the RBF kernel. The authors suggest exploring other kernel types to see if they offer better domain-specific performance.
  • Training Efficiency: While the algorithm converges in fewer iterations, the authors want to implement "early exit" strategies to further reduce total training time.
  • Hyperparameter Tuning: The study used Gmean for tuning; future work will look at optimizing for the Area Under the ROC Curve (AUC) to provide a more comprehensive view of model performance across different thresholds.

Summary updated

BibTeX
@misc{sohrab2020ellipsoidal,
  author = {Fahad Sohrab and Jenni Raitoharju and Alexandros Iosifidis and Moncef Gabbouj},
  title = {{Ellipsoidal Subspace Support Vector Data Description}},
  year = {2020},
  eprint = {2003.09504},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2003.09504},
}
Figure