Skip to main content
QUICK REVIEW

[Paper Review] When Ensembling Smaller Models is More Efficient than Single Large Models

Dan Kondratyuk, Mingxing Tan|arXiv (Cornell University)|May 1, 2020
Domain Adaptation and Few-Shot LearningComputer Science11 references24 citations
TL;DR

This paper demonstrates that ensembling smaller, identical models can achieve higher accuracy with fewer FLOPs than training a single large model, challenging the conventional belief that larger models always outperform ensembles. The key finding is that model ensembling offers a more efficient accuracy-speed trade-off, especially as model size increases, due to improved output diversity and reduced overfitting.

ABSTRACT

Ensembling is a simple and popular technique for boosting evaluation performance by training multiple models (e.g., with different initializations) and aggregating their predictions. This approach is commonly reserved for the largest models, as it is commonly held that increasing the model size provides a more substantial reduction in error than ensembling smaller models. However, we show results from experiments on CIFAR-10 and ImageNet that ensembles can outperform single models with both higher accuracy and requiring fewer total FLOPs to compute, even when those individual models' weights and hyperparameters are highly optimized. Furthermore, this gap in improvement widens as models become large. This presents an interesting observation that output diversity in ensembling can often be more efficient than training larger models, especially when the models approach the size of what their dataset can foster. Instead of using the common practice of tuning a single large model, one can use ensembles as a more flexible trade-off between a model's inference speed and accuracy. This also potentially eases hardware design, e.g., an easier way to parallelize the model across multiple workers for real-time or distributed inference.

Motivation & Objective

  • To challenge the assumption that larger single models always outperform ensembles in accuracy and efficiency.
  • To investigate whether ensembling smaller models can surpass single large models in both accuracy and FLOP efficiency.
  • To explore the potential of ensembling as a more flexible and hardware-friendly alternative to scaling single models.
  • To evaluate whether architectural diversity in ensembles improves performance beyond identical model ensembling.

Proposed method

  • Trained multiple instances of the same model architecture (Wide ResNets on CIFAR-10 and EfficientNets on ImageNet) with different random initializations.
  • Averaged predictions using geometric mean across models to form ensembles, with element-wise multiplication and root extraction for n models: $\mu = (y_1 y_2 \dots y_n)^{1/n}$.
  • Measured performance in terms of top-1 accuracy and total FLOPs for both single models and ensembles across varying model sizes.
  • Used neural architecture search (NAS) with a joint search space to explore diverse architectures within ensembles, penalizing maximum latency to enable parallel inference.
  • Optimized the NAS reward function to prioritize accuracy while constraining the slowest model in the ensemble to ensure real-time feasibility.
  • Trained and evaluated searched models for 10 epochs before full convergence to compare performance under fixed latency constraints.

Experimental results

Research questions

  • RQ1Can ensembles of smaller models outperform single large models in accuracy while requiring fewer FLOPs?
  • RQ2Does the performance gap between ensembles and single models widen as model size increases?
  • RQ3Can architectural diversity in ensembles lead to better performance than identical model ensembling?
  • RQ4Is ensembling a more efficient and scalable alternative to model scaling for real-world deployment with latency constraints?

Key findings

  • Ensembles of smaller models achieved higher top-1 accuracy than single large models while requiring fewer total FLOPs on both CIFAR-10 and ImageNet.
  • The performance gap between ensembles and single models widened as model size increased, indicating that ensembling becomes more efficient at scale.
  • On CIFAR-10, ensembles of Wide ResNets with widths k=1,2,4,8 consistently outperformed single models of equivalent or larger FLOP counts.
  • On ImageNet, EfficientNet ensembles (up to three models) matched or exceeded the accuracy of single models with comparable maximum latency.
  • Despite extensive NAS to search for diverse architectures, ensembles of identical models consistently outperformed those with varied architectures under the same latency constraints.
  • The best-performing ensembles were achieved by duplicating the most accurate single model architecture, suggesting that model accuracy dominates over architectural diversity in this setup.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.