AdaPT: Fast Emulation of Approximate DNN Accelerators in PyTorch

Dimitrios Danopoulos, Georgios Zervakis, Kostas Siozios, Dimitrios Soudris, Jörg Henkel
3/8/2022
cs.LGcs.AR

Official code: dimdano/adapt (31 stars, C, MIT, last commit 2024-02-23).

Abstract

Current state-of-the-art employs approximate multipliers to address the highly increased power demands of DNN accelerators. However, evaluating the accuracy of approximate DNNs is cumbersome due to the lack of adequate support for approximate arithmetic in DNN frameworks.

Show full abstract

We address this inefficiency by presenting AdaPT, a fast emulation framework that extends PyTorch to support approximate inference as well as approximation-aware retraining. AdaPT can be seamlessly deployed and is compatible with the most DNNs. We evaluate the framework on several DNN models and application fields including CNNs, LSTMs, and GANs for a number of approximate multipliers with distinct bitwidth values. The results show substantial error recovery from approximate re-training and reduced inference time up to 53.9x with respect to the baseline approximate implementation.

View on arXivView PDF

Code Implementations(1)

dimdano/adaptOfficial100%
MIT

Fast Emulation of Approximate DNN Accelerators in PyTorch

3116C, PythonMar 8, 20222 years agoMIT

Similar Papers

Cite this paper

@article{danopoulos2022adapt,
  title  = {AdaPT: Fast Emulation of Approximate DNN Accelerators in PyTorch},
  author = {Dimitrios Danopoulos and Georgios Zervakis and Kostas Siozios and Dimitrios Soudris and Jörg Henkel},
  year   = {2022},
  eprint = {2203.04071},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2203.04071}
}

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

Discussion