Selecting locally specialised classifiers for one-class classification ensembles

Bartosz Krawczyk, Boguslaw Cyganek

Introduction

One-class classification (OCC) is a specialized branch of machine learning designed for scenarios where only data from a single "target" class is available. This is common in anomaly detection, such as identifying equipment failure in a power plant or detecting rare medical conditions, where examples of the "outlier" class are scarce or non-existent.

To capture complex data distributions, researchers often use ensembles of local experts. A prominent framework is OCClustE, which partitions data into local regions and trains specialized classifiers for each. However, a significant hurdle remains: determining the optimal number of clusters ($K$). Traditionally, this requires manual tuning and domain expertise. This paper presents a fully automated approach by evaluating ten different cluster-selection metrics to find a "set-it-and-forget-it" solution for OCC ensembles.

The OCClustE Framework

The OCClustE method operates through a three-stage pipeline designed to "divide and conquer" the target class distribution:

  1. Clustering: The system uses Kernel Fuzzy C-Means (KFCM) to partition the input data into $K$ competence areas.
  2. Local Training: For each area, a Weighted One-Class Support Vector Machine (WOCSVM) is trained. The fuzzy membership weights allow the model to prioritize dense regions of the target class while naturally down-weighting noise and outliers.
  3. Fusion: The outputs of these local experts are combined using a Gaussian-based heuristic to produce a final classification score.
The OCClustE framework: from fuzzy kernel clustering to an ensemble of local WOC-SVM classifiers.

Automated Selection of K

The core contribution of this research is the rigorous testing of ten methodologies to automatically determine the best $K$. These metrics are categorized into three types:

  • Membership-based: Metrics like the Partition Coefficient (PC) that evaluate the "crispness" of data assignments to clusters.
  • Data-driven: Metrics such as the I index or Fuzzy Hyper Volume (FHV) that consider both cluster assignments and the actual geometric distribution of the data.
  • Statistical: The Akaike Information Criterion (AIC), which applies information theory to balance model fit against complexity, effectively preventing overfitting by penalizing unnecessarily high values of $K$.

Experimental Evaluation

The researchers tested these automated metrics across 20 diverse datasets from the UCI repository. These included 10 binary datasets (where the minority class was treated as outliers) and 10 multi-class datasets used for "one-class decomposition." In the latter, a complex multi-class problem is broken down into several independent OCC tasks, testing the ensemble's ability to handle high-dimensional, multi-modal data.

Results and Key Insights

The study utilized Friedman ranking and Shaffer post-hoc statistical tests to identify the most effective metrics.

  • The Champion Metric: The Akaike Information Criterion (AIC) emerged as the most robust and reliable method. It consistently identified a balance that provided high classification accuracy without over-clustering the data.
  • Local Specialization: The results confirmed that "local experts" significantly outperform global models. By creating tighter decision boundaries around specific data clusters, the ensemble avoids the "empty sphere" problem, where a single global model becomes too loose and misclassifies outliers as target objects.
  • Performance Gains: In multi-class decomposition tasks, the automated ensemble approach frequently outperformed standard binary-based decomposition methods.
Visualization of local data partitions in the feature space, allowing for specialized decision boundaries around complex data shapes.

Conclusion

This research demonstrates that automated selection of ensemble parameters is not only viable but often superior to manual tuning. By using statistical measures like AIC, practitioners can deploy powerful OCC ensembles that adapt to the underlying geometry of the data with minimal human intervention. Future work may explore alternative space-partitioning techniques, such as non-negative matrix factorization, to further enhance performance in high-dimensional feature spaces.

Summary updated

BibTeX
@article{krawczyk2017selecting,
  author = {Bartosz Krawczyk and Boguslaw Cyganek},
  title = {{Selecting locally specialised classifiers for one-class classification ensembles}},
  journal = {Pattern Anal. Appl},
  year = {2017},
  doi = {10.1007/s10044-015-0505-z},
}
Figure