A Survey of Early Exit Deep Neural Networks in NLP
Divya Jyoti Bajpai, Manjesh Kumar Hanawal
TL;DR
Large DNNs in NLP pose latency and resource challenges, motivating Early Exit DNNs (EEDNNs) that attach intermediate classifiers to enable adaptive, anytime inference. The survey consolidates design choices for exits, including confidence metrics, thresholding, and training regimes (separate vs joint), and analyzes their impact across NLP tasks and Vision-Language models. It highlights key applications such as text classification, NLI, translation, summarization, and sequence labeling, as well as domain generalization and edge-cloud deployment, OOD detection, and reinforcement-learning contexts. The work provides practical guidance and identifies open challenges—exit criteria, robust confidence estimation, and domain adaptation—to advance efficient, robust NLP systems using early exits.
Abstract
Deep Neural Networks (DNNs) have grown increasingly large in size to achieve state of the art performance across a wide range of tasks. However, their high computational requirements make them less suitable for resource-constrained applications. Also, real-world datasets often consist of a mixture of easy and complex samples, necessitating adaptive inference mechanisms that account for sample difficulty. Early exit strategies offer a promising solution by enabling adaptive inference, where simpler samples are classified using the initial layers of the DNN, thereby accelerating the overall inference process. By attaching classifiers at different layers, early exit methods not only reduce inference latency but also improve the model robustness against adversarial attacks. This paper presents a comprehensive survey of early exit methods and their applications in NLP.
