DNA-TEQ: An Adaptive Exponential Quantization of Tensors for DNN Inference

Bahareh Khabbazan, Marc Riera, Antonio González
6/28/2023
cs.LGcs.AR

No confident code implementation found for this paper.

Abstract

Quantization is commonly used in Deep Neural Networks (DNNs) to reduce the storage and computational complexity by decreasing the arithmetical precision of activations and weights, a.k.a. tensors. Efficient hardware architectures employ linear quantization to enable the deployment of recent DNNs onto embedded systems and mobile devices. However, linear uniform quantization cannot usually reduce the numerical precision to less than 8 bits without sacrificing high performance in terms of model accuracy. The performance loss is due to the fact that tensors do not follow uniform distributions. In this paper, we show that a significant amount of tensors fit into an exponential distribution. Then, we propose DNA-TEQ to exponentially quantize DNN tensors with an adaptive scheme that achieves the best trade-off between numerical precision and accuracy loss. The experimental results show that DNA-TEQ provides a much lower quantization bit-width compared to previous proposals, resulting in an average compression ratio of 40% over the linear INT8 baseline, with negligible accuracy loss and without retraining the DNNs. Besides, DNA-TEQ leads the way in performing dot-product operations in the exponential domain, which saves 66% of energy consumption on average for a set of widely used DNNs.

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{khabbazan2023dnateq,
  title  = {DNA-TEQ: An Adaptive Exponential Quantization of Tensors for DNN Inference},
  author = {Bahareh Khabbazan and Marc Riera and Antonio González},
  year   = {2023},
  eprint = {2306.16430},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2306.16430v2}
}

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

Discussion