Beyond FLOPs: Train-Full, Deploy-Partial Multi-Exit Inference via Selective Lightweight IC Ensemble

BitChan Eom, Eunchan KimNeurIPS 2026

TL;DR

Early-exit neural networks save theoretical compute (FLOPs) by letting "easy" images bail out at shallower layers, but on real edge hardware, dynamic branching breaks compiler optimizations and actually makes inference slower. The authors flip this paradigm on its head: instead of routing samples dynamically at runtime, they train a full multi-exit network once, chop off the deepest layers before deployment, and fuse a handpicked subset of intermediate heads into a single, lightning-fast static engine. The result is a smaller, faster, and—surprisingly—more accurate model that never misses a real-time frame deadline.

What Problem Does This Paper Address?

Picture yourself driving home late at night: if the highway is empty, you take an early exit; if you're lost, you keep driving until you're sure. "Early-exit" neural networks apply this exact intuition to computer vision, attaching lightweight internal classifiers (ICs) along a deep backbone so easy inputs can terminate early and save floating-point operations (FLOPs).

On paper, fewer FLOPs should mean faster inference. On actual edge devices, however, there is a catch. Edge compilers like NVIDIA's TensorRT achieve blazing speeds by fusing layers and auto-tuning kernels across a single, static computational graph. Dynamic per-sample branching shatters that single graph into a sequence of separately compiled mini-engines. Every time the runtime pauses to check confidence at an exit, it pays a steep tax in kernel launches, synchronization, and memory copies. In fact, on a Jetson Orin Nano, a classic dynamic early-exit model runs 2.1× slower than the plain, full-depth network! The authors ask: how can we get the accuracy and efficiency perks of multi-exit architectures without tripping over the hardware compiler?

Methods

The authors introduce SLIENet (Selective Lightweight IC Ensemble Network), built around a "train-full, deploy-partial" philosophy and three main ingredients:

  • Light Self-Distillation (Training): Standard multi-exit training optimizes a weighted sum of losses across all exits. SLIENet keeps this setup on the full backbone, but treats the final, deepest layer as a teacher that transfers "dark knowledge" (soft probability distributions) down to each earlier IC. Crucially, they apply a stop-gradient to the teacher so noisy early heads don't corrupt the final head's trajectory via the distillation loss.
Figure 1: Training architecture of SLIENet on ResNet-56. The full network (blocks 0–26) is jointly trained with 6 IC heads and a final FC. The final FC functions as a self-distillation teacher pf(x) that conveys dark knowledge to each IC.
  • Truncated Static Deployment: Once trained, the final classifier and late backbone blocks are completely discarded. You pick a hard depth budget $k$, and every single image runs deterministically from block $0$ to $k$.
  • Selective Lightweight IC Ensemble (SLIE): Instead of relying solely on exit $k$—or naively averaging all exits up to $k$—SLIE runs a sub-second search on a held-out calibration set to pick the optimal subset of intermediate heads to average together. Because the depth and subset are locked in before runtime, the entire partial network and ensemble compile cleanly into a single TensorRT FP16 engine.
SLIE inference architecture compiling into a single static TensorRT engine

Datasets

The authors evaluate their approach on standard vision benchmarks without introducing new datasets, though they enforce a strict calibration split:

  • CIFAR-100: 50,000 training images (split into 48K for training and 2K held out strictly for SLIE subset calibration) and 10,000 test images, evaluated across ResNet-56, VGG-16, and MobileNetV1.
  • Tiny-ImageNet-200: 200 classes with 2,000 calibration images held out from the training set and 10,000 validation images used for testing, evaluated on ResNet-56 ($32\times32$) and ResNet-18 ($64\times64$).

Key Insights and Ideas

  • Overthinking isn't just per-sample; it's architectural: Prior work noted that deep layers sometimes overfit to spurious details on easy images ("overthinking"). Here, the authors show that intermediate ensembles can beat the final classifier on average across all inputs—meaning the deepest head is much more valuable as a training-time teacher than as a deployment endpoint.
  • Weak heads make great teammates if their errors are independent: Why would averaging a weak, shallow exit (say, IC2 or IC3) with a strong deep exit (IC5) improve accuracy? Using a squared-risk mathematical analysis, the authors show that a lower-accuracy head still lowers ensemble error if its mistakes are decorrelated from deeper heads. Naive averaging of all heads fails because noisy early heads drag the average down; selectivity is the secret sauce.
  • One training run rules all budgets: If you train a dedicated, truncated single-head student network with distillation from scratch, it actually matches SLIENet's accuracy at that specific depth. SLIENet’s superpower isn't beating dedicated students at one fixed depth—it's that one training run gives you a menu of static engines for every latency/energy budget post hoc, with zero retraining.
Table 3: Matched static baselines and component decomposition on ResNet-56 / CIFAR-100 (strict protocol, mean ± std; 3 seeds, truncated baselines 5 seeds). “Subset” lists the averaged heads (seed-0 subset for SLIE modes). Truncated baselines are ResNet-56 networks cut at the IC5 depth and trained as single-head models, either from scratch with cross-entropy or distilled from a full ResNet-56 teacher. SLIE4–SLIE6 are all selected post hoc from the same SLIENet checkpoint. MACs/params: deployed engine (truncated backbone and averaged heads).

Key Results

Tested on an NVIDIA Jetson Orin Nano (TensorRT FP16, locked clocks, 10 runs of 10,000 samples) with aResNet-56 backbone on CIFAR-100:

  • Dynamic exits backfire: Shallow-Deep Networks (SDN) dynamic routing hits a median (p50) latency of 4.95 ms (vs. 2.41 ms for vanilla ResNet-56) and misses the 60 fps (16.67 ms) real-time deadline on 22.3 samples per 10k.
  • Faster, greener, and sharper: The recommended SLIE5 mode (truncating after block 20 and averaging IC4 + IC5) boosts accuracy by +1.2 percentage points over vanilla ResNet-56 (69.81% vs. 68.66% across 3 seeds), while cutting p50 latency by 30% (to 1.69 ms), slashing energy consumption by 40% (7.81 mJ vs. 13.02 mJ), and recording zero 60 fps deadline misses.
  • Competitive with heavy cascades: Zero-Time Waste (ZTW), a state-of-the-art cascading ensemble, edges out SLIE6 by 0.44 percentage points in accuracy on device (71.35% vs. 70.91%), but requires six separate engine calls, 2.6× the latency (4.90 ms), and 2.8× the energy.
  • Quantization-friendly: Combining SLIENet with INT8 quantization composes cleanly, cutting latency by 33% relative to FP16 vanilla with $\le 0.10$ pp accuracy change.

Limitations and Future Work

The authors are refreshingly candid about their boundaries:

  • Hardware & Architecture Scope: All claims are scoped to static-compiled CNNs running TensorRT FP16 (and ONNX CPU) on Jetson-class edge devices, tested on small-to-medium datasets. Whether these exact overthinking dynamics and speedups hold on ImageNet-scale data, Vision Transformers (ViTs), or dynamic JIT/AoT compilers remains untested.
  • Calibration Requirements: SLIE needs a labeled calibration split of at least 2,000 samples to reliably pick subsets without overfitting, and its robustness under distribution shift hasn't been quantified yet.
  • Future Directions: For networks with dozens of exits, exhaustive subset search ($2^k - 1$) won't scale, though a preliminary forward-greedy $O(K^2)$ search nearly matches it. Furthermore, because every SLIE operating mode comes from the exact same checkpoint weights, an exciting next step is online mode switching—dynamically swapping pre-compiled static engines on the fly when the device heats up or battery power dips.

Summary updated

Abstract

Early-exit networks promise inference savings by terminating computation at intermediate classifiers, but FLOPs-based gains rarely translate into on-device latency reduction under static-graph compilation. On NVIDIA Jetson Orin Nano, the per-sample exit policy of Shallow-Deep Networks (SDN) runs approximately 2× slower than vanilla ResNet-56 and misses the 60 fps deadline despite using only 40% of the FLOPs, because dynamic branching precludes layer fusion. We propose the Selective Lightweight IC Ensemble Network (SLIENet), a train-full, deploy-partial framework compiled as a single static FP16 engine. SLIENet trains the full backbone with light self-distillation, using the final classifier as a stop-gradient teacher to preserve error diversity across internal classifiers (ICs). At deployment, a sub-second calibration search selects an IC subset for softmax averaging, while overthinking late blocks are truncated at depth k. On CIFAR-100 across ResNet-56, VGG-16, and MobileNetV1, SLIENet outperforms SDN-based variants and remains competitive with ZTW. On Jetson Orin Nano, the recommended SLIE5 configuration improves accuracy by +2.46 pp while reducing p50 latency by 14% and energy by 15% over vanilla, with zero deadline misses across 10,000 test samples. Thus, multi-exit deployment should be a pre-compiled deterministic inference plan, not a sample-wise routing policy.
BibTeX
@inproceedings{eom2026beyond,
  author = {BitChan Eom and Eunchan Kim},
  title = {{Beyond FLOPs: Train-Full, Deploy-Partial Multi-Exit Inference via Selective Lightweight IC Ensemble}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=QGgoHv7Q3A},
}
Figure