Predicting Probabilities of Error to Combine Quantization and Early Exiting: QuEE

Florence Regol, Joud Chataoui, Bertrand Charpentier, Mark Coates, Pablo Piantanida +1 more
6/20/2024
cs.LG

No confident code implementation found for this paper.

Abstract

Machine learning models can solve complex tasks but often require significant computational resources during inference. This has led to the development of various post-training computation reduction methods that tackle this issue in different ways, such as quantization which reduces the precision of weights and arithmetic operations, and dynamic networks which adapt computation to the sample at hand. In this work, we propose a more general dynamic network that can combine both quantization and early exit dynamic network: QuEE. Our algorithm can be seen as a form of soft early exiting or input-dependent compression. Rather than a binary decision between exiting or continuing, we introduce the possibility of continuing with reduced computation. This complicates the traditionally considered early exiting problem, which we solve through a principled formulation. The crucial factor of our approach is accurate prediction of the potential accuracy improvement achievable through further computation. We demonstrate the effectiveness of our method through empirical evaluation, as well as exploring the conditions for its success on 4 classification datasets.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{regol2024predicting,
  title  = {Predicting Probabilities of Error to Combine Quantization and Early Exiting: QuEE},
  author = {Florence Regol and Joud Chataoui and Bertrand Charpentier and Mark Coates and Pablo Piantanida and Stephan Gunnemann},
  year   = {2024},
  eprint = {2406.14404},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2406.14404v1}
}

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/2406.14404.svg)](https://codeofpaper.com/paper/2406.14404)

Discussion