Publication Details

Prediction of Inference Energy on CNN Accelerators Supporting Approximate Circuits

PIŇOS Michal, MRÁZEK Vojtěch and SEKANINA Lukáš. Prediction of Inference Energy on CNN Accelerators Supporting Approximate Circuits. In: 2023 26th International Symposium on Design and Diagnostics of Electronic Circuits and Systems. Talinn: Institute of Electrical and Electronics Engineers, 2023, pp. 45-50. ISBN 979-8-3503-3277-3. Available from: https://ieeexplore.ieee.org/document/10139724
Czech title
Predikce energie inference na CNN akcelerátorech podporujících aproximativní obvody
Type
conference paper
Language
english
Authors
URL
Keywords

approximate computing, prediction, hardware accelerator, convolutional neural networks

Abstract

Design methodologies developed for optimizing hardware implementations of convolutional neural networks (CNN) or searching for new hardware-aware neural architectures rely on the fast and reliable estimation of key hardware parameters, such as the energy needed for one inference. Utilizing approximate circuits in hardware accelerators of CNNs faces the designers with new problems during their simulation - commonly used tools (TimeLoop, Accelergy, Maestro) do not support approximate arithmetic operations. This work addresses the fast and efficient prediction of consumed energy in hardware accelerators of CNNs that utilize approximate circuits such as approximate multipliers. First, we extend the state-of-the-art software frameworks TimeLoop and Accelergy to predict the inference energy when exact multipliers are replaced with various approximate implementations. The energies obtained using the modified tools are then considered the ground truth (reference) values. Then, we propose and evaluate, using two accelerators (Eyeriss and Simba) and two types of networks (CNNs generated by EvoApproxNAS and standard ResNet CNNs), two predictors of inference energy. We conclude that a simple predictor based on summing the energies needed for all multiplications highly correlates with the reference values if the CNN's architecture is fixed. For complex CNNs with variable architectures typically generated by neural architecture search algorithms, a more sophisticated predictor based on a machine learning model has to be employed. The proposed predictors are 420-533× faster than reference solutions.

Published
2023
Pages
45-50
Proceedings
2023 26th International Symposium on Design and Diagnostics of Electronic Circuits and Systems
Conference
International Symposium on Design and Diagnostics of Electronic Circuits and Systems, Tallinn, EE
ISBN
979-8-3503-3277-3
Publisher
Institute of Electrical and Electronics Engineers
Place
Talinn, EE
DOI
UT WoS
001012062000008
EID Scopus
BibTeX
@INPROCEEDINGS{FITPUB12829,
   author = "Michal Pi\v{n}os and Vojt\v{e}ch Mr\'{a}zek and Luk\'{a}\v{s} Sekanina",
   title = "Prediction of Inference Energy on CNN Accelerators Supporting Approximate Circuits",
   pages = "45--50",
   booktitle = "2023 26th International Symposium on Design and Diagnostics of Electronic Circuits and Systems",
   year = 2023,
   location = "Talinn, EE",
   publisher = "Institute of Electrical and Electronics Engineers",
   ISBN = "979-8-3503-3277-3",
   doi = "10.1109/DDECS57882.2023.10139724",
   language = "english",
   url = "https://www.fit.vut.cz/research/publication/12829"
}
Back to top