TorchAxf: Enabling Rapid Simulation of Approximate DNN Models Using GPU-Based Floating-Point Computing Framework

Citations

SCOPUS

11

초록

This paper presents an approximate floating-point computing framework TorctiAxf1 that enables fast simulation of various approximate deep neural network (DNN) models, including spiking neural networks (SNNs), using various types of approximate adders and multipliers. Additionally, it supports the standard reduced precision floating-point formats, such as bfloat16, and any user-customized precision representation. TorchAxf leverages GPU acceleration to expedite approximate DNN training and inference running on the PyTorch framework. Any arbitrary approximate arithmetic algorithm with C/C++ behavioral models can be readily integrated with TorchAxf to emulate approximate DNN accelerators. Through extensive experiments, we reveal an appropriate degree of the floating-point arithmetic that can be approximated for DNN models without any significant accuracy loss. We also show that approximate-aware re-training can recover errors and refine pre-trained DNN models under reduced precision formats. Besides, TorchAxf running on GPU enables the simulation time of complex DNN models using approximate arithmetic to reduce up to 43.17× compared to the baseline optimized CPU implementation. © 2023 IEEE.

키워드

accelerator; Approximate computing; deep neural network (DNN); fast simulation; floating-point; GPU; PyTorch; spiking neural network (SNN)
제목
TorchAxf: Enabling Rapid Simulation of Approximate DNN Models Using GPU-Based Floating-Point Computing Framework
저자
Kwak, Myeongjin; Kim, Jeonggeun; Kim, Yongtae
DOI
10.1109/MASCOTS59514.2023.10387653
발행일
2023
유형
Conference paper
저널명
Proceedings - IEEE Computer Society's Annual International Symposium on Modeling, Analysis, and Simulation of Computer and Telecommunications Systems, MASCOTS