English

Sparse MoEs meet Efficient Ensembles

Machine Learning 2023-07-11 v2 Computer Vision and Pattern Recognition Machine Learning

Abstract

Machine learning models based on the aggregated outputs of submodels, either at the activation or prediction levels, often exhibit strong performance compared to individual models. We study the interplay of two popular classes of such models: ensembles of neural networks and sparse mixture of experts (sparse MoEs). First, we show that the two approaches have complementary features whose combination is beneficial. This includes a comprehensive evaluation of sparse MoEs in uncertainty related benchmarks. Then, we present Efficient Ensemble of Experts (E3^3), a scalable and simple ensemble of sparse MoEs that takes the best of both classes of models, while using up to 45% fewer FLOPs than a deep ensemble. Extensive experiments demonstrate the accuracy, log-likelihood, few-shot learning, robustness, and uncertainty improvements of E3^3 over several challenging vision Transformer-based baselines. E3^3 not only preserves its efficiency while scaling to models with up to 2.7B parameters, but also provides better predictive performance and uncertainty estimates for larger models.

Keywords

Cite

@article{arxiv.2110.03360,
  title  = {Sparse MoEs meet Efficient Ensembles},
  author = {James Urquhart Allingham and Florian Wenzel and Zelda E Mariet and Basil Mustafa and Joan Puigcerver and Neil Houlsby and Ghassen Jerfel and Vincent Fortuin and Balaji Lakshminarayanan and Jasper Snoek and Dustin Tran and Carlos Riquelme Ruiz and Rodolphe Jenatton},
  journal= {arXiv preprint arXiv:2110.03360},
  year   = {2023}
}

Comments

59 pages, 26 figures, 36 tables. Accepted at TMLR

R2 v1 2026-06-24T06:42:04.749Z