Skip to main content

2021 | OriginalPaper | Buchkapitel

Battle on Edge - Comparison of Convolutional Neural Networks Inference Speed on Two Various Hardware Platforms

verfasst von : Kristian Dokic, Dubravka Mandusic, Lucija Blaskovic

Erschienen in: Computer Information Systems and Industrial Management

Verlag: Springer International Publishing

Aktivieren Sie unsere intelligente Suche, um passende Fachinhalte oder Patente zu finden.

search-config
loading …

Abstract

Several reasons influenced the tendency to move the first level of machine learning data processing to the edge of the information system. Edge-generated data is typically processed by so-called edge devices with low processing power and low power consumption. In addition to well-known SoC (System on Chip) manufacturers that are usually used as an edge device, some manufacturers in this market base their processor design on open source. This paper compares two different SoC, one based on the ARM (Advanced RISC Machines) architecture and the other on the open-source RISC-V (Reduced Instruction Set Computer) architecture. The specificity of the analysed SoC based on the RISC-V architecture is an additional processor for speed up calculations common in neural networks. Since the architectures differ, we compare two SoC of similar price. The comparison’s focus is an analysis of the inference performance with the different number of filters in the first layer of the convolutional neural network used to detect handwritten digits. The process of convolutional neural network’s training occurs in the cloud and uses a well-known database of handwritten digits – MNIST (Modified National Institute of Standards and Technology). In the SoC based on the RISC-V architecture, a reduced dependence of the inference speed on the number of filters at the first level of the convolutional neural network was observed.

Sie haben noch keine Lizenz? Dann Informieren Sie sich jetzt über unsere Produkte:

Springer Professional "Wirtschaft+Technik"

Online-Abonnement

Mit Springer Professional "Wirtschaft+Technik" erhalten Sie Zugriff auf:

  • über 102.000 Bücher
  • über 537 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Maschinenbau + Werkstoffe
  • Versicherung + Risiko

Jetzt Wissensvorsprung sichern!

Springer Professional "Technik"

Online-Abonnement

Mit Springer Professional "Technik" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 390 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Maschinenbau + Werkstoffe




 

Jetzt Wissensvorsprung sichern!

Springer Professional "Wirtschaft"

Online-Abonnement

Mit Springer Professional "Wirtschaft" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 340 Zeitschriften

aus folgenden Fachgebieten:

  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Versicherung + Risiko




Jetzt Wissensvorsprung sichern!

Literatur
1.
Zurück zum Zitat Zhang, Y., Suda, N., Lai, L., Chandra, V.: Hello Edge: Keyword Spotting on Microcontrollers (2018) Zhang, Y., Suda, N., Lai, L., Chandra, V.: Hello Edge: Keyword Spotting on Microcontrollers (2018)
2.
Zurück zum Zitat Sakr, F., Bellotti, F., Berta, R., De Gloria, A.: Machine learning on mainstream microcontrollers. Sensors 20, 2638 (2020)CrossRef Sakr, F., Bellotti, F., Berta, R., De Gloria, A.: Machine learning on mainstream microcontrollers. Sensors 20, 2638 (2020)CrossRef
3.
Zurück zum Zitat Zhang, Y., Bi, S., Dong, M., Liu, Y.: The implementation of CNN-based object detector on ARM embedded platforms. In: Proceedings of the 2018 IEEE 16th International Conference on Dependable, Autonomic and Secure Computing, 16th International Conference on Pervasive Intelligence and Computing, 4th International Conference on Big Data Intelligence and Computing and Cyber Science and Technology Congress (DASC/PiCom/DataCom/CyberSciTech) (2018) Zhang, Y., Bi, S., Dong, M., Liu, Y.: The implementation of CNN-based object detector on ARM embedded platforms. In: Proceedings of the 2018 IEEE 16th International Conference on Dependable, Autonomic and Secure Computing, 16th International Conference on Pervasive Intelligence and Computing, 4th International Conference on Big Data Intelligence and Computing and Cyber Science and Technology Congress (DASC/PiCom/DataCom/CyberSciTech) (2018)
4.
Zurück zum Zitat Cerutti, G., Prasad, R., Farella, E.: Convolutional neural network on embedded platform for people presence detection in low resolution thermal images. In: Proceedings of the 2019 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP 2019) (2019) Cerutti, G., Prasad, R., Farella, E.: Convolutional neural network on embedded platform for people presence detection in low resolution thermal images. In: Proceedings of the 2019 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP 2019) (2019)
5.
Zurück zum Zitat Alameh, M., Abbass, Y., Ibrahim, A., Valle, M.: Smart tactile sensing systems based on embedded CNN implementations. Micromachines 11, 103 (2020)CrossRef Alameh, M., Abbass, Y., Ibrahim, A., Valle, M.: Smart tactile sensing systems based on embedded CNN implementations. Micromachines 11, 103 (2020)CrossRef
6.
Zurück zum Zitat Torres-Sánchez, E., Alastruey-Benedé, J., Torres-Moreno, E.: Developing an AI IoT Application with Open Software on a RISC-V SoC. In: Proceedings of the 2020 XXXV Conference on Design of Circuits and Integrated Systems (DCIS) (2020) Torres-Sánchez, E., Alastruey-Benedé, J., Torres-Moreno, E.: Developing an AI IoT Application with Open Software on a RISC-V SoC. In: Proceedings of the 2020 XXXV Conference on Design of Circuits and Integrated Systems (DCIS) (2020)
7.
Zurück zum Zitat Suda, N., Loh, D.: Machine Learning on ARM Cortex-M Microcontrollers. Arm Ltd., Cambridge (2019) Suda, N., Loh, D.: Machine Learning on ARM Cortex-M Microcontrollers. Arm Ltd., Cambridge (2019)
9.
Zurück zum Zitat Louis, M.S., et al.: Towards deep learning using tensorflow lite on risc-v. In: Third Workshop on Computer Architecture Research with RISC-V (CARRV) (2019) Louis, M.S., et al.: Towards deep learning using tensorflow lite on risc-v. In: Third Workshop on Computer Architecture Research with RISC-V (CARRV) (2019)
12.
Zurück zum Zitat Fedorov, I., Adams, R.P., Mattina, M., Whatmough, P.N.: SpArSe: Sparse Architecture Search for CNNs on Resource-Constrained Microcontrollers (2019) Fedorov, I., Adams, R.P., Mattina, M., Whatmough, P.N.: SpArSe: Sparse Architecture Search for CNNs on Resource-Constrained Microcontrollers (2019)
13.
Zurück zum Zitat Liberis, E., Lane, N.D.: Neural networks on microcontrollers: saving memory at inference via operator reordering (2020) Liberis, E., Lane, N.D.: Neural networks on microcontrollers: saving memory at inference via operator reordering (2020)
14.
Zurück zum Zitat Capotondi, A., Rusci, M., Fariselli, M., Benini, L.: CMix-NN: mixed low-precision CNN library for memory-constrained edge devices. IEEE Trans. Circuits Syst. II Express Briefs 67, 871–875 (2020)CrossRef Capotondi, A., Rusci, M., Fariselli, M., Benini, L.: CMix-NN: mixed low-precision CNN library for memory-constrained edge devices. IEEE Trans. Circuits Syst. II Express Briefs 67, 871–875 (2020)CrossRef
15.
Zurück zum Zitat Rusci, M., Capotondi, A., Benini, L.: Memory-Driven Mixed Low Precision Quantization for Enabling Deep Network Inference On Microcontrollers (2019) Rusci, M., Capotondi, A., Benini, L.: Memory-Driven Mixed Low Precision Quantization for Enabling Deep Network Inference On Microcontrollers (2019)
16.
Zurück zum Zitat Cheng, J., Wu, J., Leng, C., Wang, Y., Hu, Q.: Quantised CNN: a unified approach to accelerate and compress convolutional networks. IEEE Trans. Neural Netw. Learn. Syst. 29, 4730–4743 (2017)CrossRef Cheng, J., Wu, J., Leng, C., Wang, Y., Hu, Q.: Quantised CNN: a unified approach to accelerate and compress convolutional networks. IEEE Trans. Neural Netw. Learn. Syst. 29, 4730–4743 (2017)CrossRef
17.
Zurück zum Zitat Mocerino, L., Calimera, A.: Fast and accurate inference on microcontrollers with boosted cooperative convolutional neural networks (BC-Net). IEEE Trans. Circuits Syst. I. Regul. Pap. 68, 77–88 (2020)CrossRef Mocerino, L., Calimera, A.: Fast and accurate inference on microcontrollers with boosted cooperative convolutional neural networks (BC-Net). IEEE Trans. Circuits Syst. I. Regul. Pap. 68, 77–88 (2020)CrossRef
22.
Zurück zum Zitat Dokic, K., Martinovic, M., Mandusic, D.: Inference speed and quantisation of neural networks with TensorFlow Lite for Microcontrollers framework. In: Proceedings of the 2020 5th South-East Europe Design Automation, Computer Engineering, Computer Networks and Social Media Conference (SEEDA-CECNSM) (2020) Dokic, K., Martinovic, M., Mandusic, D.: Inference speed and quantisation of neural networks with TensorFlow Lite for Microcontrollers framework. In: Proceedings of the 2020 5th South-East Europe Design Automation, Computer Engineering, Computer Networks and Social Media Conference (SEEDA-CECNSM) (2020)
Metadaten
Titel
Battle on Edge - Comparison of Convolutional Neural Networks Inference Speed on Two Various Hardware Platforms
verfasst von
Kristian Dokic
Dubravka Mandusic
Lucija Blaskovic
Copyright-Jahr
2021
DOI
https://doi.org/10.1007/978-3-030-84340-3_25