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 条
  • [31] ApproxTorch: An Approximate Multiplier Evaluation Environment for CNNs based on Pytorch
    Ma, Ke
    Kimura, Shinji
    2022 19TH INTERNATIONAL SOC DESIGN CONFERENCE (ISOCC), 2022, : 77 - 78
  • [32] A survey on hardware security of DNN models and accelerators
    Mittal, Sparsh
    Gupta, Himanshi
    Srivastava, Srishti
    JOURNAL OF SYSTEMS ARCHITECTURE, 2021, 117
  • [33] A Uniform Modeling Methodology for Benchmarking DNN Accelerators
    Palit, Indranil
    Lou, Qiuwen
    Perricone, Robert
    Niemier, Michael
    Hu, X. Sharon
    2019 IEEE/ACM INTERNATIONAL CONFERENCE ON COMPUTER-AIDED DESIGN (ICCAD), 2019,
  • [34] DeFiNES: Enabling Fast Exploration of the Depth-first Scheduling Space for DNN Accelerators through Analytical Modeling
    Mei, Linyan
    Goetschalckx, Koen
    Symons, Arne
    Verhelst, Marian
    2023 IEEE INTERNATIONAL SYMPOSIUM ON HIGH-PERFORMANCE COMPUTER ARCHITECTURE, HPCA, 2023, : 570 - 583
  • [35] Power-based Attacks on Spatial DNN Accelerators
    Li, Ge
    Tiwari, Mohit
    Orshansky, Michael
    ACM JOURNAL ON EMERGING TECHNOLOGIES IN COMPUTING SYSTEMS, 2022, 18 (03)
  • [36] LOMA: Fast Auto-Scheduling on DNN Accelerators through Loop-Order-based Memory Allocation
    Symons, Arne
    Mei, Linyan
    Verhelst, Marian
    2021 IEEE 3RD INTERNATIONAL CONFERENCE ON ARTIFICIAL INTELLIGENCE CIRCUITS AND SYSTEMS (AICAS), 2021,
  • [37] SecureLoop: Design Space Exploration of Secure DNN Accelerators
    Lee, Kyungmi
    Yan, Mengjia
    Emer, Joel S.
    Chandrakasan, Anantha P.
    56TH IEEE/ACM INTERNATIONAL SYMPOSIUM ON MICROARCHITECTURE, MICRO 2023, 2023, : 194 - 208
  • [38] A Precision-Aware Neuron Engine for DNN Accelerators
    Vishwakarma S.
    Raut G.
    Jaiswal S.
    Vishvakarma S.K.
    Ghai D.
    SN Computer Science, 5 (5)
  • [39] Fault Resilience of DNN Accelerators for Compressed Sensor Inputs
    Arunachalam, Ayush
    Kundu, Shamik
    Raha, Arnab
    Banerjee, Suvadeep
    Basu, Kanad
    2022 IEEE COMPUTER SOCIETY ANNUAL SYMPOSIUM ON VLSI (ISVLSI 2022), 2022, : 329 - 332
  • [40] Shaped Pruning for Efficient Memory Addressing in DNN Accelerators
    Woo, Yunhee
    Kim, Dongyoung
    Jeong, Jaemin
    Lee, Jeong-Gun
    2021 IEEE INTERNATIONAL CONFERENCE ON CONSUMER ELECTRONICS-ASIA (ICCE-ASIA), 2021,