AdaPT: Fast Emulation of Approximate DNN Accelerators in PyTorch

被引:11
|
作者
Danopoulos, Dimitrios [1 ]
Zervakis, Georgios [2 ]
Siozios, Kostas [3 ]
Soudris, Dimitrios [1 ]
Henkel, Joerg [2 ]
机构
[1] Natl Tech Univ Athens, Sch Elect & Comp Engn, Athens 15780, Greece
[2] Karlsruhe Inst Technol, Chair Embedded Syst, D-76131 Karlsruhe, Germany
[3] Aristotle Univ Thessaloniki, Dept Phys, Thessaloniki 54124, Greece
关键词
Accelerator; approximate computing; deep neural network (DNN); PyTorch; quantization; DESIGN;
D O I
10.1109/TCAD.2022.3212645
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
Current state-of-the-art employs approximate multipliers to address the highly increased power demands of deep neural network (DNN) accelerators. However, evaluating the accuracy of approximate DNNs is cumbersome due to the lack of adequate support for approximate arithmetic in DNN frameworks. 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 retraining and reduced inference time up to 53.9x with respect to the baseline approximate implementation.
引用
收藏
页码:2074 / 2078
页数:5
相关论文
共 50 条
  • [11] Hardware-Software Codesign of DNN Accelerators using Approximate Posit Multipliers
    Glint, Tom
    Prasad, Kailash
    Dagli, Jinay
    Gandhi, Krishil
    Gupta, Aryan
    Patel, Vrajesh
    Shah, Neel
    Mekie, Joycee
    2023 28TH ASIA AND SOUTH PACIFIC DESIGN AUTOMATION CONFERENCE, ASP-DAC, 2023, : 469 - 474
  • [12] Automated Framework for Fast Synthesis of Approximate Hardware Accelerators
    Awais, Muhammad
    Platzner, Marco
    PROCEEDINGS OF THE 2022 IFIP/IEEE 30TH INTERNATIONAL CONFERENCE ON VERY LARGE SCALE INTEGRATION (VLSI-SOC), 2022,
  • [13] Exploring Fault-Energy Trade-offs in Approximate DNN Hardware Accelerators
    Siddique, Ayesha
    Basu, Kanad
    Hoque, Khaza Anuarul
    PROCEEDINGS OF THE 2021 TWENTY SECOND INTERNATIONAL SYMPOSIUM ON QUALITY ELECTRONIC DESIGN (ISQED 2021), 2021, : 343 - 348
  • [14] Energy-Efficient DNN Inference on Approximate Accelerators Through Formal Property Exploration
    Spantidi, Ourania
    Zervakis, Georgios
    Anagnostopoulos, Iraklis
    Henkel, Joerg
    IEEE TRANSACTIONS ON COMPUTER-AIDED DESIGN OF INTEGRATED CIRCUITS AND SYSTEMS, 2022, 41 (11) : 3838 - 3849
  • [15] ApproxTrain: Fast Simulation of Approximate Multipliers for DNN Training and Inference
    Gong, Jing
    Saadat, Hassaan
    Gamaarachchi, Hasindu
    Javaid, Haris
    Hu, Xiaobo Sharon
    Parameswaran, Sri
    IEEE TRANSACTIONS ON COMPUTER-AIDED DESIGN OF INTEGRATED CIRCUITS AND SYSTEMS, 2023, 42 (11) : 3505 - 3518
  • [16] A localized ensemble of approximate Gaussian processes for fast sequential emulation
    Rumsey, Kellin N.
    Huerta, Gabriel
    Derek Tucker, J.
    STAT, 2023, 12 (01):
  • [17] MemSE: Fast MSE Prediction for Noisy Memristor-Based DNN Accelerators
    Kern, Jonathan
    Henwood, Sebastien
    Mordido, Goncalo
    Dupraz, Elsa
    Aissa-El-Bey, Abdeldjalil
    Savaria, Yvon
    Leduc-Primeau, Francois
    2022 IEEE INTERNATIONAL CONFERENCE ON ARTIFICIAL INTELLIGENCE CIRCUITS AND SYSTEMS (AICAS 2022): INTELLIGENT TECHNOLOGY IN THE POST-PANDEMIC ERA, 2022, : 62 - 65
  • [18] Energy Profiling of DNN Accelerators
    Wess, Matthias
    Dallinger, Dominik
    Schnoell, Daniel
    Bittner, Matthias
    Goetzinger, Maximilian
    Jantsch, Axel
    2023 26TH EUROMICRO CONFERENCE ON DIGITAL SYSTEM DESIGN, DSD 2023, 2023, : 53 - 60
  • [19] Analog Weights in ReRAM DNN Accelerators
    Eshraghian, Jason K.
    Kang, Sung-Mo
    Baek, Seungbum
    Orchard, Garrick
    Iu, Herbert Ho-Ching
    Lei, Wen
    2019 IEEE INTERNATIONAL CONFERENCE ON ARTIFICIAL INTELLIGENCE CIRCUITS AND SYSTEMS (AICAS 2019), 2019, : 267 - 271
  • [20] A Case for Emerging Memories in DNN Accelerators
    Mukherjee, Avilash
    Saurav, Kumar
    Nair, Prashant
    Shekhar, Sudip
    Lis, Mieszko
    PROCEEDINGS OF THE 2021 DESIGN, AUTOMATION & TEST IN EUROPE CONFERENCE & EXHIBITION (DATE 2021), 2021, : 938 - 941