Research Article

Performance comparison of deep learning frameworks

Volume: 1 Number: 1 February 28, 2021
EN

Performance comparison of deep learning frameworks

Abstract

Deep learning (DL) is branch of machine learning and imitates the neural activity of brain on to artificial neural networks. Meanwhile it can be trained to define characteristics of data such as image, voice or different complex patterns. DL is capable of to find solutions for complex and NP-hard problems. In literature, there are many DL frameworks, libraries and tools to develop solutions. In this study, the most commonly used DL frameworks such as Torch, Theano, Caffe, Caffe2, MXNet, Keras, TensorFlow and Computational Network Tool Kit (CNTK) are investigated and performance comparison of the frameworks is provided. . In addition, the GPU performances have been tested for the best frameworks which have been determined according to the literature: TensorFlow, Keras (TensorFlow Backend), Theano, Keras (Theano Backend), Torch. The GPU performance comparison of these frameworks has been made by the experimental results obtained through MNIST and GPDS signature datasets. According to experimental results TensorFlow was detected best one, while other researches in the literature claimed that Pytorch is better. The contributions of in this study is to eliminate the contradiction in the literature by revealing the cause. In this way, it is aimed to assist the researchers in choosing the most appropriate DL framework for their studies.

Keywords

Thanks

This work has been supported by the NVIDIA Corporation. All experimental studies were carried out on the TITAN XP graphics card donated by NVIDIA. We sincerely thank NVIDIA Corporation for their supports.

References

  1. [1] Bahrampour, S., Ramakrishnan, N., Schott, L., & Shah M., Comparative study of caffe, neon, theano, and torch for deep learning 2016, arXiv, abs/1511.06435.
  2. [2] Chen T., et al. Mxnet: A flexible and efficient machine learning library for heterogeneous distributed systems, arXiv Prepr 2015. arXiv1512.01274.
  3. [3] Jia Y. et al. Caffe: Convolutional architecture for fast feature embedding. In Proceedings of the 22nd ACM international conference on Multimedia 2014, 675–678.
  4. [4] NVIDIA. Caffe2 Deep Learning Framework 2017. https://developer.nvidia.com/caffe2.
  5. [5] Chollet F., et al. Keras: Deep learning library for theano and tensorflow 2015. URL https//keras. io/k, 7, 8.
  6. [6] ̧F.ois Chollet, Keras 2015, https://github.com/fchollet/keras.
  7. [7] Microsoft. Computational Network Toolkit (CNTK) 2016. [Online]. Available: https://www.microsoft.com/en-us/cognitive-toolkit/.
  8. [8] Huang. X., Microsoft computational network toolkit offers most efficient distributed deep learning computational performance 2015. https://goo.gl/9UUwVn.

Details

Primary Language

English

Subjects

Artificial Intelligence

Journal Section

Research Article

Publication Date

February 28, 2021

Submission Date

July 14, 2020

Acceptance Date

September 23, 2020

Published in Issue

Year 2021 Volume: 1 Number: 1

Vancouver
1.M. Mutlu Yapıcı, Nurettin Topaloğlu. Performance comparison of deep learning frameworks. Computers and Informatics [Internet]. 2021 Feb. 1;1(1):1-11. Available from: https://izlik.org/JA35GC87FU

Computers and Informatics is licensed under CC BY-NC 4.0