Introduction
Modern machine learning faces a dual challenge: the high computational cost of scaling and the necessity for reliable uncertainty estimates in safety-critical applications. While Sparse Mixture of Experts (MoEs) offer a path to scale capacity without a linear increase in compute, they often lack the robustness and calibration of traditional ensembles. Conversely, "Deep Ensembles"—the gold standard for reliability—are computationally prohibitive as they require running multiple full models.
Researchers from Google Brain and the University of Cambridge have introduced $E^3$ (Efficient Ensemble of Experts) to bridge this gap. $E^3$ combines the efficiency of MoEs with the predictive power of ensembles, matching deep ensemble performance while using up to 45% fewer FLOPs and scaling gracefully to models with over 2.7 billion parameters.
The $E^3$ Architecture
The $E^3$ model is built upon three core design principles that allow it to function as an ensemble of smaller MoE models within a single shared shell:
- Shared Dense Backbone: To minimize redundant computation, $E^3$ shares the majority of its layers (such as self-attention in a Vision Transformer) across all ensemble members.
- Disjoint Expert Partitioning: Unlike standard MoEs where all inputs share a common pool of experts, $E^3$ partitions the total expert pool into $M$ disjoint subsets. Each ensemble member is assigned its own unique set of experts, ensuring predictive diversity.
- Tiled Representations: The architecture utilizes a "tiling" mechanism to process $M$ versions of an input through the shared backbone before routing them to the specific expert subsets belonging to each ensemble member.
Experimental Evaluation
The authors evaluated $E^3$ across a wide range of tasks and datasets, including pre-training on JFT-300M and fine-tuning on ImageNet, CIFAR-10, and CIFAR-100. Robustness was tested using ImageNet-C (corruptions) and ImageNet-A (adversarial examples), while out-of-distribution (OOD) detection was assessed using SVHN and Places365.
Key Results and Insights
The study reveals that the benefits of "adaptive" ensembling (MoE routing) and "static" ensembling (averaging predictions) are complementary and additive.
Pareto Efficiency and Compute Savings
$E^3$ consistently outperforms standard MoE and dense baselines on the Pareto frontier of accuracy versus computational budget. It achieves the performance of deep ensembles with 30% to 45% fewer FLOPs. As models scale, the efficiency gains of $E^3$ become even more pronounced, providing a superior trade-off between performance and compute.
Calibration and Robustness
While standard MoEs often suffer from poor calibration (Expected Calibration Error) despite high accuracy, $E^3$ restores calibration to levels comparable to or better than dense ensembles. On corrupted data (ImageNet-C), $E^3$ improved Negative Log-Likelihood (NLL) by up to 8.33% over standard MoE baselines at large scales.
The Importance of Diversity
A critical finding is that partitioning experts is essential for ensemble performance. If ensemble members share the same experts, their predictions become overly similar, causing the benefits of ensembling to vanish. The disjoint partitioning in $E^3$ ensures the necessary diversity for robust predictions.
Conclusion and Future Work
$E^3$ represents a significant step toward making large-scale, reliable models more accessible. By intelligently partitioning experts and sharing a dense backbone, it provides a "best-of-both-worlds" solution for efficiency and robustness. Future research may extend this architecture to Large Language Models (LLMs) and investigate further optimizations to reduce the memory overhead associated with tiled representations.
Summary updated