Jointly-Learned Exit and Inference for a Dynamic Neural Network : JEI-DNN

Florence Regol, Joud Chataoui, Mark Coates
2/12/2026

No official code found. Best implementation: networkslab/dynn (3 stars, last commit 2024-04-03).

Abstract

Large pretrained models, coupled with fine-tuning, are slowly becoming established as the dominant architecture in machine learning. Even though these models offer impressive performance, their practical application is often limited by the prohibitive amount of resources required for every inference. Early-exiting dynamic neural networks (EDNN) circumvent this issue by allowing a model to make some of its predictions from intermediate layers (i.e., early-exit). Training an EDNN architecture is challenging as it consists of two intertwined components: the gating mechanism (GM) that controls early-exiting decisions and the intermediate inference modules (IMs) that perform inference from intermediate representations. As a result, most existing approaches rely on thresholding confidence metrics for the gating mechanism and strive to improve the underlying backbone network and the inference modules. Although successful, this approach has two fundamental shortcomings: 1) the GMs and the IMs are decoupled during training, leading to a train-test mismatch; and 2) the thresholding gating mechanism introduces a positive bias into the predictive probabilities, making it difficult to readily extract uncertainty information. We propose a novel architecture that connects these two modules. This leads to significant performance improvements on classification datasets and enables better uncertainty characterization capabilities.

View on arXivView PDF

Code Implementations(1)

networkslab/dynnCommunity100%

PyTorch implementation of JEI-DNN (ICLR 2024)

30PythonApr 1, 20242 years ago

Similar Papers

Cite this paper

@article{regol2026jointlylearned,
  title  = {Jointly-Learned Exit and Inference for a Dynamic Neural Network : JEI-DNN},
  author = {Florence Regol and Joud Chataoui and Mark Coates},
  year   = {2026},
  eprint = {2310.09163},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/pdf/2310.09163},
  journal = {ICLR 2023 2023}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2310.09163.svg)](https://codeofpaper.com/paper/2310.09163)

Discussion