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

Evaluation of Confidence-based Ensembling in Deep Learning Image Classification

Rafael Rosales, Peter T. Popov, Michael PaulitscharXiv 2023 · DOI

Introduction

Deep learning models frequently achieve high average accuracy but struggle with "edge cases"—rare or complex samples underrepresented in training data. While traditional ensembling methods like bagging and boosting address error distribution, they often overlook model confidence. This paper evaluates Conf-Ensemble, a sequential boosting-like technique that constructs ensembles based on uncertainty, specifically testing its scalability on the high-dimensional ImageNet dataset.

The Conf-Ensemble Framework

The core of Conf-Ensemble is a chain of "expert" models. The process begins with an uncertainty metric ($U$), defined by the distance of the highest probability score to the extremes (0 or 1). A score of 0.5 represents maximum uncertainty.

Conceptual overview of the sequential training process for Conf-Ensemble.

Training proceeds sequentially as illustrated in Figure 1:

  1. Baseline ($M_0$): Trained on the complete original dataset.
  2. Expert ($M_1$): Trained on samples where $M_0$ exhibited uncertainty above a training threshold $T_t$.
  3. Subsequent Experts: Each model $M_s$ focuses on samples that the preceding model $M_{s-1}$ found difficult.

Adapting to ImageNet: The Data Scarcity Challenge

Applying Conf-Ensemble to ImageNet (1,000 classes, 1.2 million images) revealed a "Data Scarcity Trap." In complex image classification, "difficult" samples still require robust feature extraction. If an expert's training set is too small, it loses general feature recognition capabilities, underperforming compared to the generalist $M_0$.

To mitigate this, the authors proposed an extension: instead of training on a subset of a subset, each subsequent model selects its training samples from the entire original dataset based on the previous model's uncertainty. This ensures expert models maintain a sufficient volume of data to learn complex visual features while still focusing on difficult regions of the feature space.

Experimental Results and Discussion

The study utilized ResNet50 architectures on the ILSVRC 2012 validation set. Key findings include:

  • Consensus Heuristics: During inference, if the chain remains uncertain, a "most confident" consensus (choosing the highest probability across all members) consistently outperformed simply trusting the "last member" in the chain.
  • Ensemble Performance: While two-member ensembles struggled to beat the baseline, a three-member ensemble using the proposed extension achieved a marginal but significant improvement of 0.10% over the single $M_0$ model.
Top-1 accuracy comparison across different training (Tt) and runtime (Tr) thresholds.
  • Threshold Sensitivity: Performance is highly sensitive to the runtime threshold ($T_r$). As shown in Figure 2, a "sweet spot" exists (e.g., $T_r = 0.20$); thresholds that are too restrictive or too permissive degrade accuracy.
  • Calibration: Beyond raw accuracy, Conf-Ensemble improved model calibration, reducing the Expected Calibration Error (ECE). This suggests the ensemble's probability scores are more reliable indicators of actual correctness, a critical feature for safety-critical systems.

Conclusion

Conf-Ensemble provides a principled approach to handling difficult samples through specialized experts. While the accuracy gains on ImageNet are currently marginal relative to the increased computational cost of running multiple models, the improvements in calibration offer value for applications where reliability is paramount. Future work should focus on automated threshold tuning and investigating the impact of label noise on expert training.

Summary updated

BibTeX
@misc{rosales2023evaluation,
  author = {Rafael Rosales and Peter T. Popov and Michael Paulitsch},
  title = {{Evaluation of Confidence-based Ensembling in Deep Learning Image Classification}},
  year = {2023},
  eprint = {2303.03185},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2303.03185},
}
Figure