Active Learning of SVDD Hyperparameter Values

Holger Trittenbach, Klemens Böhm, Ira Assent · DOI

Abstract

Support Vector Data Description (SVDD) is a popular method for outlier detection. However, its usefulness largely depends on selecting good hyperparameter values—a difficult problem that has received significant attention in literature. Existing methods to estimate hyperparameter values are purely heuristic, and the conditions under which they work well are unclear. In this article, we propose LAMA (Local Active Min-Max Alignment), the first principled approach to estimate SVDD hyperparameter values by active learning. The core idea bases on kernel alignment, which we adapt to active learning with small sample sizes. In contrast to many existing approaches, LAMA provides estimates for both SVDD hyperparameters. These estimates are evidence-based, i.e., rely on actual class labels, and come with a quality score. This eliminates the need for manual validation, an issue with current heuristics. LAMA outperforms state-of-the-art competitors in extensive experiments on real-world data. In several cases, LAMA even yields results close to the empirical upper bound.

Introduction

Support Vector Data Description (SVDD) works by fitting a "hypersphere" around normal data points (inliers). Anything falling outside this boundary is flagged as an outlier. To work effectively, SVDD requires two parameters: the kernel bandwidth $\gamma$, which controls boundary complexity, and the cost parameter $C$, which determines the trade-off between sphere size and the number of excluded points.

Because SVDD is typically used in unsupervised settings, users usually rely on heuristics to set these values. However, these heuristics often fail and provide no quality guarantees. LAMA addresses this by bringing a human into the loop to provide a small number of labels, grounding the parameter estimation in actual evidence.

The LAMA Framework

LAMA (Local Active Min-Max Alignment) breaks the "chicken-and-egg" problem of needing a tuned model to select informative points for labeling through several key innovations.

Locally Optimal Alignment

Traditional kernel alignment tries to make all points of the same class look similar globally. This fails in outlier detection because outliers are often dissimilar to each other. LAMA instead focuses on local neighborhoods, ensuring inliers are similar to their immediate neighbors. This approach is much more robust to the small, biased samples typical of early active learning stages.

Global vs. Local Alignment: Global alignment (top) often leads to overfitting with complex boundaries when labels are sparse, while local alignment (bottom) produces a more generalized fit.

Asymmetric Label Propagation

To increase the effective sample size from limited human feedback, LAMA propagates labels to neighbors. This propagation is asymmetric: inlier labels spread to nearest neighbors, while outlier labels spread more conservatively to "symmetric" neighbors to avoid mislabeling nearby inliers.

Asymmetric Label Propagation: Inlier labels (green) propagate to nearest neighbors, while outlier labels (red) propagate to symmetric neighbors to maintain boundary integrity.

Min-Max Query Strategy

To decide which point the human should label next, LAMA uses a Min-Max strategy. It looks for the point that would cause the most significant change in the alignment score, regardless of its eventual label. This promotes rapid exploration of the data space.

Experimental Results

The authors evaluated LAMA on 16 real-world benchmark datasets for outlier detection, including medical, technical, and physical data. LAMA was tested against state-of-the-art heuristics (QMS, DFN, ADS) and a random sampling baseline.

  • Superior Accuracy: LAMA outperformed competitors on the majority of datasets, often achieving a Cohen's Kappa significantly higher than traditional methods.
  • Near-Optimal Performance: In several cases, LAMA’s performance was remarkably close to the Empirical Upper Bound—the theoretical maximum performance achievable with full label access.
  • Robustness: While many heuristics failed completely on certain datasets, LAMA remained robust across different data characteristics.

Conclusion

LAMA provides a principled, evidence-based alternative to unsupervised heuristics for SVDD hyperparameter tuning. By focusing on local alignment and using an active learning framework, it achieves near-optimal performance with minimal human intervention, providing both accurate parameters and a reliable quality score.

Summary updated

BibTeX
@inproceedings{trittenbach2019active,
  author = {Holger Trittenbach and Klemens Böhm and Ira Assent},
  title = {{Active Learning of SVDD Hyperparameter Values}},
  booktitle = {DSAA},
  year = {2019},
  doi = {10.1109/dsaa49011.2020.00023},
}
Figure