Attribution-Guided Exit Policy for Reliable Early-Exit Inference
Abstract
Early-exit neural networks improve inference efficiency by enabling predictions at intermediate layers, but their effectiveness critically depends on the exit policy that decides whether to stop or continue computation. Existing policies, often based on confidence thresholds, enable early termination but offer limited insight into the reliability of such decisions. To address this, we introduce an explainability-aware framework that operationalizes reliability in terms of the semantic consistency of early-exit decisions, using attribution-derived evidence. We propose Progressive Feature Attribution Maps (PFAM), which capture how feature importance evolves across exits, and the Interpretability-Based Early-Exit Score (IEES), a unified decision metric that integrates prediction confidence with attribution strength and cross-exit attribution stability. To enable efficient deployment, we further introduce a lightweight proxy predictor that estimates IEES using inexpensive, attribution-free features, allowing attribution-informed decisions without computing attributions at inference time. Experiments on convolutional architectures (ResNet, MobileNet, MSDNet) show that our approach improves accuracy--efficiency trade-offs, achieving up to 2.9 percentage points of accuracy gain while reducing inference time by up to 24\% compared to full-depth inference. Similar trends are observed on a vision transformer and a BERT-based language model, suggesting applicability beyond convolutional architectures.