Abstract
Committee-based models (ensembles or cascades) construct models by combining existing pre-trained ones. While ensembles and cascades are well-known techniques that were proposed before deep learning, they are not considered a core building block of deep model architectures and are rarely compared to in recent literature on developing efficient models. In this work, we go back to basics and conduct a comprehensive analysis of the efficiency of committee-based models. We find that even the most simplistic method for building committees from existing, independently pre-trained models can match or exceed the accuracy of state-of-the-art models while being drastically more efficient. These simple committee-based models also outperform sophisticated neural architecture search methods (e.g., BigNAS). These findings hold true for several tasks, including image classification, video classification, and semantic segmentation, and various architecture families, such as ViT, EfficientNet, ResNet, MobileNetV2, and X3D. Our results show that an EfficientNet cascade can achieve a 5.4x speedup over B7 and a ViT cascade can achieve a 2.3x speedup over ViT-L-384 while being equally accurate.
Introduction
In the pursuit of state-of-the-art (SOTA) performance, the deep learning community has largely focused on designing increasingly complex single-model architectures. This "arms race" often involves massive computational expenditures on Neural Architecture Search (NAS) to find optimal layer arrangements. However, these monolithic models frequently suffer from diminishing returns: as they grow larger, the computational cost (FLOPs) increases exponentially relative to marginal accuracy gains.
This paper advocates for a "back-to-basics" approach: Committee-based models. By leveraging ensembles and cascades of existing, off-the-shelf models, we can achieve superior efficiency and accuracy without the need for specialized training or complex architectural innovations. By using a "committee" approach, the authors achieved a 5.4x speedup over EfficientNet-B7 and a 2.3x speedup over ViT-L while maintaining the same accuracy.
Methodology: The Power of Committees
The researchers explored three primary methods for combining models, prioritizing simplicity over complex boosting or specialized training:
- Ensembles: Multiple independently pre-trained models are used in parallel, and their predictions (logits) are simply averaged. This classic technique reduces variance and improves stability.
- Cascades: A sequential "early exit" strategy. A smaller, faster model processes the input first. If its prediction confidence—measured by the maximum probability in the output distribution—exceeds a certain threshold, the system exits early. If not, the input is passed to a larger, more capable model.
- Self-Cascades: A single model acts as its own committee. The system first processes a low-resolution version of the input image. If the model is confident, it exits; otherwise, it re-processes the image at its native, higher resolution.
Experimental Setup
The approach was validated across three diverse domains to demonstrate its generality:
- Image Classification: Evaluated on the ImageNet dataset.
- Video Classification: Tested on Kinetics-600, which incorporates temporal dynamics.
- Semantic Segmentation: Assessed on Cityscapes, requiring dense pixel-level predictions.
The study spanned multiple architecture families, including ResNet, EfficientNet, MobileNetV2, X3D, and Vision Transformers (ViT).
Key Insights
The "Easy Example" Intuition
The success of cascades stems from the observation that not all data points are equally difficult. A high-capacity model like EfficientNet-B7 is unnecessary for identifying a clear, centered image of a common object. Cascades allow the system to allocate high computational resources only to "hard" examples, significantly reducing average energy consumption on "easy" ones.
Beating Neural Architecture Search
A surprising finding is that these simple committees often outperform models discovered through sophisticated NAS, such as BigNAS. This suggests that combining existing models may be a more effective path toward efficiency than refining individual architectures.
Training and Resource Efficiency
Training several medium-sized models is often more practical than training one gargantuan model. It typically requires less peak memory and can be parallelized across more modest hardware, making high-performance AI more accessible to researchers with limited compute.
Results and Discussion
The quantitative gains are significant across all tested architectures. For instance, a cascade of smaller EfficientNets matched the accuracy of the flagship B7 model while being 5.4x faster in terms of average FLOPs.
Other notable results include:
- Vision Transformers: A ViT cascade achieved a 2.3x speedup over ViT-L-384 on ImageNet.
- Video: On Kinetics-600, the cascade approach outperformed the SOTA X3D-XL by 1.2% with fewer FLOPs.
- Segmentation: A grid-based cascade on Cityscapes achieved a 1.3x reduction in FLOPs with no loss in mIoU.
Hardware tests on TPUv3 confirmed that these FLOP reductions translate directly into increased throughput and reduced latency in real-world deployments.
Limitations
Despite their advantages, committee-based models have trade-offs:
- Memory Footprint: Cascades require multiple models to be resident in memory, which may challenge edge devices with limited VRAM.
- Worst-Case Latency: "Hard" examples that pass through the entire cascade will experience higher latency than if they had been processed by a single large model initially.
- Heuristic Dependency: The system's performance depends on the confidence threshold. While max probability is effective, more advanced gating mechanisms could further optimize performance.
Summary updated