Cargando…

Computation and memory optimized spectral domain convolutional neural network for throughput and energy-efficient inference

Conventional convolutional neural networks (CNNs) present a high computational workload and memory access cost (CMC). Spectral domain CNNs (SpCNNs) offer a computationally efficient approach to compute CNN training and inference. This paper investigates CMC of SpCNNs and its contributing components...

Descripción completa

Detalles Bibliográficos
Autores principales: Rizvi, Shahriyar Masud, Rahman, Ab Al-Hadi Ab, Sheikh, Usman Ullah, Fuad, Kazi Ahmed Asif, Shehzad, Hafiz Muhammad Faisal
Formato: Online Artículo Texto
Lenguaje:English
Publicado: Springer US 2022
Materias:
Acceso en línea:https://www.ncbi.nlm.nih.gov/pmc/articles/PMC9188280/
https://www.ncbi.nlm.nih.gov/pubmed/35730044
http://dx.doi.org/10.1007/s10489-022-03756-1
_version_ 1784725340193554432
author Rizvi, Shahriyar Masud
Rahman, Ab Al-Hadi Ab
Sheikh, Usman Ullah
Fuad, Kazi Ahmed Asif
Shehzad, Hafiz Muhammad Faisal
author_facet Rizvi, Shahriyar Masud
Rahman, Ab Al-Hadi Ab
Sheikh, Usman Ullah
Fuad, Kazi Ahmed Asif
Shehzad, Hafiz Muhammad Faisal
author_sort Rizvi, Shahriyar Masud
collection PubMed
description Conventional convolutional neural networks (CNNs) present a high computational workload and memory access cost (CMC). Spectral domain CNNs (SpCNNs) offer a computationally efficient approach to compute CNN training and inference. This paper investigates CMC of SpCNNs and its contributing components analytically and then proposes a methodology to optimize CMC, under three strategies, to enhance inference performance. In this methodology, output feature map (OFM) size, OFM depth or both are progressively reduced under an accuracy constraint to compute performance-optimized CNN inference. Before conducting training or testing, it can provide designers guidelines and preliminary insights regarding techniques for optimum performance, least degradation in accuracy and a balanced performance–accuracy trade-off. This methodology was evaluated on MNIST and Fashion MNIST datasets using LeNet-5 and AlexNet architectures. When compared to state-of-the-art SpCNN models, LeNet-5 achieves up to 4.2× (batch inference) and 4.1× (single-image inference) higher throughputs and 10.5× (batch inference) and 4.2× (single-image inference) greater energy efficiency at a maximum loss of 3% in test accuracy. When compared to the baseline model used in this study, AlexNet delivers 11.6× (batch inference) and 5× (single-image inference) increased throughput and 25× (batch inference) and 8.8× (single-image inference) more energy-efficient inference with just 4.4% reduction in accuracy.
format Online
Article
Text
id pubmed-9188280
institution National Center for Biotechnology Information
language English
publishDate 2022
publisher Springer US
record_format MEDLINE/PubMed
spelling pubmed-91882802022-06-17 Computation and memory optimized spectral domain convolutional neural network for throughput and energy-efficient inference Rizvi, Shahriyar Masud Rahman, Ab Al-Hadi Ab Sheikh, Usman Ullah Fuad, Kazi Ahmed Asif Shehzad, Hafiz Muhammad Faisal Appl Intell (Dordr) Article Conventional convolutional neural networks (CNNs) present a high computational workload and memory access cost (CMC). Spectral domain CNNs (SpCNNs) offer a computationally efficient approach to compute CNN training and inference. This paper investigates CMC of SpCNNs and its contributing components analytically and then proposes a methodology to optimize CMC, under three strategies, to enhance inference performance. In this methodology, output feature map (OFM) size, OFM depth or both are progressively reduced under an accuracy constraint to compute performance-optimized CNN inference. Before conducting training or testing, it can provide designers guidelines and preliminary insights regarding techniques for optimum performance, least degradation in accuracy and a balanced performance–accuracy trade-off. This methodology was evaluated on MNIST and Fashion MNIST datasets using LeNet-5 and AlexNet architectures. When compared to state-of-the-art SpCNN models, LeNet-5 achieves up to 4.2× (batch inference) and 4.1× (single-image inference) higher throughputs and 10.5× (batch inference) and 4.2× (single-image inference) greater energy efficiency at a maximum loss of 3% in test accuracy. When compared to the baseline model used in this study, AlexNet delivers 11.6× (batch inference) and 5× (single-image inference) increased throughput and 25× (batch inference) and 8.8× (single-image inference) more energy-efficient inference with just 4.4% reduction in accuracy. Springer US 2022-06-11 2023 /pmc/articles/PMC9188280/ /pubmed/35730044 http://dx.doi.org/10.1007/s10489-022-03756-1 Text en © The Author(s), under exclusive licence to Springer Science+Business Media, LLC, part of Springer Nature 2022 This article is made available via the PMC Open Access Subset for unrestricted research re-use and secondary analysis in any form or by any means with acknowledgement of the original source. These permissions are granted for the duration of the World Health Organization (WHO) declaration of COVID-19 as a global pandemic.
spellingShingle Article
Rizvi, Shahriyar Masud
Rahman, Ab Al-Hadi Ab
Sheikh, Usman Ullah
Fuad, Kazi Ahmed Asif
Shehzad, Hafiz Muhammad Faisal
Computation and memory optimized spectral domain convolutional neural network for throughput and energy-efficient inference
title Computation and memory optimized spectral domain convolutional neural network for throughput and energy-efficient inference
title_full Computation and memory optimized spectral domain convolutional neural network for throughput and energy-efficient inference
title_fullStr Computation and memory optimized spectral domain convolutional neural network for throughput and energy-efficient inference
title_full_unstemmed Computation and memory optimized spectral domain convolutional neural network for throughput and energy-efficient inference
title_short Computation and memory optimized spectral domain convolutional neural network for throughput and energy-efficient inference
title_sort computation and memory optimized spectral domain convolutional neural network for throughput and energy-efficient inference
topic Article
url https://www.ncbi.nlm.nih.gov/pmc/articles/PMC9188280/
https://www.ncbi.nlm.nih.gov/pubmed/35730044
http://dx.doi.org/10.1007/s10489-022-03756-1
work_keys_str_mv AT rizvishahriyarmasud computationandmemoryoptimizedspectraldomainconvolutionalneuralnetworkforthroughputandenergyefficientinference
AT rahmanabalhadiab computationandmemoryoptimizedspectraldomainconvolutionalneuralnetworkforthroughputandenergyefficientinference
AT sheikhusmanullah computationandmemoryoptimizedspectraldomainconvolutionalneuralnetworkforthroughputandenergyefficientinference
AT fuadkaziahmedasif computationandmemoryoptimizedspectraldomainconvolutionalneuralnetworkforthroughputandenergyefficientinference
AT shehzadhafizmuhammadfaisal computationandmemoryoptimizedspectraldomainconvolutionalneuralnetworkforthroughputandenergyefficientinference