A geometric framework for multiclass ensemble classifiers

Shengli Wu, Jinlong Li, Weimin DingMachine 2023

Abstract

Ensemble classifiers, particularly majority voting (MV) and weighted majority voting (WMV), are foundational to machine learning. However, theoretical understanding of their properties has often been incomplete. This paper introduces a geometric framework that maps multiclass ensemble classification into a high-dimensional Euclidean space. By evaluating classifier performance and dissimilarity through Euclidean distance, ensembling becomes a deterministic optimization problem. We prove that while simple majority voting can be sensitive to poor-performing additions, weighted majority voting with optimal weights exhibits monotonic performance improvement as ensemble size increases. Empirical results across 26 datasets validate the theoretical findings and demonstrate the efficiency of the proposed Euclidean Distance (ED) weighting method.

Introduction

Ensemble methods are a cornerstone of modern artificial intelligence, predicated on the idea that combining multiple models can yield superior predictive performance. Despite their ubiquity, several fundamental questions remain: How many classifiers are optimal? How does diversity formally impact performance? And how can we efficiently determine optimal weights for weighted ensembles? This research addresses these questions by shifting the analysis from the instance level to the dataset level using a novel geometric framework.

The Dataset-Level Geometric Framework

The core innovation is mapping the entire classification process into a high-dimensional space $X$. For a dataset with $n$ instances and $p$ classes, each classifier's output (probability scores) is concatenated into a single vector of length $n \times p$. This vector corresponds to a single point in the space $X$. Similarly, the ground truth labels are mapped to an "ideal point" $O$ in the same space.

Table 1: Representation of classifier scores and real labels for two instances and three classes.

By using Euclidean distance as a unified metric, the framework allows for a formal mathematical treatment of ensemble properties. Majority voting is interpreted as finding the centroid of classifier points, while weighted majority voting is viewed as a linear combination of these points. To navigate this framework, the authors define a specific set of symbols to represent the components of the dataset and the geometric space.

Table 2: Symbols and their meanings within the geometric framework.

Theoretical Insights

One of the most significant contributions of this work is the formalization of the "Many-Could-Be-Better-Than-All" paradox. The authors prove that for simple majority voting, selecting the optimal subset of classifiers is an NP-hard problem. This explains why adding more classifiers to a simple average can sometimes degrade performance—the centroid can be pulled away from the ideal point by weak components.

In contrast, the paper proves that for weighted majority voting using optimal weights, performance is monotonically non-decreasing. Because the optimization process can assign a weight of zero to any detrimental classifier, adding new members to the ensemble can only improve or maintain the current performance level.

The Euclidean Distance (ED) Weighting Method

The framework leads to a computationally efficient method for finding optimal weights. By minimizing the Euclidean distance between the ensemble's fused point and the ideal point, the problem is reduced to a linear least-squares task. This "ED method" can be solved using Multiple Linear Regression (MLR), offering a significant speed advantage over traditional meta-learning techniques like Stacking.

Empirical Results

The theory was tested on 26 UCI datasets. The ED method proved to be highly efficient; for instance, on the "Soybean" dataset, it was 18 times faster than Stacking while achieving comparable accuracy. Across all datasets, the ED method was the top performer in 10 cases, outperforming both Stacking and StackingC. Furthermore, the high correlation (>0.9) between Euclidean distance and standard accuracy metrics justifies the use of distance-based optimization.

Conclusion

This geometric framework provides a rigorous basis for understanding and optimizing ensemble classifiers. By transforming ensemble learning into a deterministic geometric problem, the authors offer clear answers to long-standing questions about ensemble size, diversity, and weighting. Future work will explore extending this framework to data streams and multi-modal data fusion.

Summary updated

BibTeX
@inproceedings{wu2023geometric,
  author = {Shengli Wu and Jinlong Li and Weimin Ding},
  title = {{A geometric framework for multiclass ensemble classifiers}},
  booktitle = {Machine},
  year = {2023},
  doi = {10.1007/s10994-023-06406-w},
}
Figure