Forming Classifier Ensembles with Deterministic Feature Subspaces

Michal Koziarski, Bartosz Krawczyk, Michal Wozniak

Abstract

Ensemble learning often relies on the Random Subspace (RS) method to foster diversity among base learners. However, the stochastic nature of RS introduces instability and hinders reproducibility, which are critical in high-stakes applications. This paper introduces the Deterministic Subspace (DS) method, a greedy algorithm that distributes features based on a weighted balance of individual quality and ensemble diversity. Through extensive testing on 22 datasets with CART, k-NN, and SVM classifiers, we demonstrate that DS provides a stable, reproducible alternative to RS, often achieving superior classification accuracy by optimizing the trade-off between feature strength and subspace diversity.

Introduction

Classifier ensembles improve predictive performance by combining multiple models. A key challenge is ensuring these models are sufficiently diverse to avoid correlated errors. The Random Subspace (RS) method achieves this by training each base learner on a random subset of features. While effective, RS is inherently unstable; different random seeds lead to different ensembles, complicating debugging and deployment in clinical or industrial settings. This research proposes a deterministic approach to feature subspace formation to eliminate this variability.

The Deterministic Subspace (DS) Algorithm

The DS algorithm replaces random selection with a guided "greedy round-robin" distribution. Features are ranked and assigned to base learners using a scoring function:

$$score = \alpha \cdot \text{feature quality} + (1 - \alpha) \cdot \text{diversity}$$

The parameter $\alpha \in [0, 1]$ controls the trade-off. A high $\alpha$ prioritizes high-quality features (e.g., those with high mutual information or correlation with the target), while a low $\alpha$ emphasizes spreading features evenly across models to maximize diversity. Three quality metrics were evaluated: predictive accuracy on a validation set, mutual information, and statistical correlation.

Experimental Setup

The method was evaluated using 22 datasets from the UCI and KEEL repositories, ranging from 11 to 90 features and up to 10,000 instances. Three distinct base learners—Classification and Regression Trees (CART), k-Nearest Neighbors (k-NN), and Support Vector Machines (SVM)—were used to assess the generalizability of the DS approach.

Results and Analysis

The primary finding is that DS offers a stable alternative to RS without sacrificing performance. As shown in Figure 1, DS ensembles (represented by bars) consistently match or exceed the average performance of RS (the orange line) across various $\alpha$ settings.

Comparison of Correct Classification Rate (CCR) for CART, k-NN, and SVM models using DS (bars) versus the RS baseline (orange line) across different $\alpha$ values.

A critical insight from the experiments is the "Quality-Diversity Tightrope." Performance is generally highest when $\alpha$ is between 0.0 and 0.5. When $\alpha$ exceeds 0.5, the ensemble begins to prioritize feature quality over diversity. This leads to base learners that are individually strong but highly correlated, causing the ensemble's collective accuracy to drop. This trend is clearly visible in the heatmap for SVM ensembles, where performance gains shift toward losses as $\alpha$ increases.

Heatmap illustrating the performance impact of the $\alpha$ parameter and feature quality metrics for SVM ensembles across various datasets. Blue indicates performance degradation relative to the baseline at higher $\alpha$ values.

Conclusion

Deterministic Subspace (DS) successfully addresses the instability of random feature selection in ensemble learning. By providing a tunable parameter to balance quality and diversity, DS allows for the creation of robust, reproducible models. Future work will explore more sophisticated search strategies and the application of DS to high-dimensional data such as genomics.

Summary updated

BibTeX
@inproceedings{koziarski2016forming,
  author = {Michal Koziarski and Bartosz Krawczyk and Michal Wozniak},
  title = {{Forming Classifier Ensembles with Deterministic Feature Subspaces}},
  booktitle = {Fedcsis},
  year = {2016},
  doi = {10.15439/2016f552},
}
Figure