NeurIPS 2021poster50 citations

Zero Time Waste: Recycling Predictions in Early Exit Neural Networks

Maciej Wolczyk, Bartosz Wójcik, Klaudia Bałazy, Igor T. Podolak, Jacek Tabor, Marek Śmieja, Tomasz Trzcinski

Abstract

The problem of reducing processing time of large deep learning models is a fundamental challenge in many real-world applications. Early exit methods strive towards this goal by attaching additional Internal Classifiers (ICs) to intermediate layers of a neural network. ICs can quickly return predictions for easy examples and, as a result, reduce the average inference time of the whole model. However, if a particular IC does not decide to return an answer early, its predictions are discarded, with its computations effectively being wasted. To solve this issue, we introduce Zero Time Waste (ZTW), a novel approach in which each IC reuses predictions returned by its predecessors by (1) adding direct connections between ICs and (2) combining previous outputs in an ensemble-like manner. We conduct extensive experiments across various datasets and architectures to demonstrate that ZTW achieves a significantly better accuracy vs. inference time trade-off than other recently proposed early exit methods.

early exitmodel accelerationefficiency
BibTeX
@inproceedings{
wolczyk2021zero,
title={Zero Time Waste: Recycling Predictions in Early Exit Neural Networks},
author={Maciej Wolczyk and Bartosz W{\'o}jcik and Klaudia Ba{\l}azy and Igor T. Podolak and Jacek Tabor and Marek {\'S}mieja and Tomasz Trzcinski},
booktitle={Advances in Neural Information Processing Systems},
editor={A. Beygelzimer and Y. Dauphin and P. Liang and J. Wortman Vaughan},
year={2021},
url={https://openreview.net/forum?id=7AiFm-cB-ac}
}
Zero Time Waste: Recycling Predictions in Early Exit Neural Networks · NeurIPS 2021