Skip to main content
QUICK REVIEW

[Paper Review] ELF: An Early-Exiting Framework for Long-Tailed Classification

Rahul Duggal, Scott Freitas|arXiv (Cornell University)|Jun 22, 2020
Domain Adaptation and Few-Shot LearningComputer Science36 references16 citations
TL;DR

ELF proposes a novel early-exiting framework that improves long-tailed classification by learning example hardness during training, using auxiliary classifier branches to route easy examples through earlier exits. This shifts model focus to hard examples, boosts accuracy by over 3% on ImageNet LT and iNaturalist’18, and reduces inference FLOPS by up to 20%, while enabling on-the-fly model selection for variable compute budgets.

ABSTRACT

The natural world often follows a long-tailed data distribution where only a few classes account for most of the examples. This long-tail causes classifiers to overfit to the majority class. To mitigate this, prior solutions commonly adopt class rebalancing strategies such as data resampling and loss reshaping. However, by treating each example within a class equally, these methods fail to account for the important notion of example hardness, i.e., within each class some examples are easier to classify than others. To incorporate this notion of hardness into the learning process, we propose the EarLy-exiting Framework(ELF). During training, ELF learns to early-exit easy examples through auxiliary branches attached to a backbone network. This offers a dual benefit-(1) the neural network increasingly focuses on hard examples, since they contribute more to the overall network loss; and (2) it frees up additional model capacity to distinguish difficult examples. Experimental results on two large-scale datasets, ImageNet LT and iNaturalist'18, demonstrate that ELF can improve state-of-the-art accuracy by more than 3 percent. This comes with the additional benefit of reducing up to 20 percent of inference time FLOPS. ELF is complementary to prior work and can naturally integrate with a variety of existing methods to tackle the challenge of long-tailed distributions.

Motivation & Objective

  • To address the generalization gap in long-tailed classification by incorporating the notion of example hardness, which prior methods overlook.
  • To improve model performance on rare classes without sacrificing accuracy on frequent classes.
  • To reduce inference FLOPS and enable dynamic model selection under variable compute constraints.
  • To develop a framework that complements existing class rebalancing techniques like loss reshaping and data resampling.

Proposed method

  • ELF augments a backbone network with multiple auxiliary classifier branches (early-exits) at different depths.
  • During training, examples are encouraged to exit early at the first branch where they are predicted with high confidence.
  • Hard examples, which fail early exits, accumulate higher loss and are passed to deeper branches, increasing their contribution to the overall loss.
  • The framework uses a multi-task training objective where each exit branch predicts the class label, and the final branch provides the main prediction.
  • The loss is computed at each exit, and examples that fail to achieve high confidence at earlier exits are backpropagated through deeper layers.
  • The method naturally integrates with existing long-tailed learning techniques such as LDAM, DRW, and Focal Loss.

Experimental results

Research questions

  • RQ1Can learning example hardness during training improve generalization in long-tailed classification?
  • RQ2Does early-exiting during training shift model capacity toward harder examples and improve performance on rare classes?
  • RQ3Can early-exiting reduce inference FLOPS while maintaining or improving accuracy?
  • RQ4How does ELF compare to state-of-the-art methods in terms of accuracy and efficiency across long-tailed datasets?
  • RQ5Can ELF enable on-the-fly model selection for variable compute budgets in real-world deployment?

Key findings

  • ELF improves state-of-the-art accuracy by over 3% on ImageNet LT and iNaturalist’18, with the best result of 78.1% Top-1 accuracy on iNaturalist’18 when combined with LDAM.
  • ELF reduces FLOPS by up to 20% during inference compared to baseline models, even while improving accuracy.
  • The method maintains or improves accuracy across all class frequency splits—Many, Medium, and Few—unlike prior methods that sacrifice performance on frequent classes.
  • Visualizations confirm that earlier exits handle easier, more distinguishable examples, while later exits handle harder, more ambiguous inputs.
  • ELF’s accuracy gains are attributed to hardness-aware learning, not just increased model capacity, as shown by FLOPS analysis.
  • ELF is complementary to existing methods: combining it with LDAM or DRW yields consistent improvements without increasing FLOPS.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.