NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

DCSO: Dynamic Combination of Detector Scores for Outlier Ensembles

Yue Zhao, Maciej K. HryniewickiarXiv 2019

Introduction

In unsupervised outlier detection, the absence of ground truth labels makes it challenging to identify the most effective detection model for a given dataset. To mitigate this, researchers typically employ ensembles—groups of diverse detectors (e.g., kNN, LOF) whose scores are aggregated into a final result.

However, traditional ensembles rely on static combination methods, such as simple averaging or taking the maximum score across all detectors. This approach has significant drawbacks: high-performing detectors can be neutralized by poor ones (the "average trap"), and it ignores the fact that a detector's competency often varies across different regions of the data space. Most existing methods evaluate detector performance globally, failing to capture the local relationships that define many anomalies.

The DCSO Framework

The authors propose DCSO (Dynamic Combination of Detector Scores), a framework that adapts Dynamic Classifier Selection (DCS) from supervised learning to the unsupervised outlier domain. DCSO moves away from a "one-size-fits-all" approach by dynamically selecting the most competent detectors for each specific data point based on its local neighborhood.

The DCSO framework compared to Static Global (SG) combination. DCSO includes two variants: Dynamic Detector Selection and Dynamic Ensemble Selection.

As shown in Figure 1, the process consists of two primary stages:

  1. Generation Stage: A pool of diversified base detectors is created. For instance, one might initialize multiple Local Outlier Factor (LOF) detectors with varying neighborhood parameters ($n\_neighbors$).
  2. Combination Stage: For every test instance, the algorithm:
  3. Defines a local region by identifying the instance's $k$-nearest neighbors in the training set.
  4. Generates a pseudo ground truth by aggregating all detector scores on the training data (consensus-based labeling).
  5. Evaluates local competency by calculating the Pearson correlation between each detector's scores and the pseudo ground truth within that specific local neighborhood.
  6. Selects the "local winners": either the single best detector or a small group of top-performing detectors to calculate the final outlier score.

Experimental Results

The framework was evaluated on ten benchmark datasets from the ODDS (Outlier Detection DataSets) library, ranging from medical data (Cardio, Thyroid) to image recognition (Mnist, Letter).

Quantitative Performance

DCSO demonstrated superior performance across nearly all benchmarks. Specifically, the DCSO_MOA (Maximum-of-Average) variant achieved the highest Precision @ m ($P@m$) on all ten datasets compared to traditional static methods. Furthermore, DCSO achieved the highest ROC-AUC scores on 8 out of 10 datasets, proving its robustness in ranking anomalies.

Visual Analysis

Using t-SNE visualizations, the authors provided qualitative evidence of DCSO's effectiveness. By focusing on local competency, DCSO is particularly adept at identifying "local outliers"—anomalies that cluster together and might be overlooked by global averaging but are correctly identified when the algorithm adapts to local data manifolds.

t-SNE visualizations comparing Static Global (SG) and DCSO across three datasets. Red circles highlight areas where DCSO correctly identifies outliers (blue crosses) that static methods miss.

Key Insights and Future Work

DCSO addresses the bias-variance tradeoff inherent in ensembles. While static averaging reduces variance, it often suffers from high bias by including irrelevant models. DCSO reduces bias by selecting only locally accurate models, while its ensemble variations (like MOA) maintain stability. Additionally, DCSO offers improved interpretability, as it can identify which specific detector was deemed most competent for any given data point.

Future research directions include addressing the computational overhead of $k$-nearest neighbor searches in high-dimensional spaces—potentially through approximate nearest neighbor methods—and exploring the use of heterogeneous pools (mixing different types of detectors like Isolation Forests and kNN) to further enhance diversity and performance.

Summary updated

BibTeX
@misc{zhao2019dcso,
  author = {Yue Zhao and Maciej K. Hryniewicki},
  title = {{DCSO: Dynamic Combination of Detector Scores for Outlier Ensembles}},
  year = {2019},
  eprint = {1911.10418},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1911.10418},
}
Figure