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

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

6 Scopus citations

Abstract

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.

Original languageEnglish
Title of host publicationProceedings - 2023 31st International Symposium on Modeling, Analysis, and Simulation of Computer and Telecommunication Systems, MASCOTS 2023
PublisherIEEE Computer Society
ISBN (Electronic)9798350319484
DOIs
StatePublished - 2023
Event31st International Symposium on Modeling, Analysis, and Simulation of Computer and Telecommunication Systems, MASCOTS 2023 - Stony Brook, United States
Duration: 16 Oct 202318 Oct 2023

Publication series

NameProceedings - IEEE Computer Society's Annual International Symposium on Modeling, Analysis, and Simulation of Computer and Telecommunications Systems, MASCOTS
ISSN (Print)1526-7539

Conference

Conference31st International Symposium on Modeling, Analysis, and Simulation of Computer and Telecommunication Systems, MASCOTS 2023
Country/TerritoryUnited States
CityStony Brook
Period16/10/2318/10/23

Keywords

  • Approximate computing
  • GPU
  • PyTorch
  • accelerator
  • deep neural network (DNN)
  • fast simulation
  • floating-point
  • spiking neural network (SNN)

Fingerprint

Dive into the research topics of 'TorchAxf: Enabling Rapid Simulation of Approximate DNN Models Using GPU-Based Floating-Point Computing Framework'. Together they form a unique fingerprint.

Cite this