Split-Ensemble: Efficient OOD-aware Ensemble via Task and Model Splitting

Anthony Chen, Huanrui Yang, Yulu Gan, Denis A Gudovskiy, Zhen Dong, Haofan Wang, Tomoyuki Okuno, Yohei Nakata, Kurt Keutzer, Shanghang Zhang

TL;DR

Split-Ensemble is a novel framework that achieves the superior accuracy and out-of-distribution (OOD) detection of an ensemble while maintaining the computational cost of a single model. By splitting a classification task into semantically related subtasks and using a tree-like architecture that shares early features, the authors create a "best of both worlds" classifier that knows exactly when it’s looking at something it hasn't seen before.

What Problem Does This Paper Address?

Deep learning models are notoriously overconfident. When shown an image from a category they weren't trained on—known as Out-of-Distribution (OOD) data—they often assign it a high-probability label rather than admitting uncertainty.

While "Deep Ensembles" (training multiple models and averaging them) significantly improve both accuracy and OOD detection, they are computationally expensive, with costs scaling linearly with the number of models. "Efficient" ensemble alternatives often sacrifice diversity, leading to poorer uncertainty calibration. Furthermore, most methods that improve OOD detection require "Outlier Exposure"—training the model on an external dataset of "fake" OOD examples—which isn't always available or practical.

Methods

The authors introduce Split-Ensemble, which relies on two main innovations to achieve efficient, OOD-aware classification.

Overview of the Split-Ensemble framework, illustrating subtask-splitting and iterative pruning.
  1. Subtask-Splitting Training: Instead of training every submodel on the full dataset, they split the $N$ classes into $n$ smaller, semantically similar groups (e.g., one subtask for "aquatic mammals" and another for "trees"). Each submodel is trained to recognize its specific classes (In-Distribution) while treating all other classes in the original training set as a proxy for OOD data. This allows for "Outlier Exposure" without needing any external data.
  2. Tree-like Architecture via Iterative Splitting & Pruning: To keep costs down, the submodels aren't entirely separate. They start as a single "backbone" (like a ResNet). As training progresses, the algorithm identifies which layers can be shared and which need to "branch out" to handle specific subtasks. This is governed by a Minimal Cutting Threshold (MCT) based on feature sensitivity. To ensure the final model isn't larger than a standard single model, they use global structural pruning to remove redundant filters.

Datasets

The researchers evaluated their method on several standard and challenging benchmarks:

  • In-Distribution (ID) Sets: CIFAR-10, CIFAR-100, Tiny-ImageNet, and ImageNet-1K.
  • OOD Evaluation Sets: SVHN, LSUN, Gaussian Noise, and Uniform Noise.
  • Long-Tailed Benchmarks: CIFAR10-LT and CIFAR100-LT (to test performance on imbalanced data).
  • Semantic OOD: The SC-OOD benchmark, which tests if a model can distinguish between similar but distinct categories (e.g., different breeds of dogs).

Key Insights and Ideas

  • The Training Set is its own Best Outlier: By cleverly partitioning the existing training data, the authors show you don't need external "trash" datasets to teach a model what OOD data looks like.
  • Semantic Grouping is Crucial: The paper finds that grouping classes by feature similarity (e.g., putting all "vehicles" in one subtask) makes it much easier for submodels to learn a sharp boundary between what they know and what they don't.
  • Efficiency through Branching: The "aha moment" here is that early layers in a neural network learn universal features (edges, textures) that all subtasks can share. Only the later, high-level layers need to specialize. The Split-Ensemble architecture automates this discovery, creating a tree structure that optimizes for both performance and FLOPs.

Key Results

Split-Ensemble consistently outperformed single-model baselines and other "efficient" ensemble methods (like BatchEnsemble or MIMO) across the board.

OOD detection performance comparison showing Split-Ensemble outperforming single models and naive ensembles.
  • Accuracy Boosts: On Tiny-ImageNet, Split-Ensemble improved top-1 accuracy by a massive 25.5% over a single model. On ImageNet-1K, it saw a 1.9% gain.
  • OOD Detection: In terms of mean AUROC (a standard metric for OOD detection), Split-Ensemble surpassed single models by 2.2% on CIFAR-10, 8.1% on CIFAR-100, and 29.6% on Tiny-ImageNet.
  • Zero Extra Cost: Remarkably, these gains were achieved while keeping the total Floating-point Operations (FLOPs) identical to a single-model baseline.
  • Robustness: The model showed significantly better calibration and accuracy on corrupted data (CIFAR-10-C) compared to standard ensembles.

Limitations and Future Work

While the results are impressive, the authors note a few areas for further exploration:

  • Scale: Most experiments were conducted on smaller-scale or mid-sized problems. The authors acknowledge the need to explore how these techniques translate to massive models like large-scale Vision Transformers or LLMs.
  • Heuristic Design: Currently, the number of subtask splits is decided heuristically through ablation studies. A more automated way to determine the optimal number of splits for a given task would be a valuable next step.
  • Complexity: The iterative splitting and pruning process adds some complexity to the training pipeline compared to a simple "train and go" approach.

Summary updated

BibTeX
@inproceedings{chen2024split,
  author = {Anthony Chen and Huanrui Yang and Yulu Gan and Denis A Gudovskiy and Zhen Dong and Haofan Wang and Tomoyuki Okuno and Yohei Nakata and Kurt Keutzer and Shanghang Zhang},
  title = {{Split-Ensemble: Efficient OOD-aware Ensemble via Task and Model Splitting}},
  booktitle = {International Conference on Machine Learning},
  year = {2024},
  url = {https://openreview.net/forum?id=pQyoBWA146},
}
Figure