Skip to main content

Energy-Time Analysis of Convolutional Neural Networks Distributed on Heterogeneous Clusters for EEG Classification

  • Conference paper
  • First Online:
Advances in Computational Intelligence (IWANN 2019)

Part of the book series: Lecture Notes in Computer Science ((LNTCS,volume 11507))

Included in the following conference series:

Abstract

Training a deep neural network usually requires a high computational cost. Nowadays, the most common way to carry out this task is through the use of GPUs due to their efficiency implementing complicated algorithms for this kind of tasks. However, training several neural networks, each with different hyperparameters, is still a very heavy task. Typically, clusters include one or more GPUs that could be used for deep learning. This paper proposes and analyzes a distributed parallel procedure to train multiple Convolutional Neural Networks (CNNs) for EEG classification, in a heterogeneous CPU-GPU cluster and in a Desktop PC. The procedure is implemented in C++ and with the MPI library to dynamically distribute the hyperparameters among the nodes, which are responsible for training the corresponding CNN by using Python, Keras, and TensorFlow. The proposed algorithm has been analyzed considering running times and energy measures, showing that when more nodes are used, the procedure scales linearly and the lowest running time is obtained. However, the desktop PC provides the best energy results.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 84.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 109.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

References

  1. Asensio-Cubero, J., Gan, J., Palaniappan, R.: Multiresolution analysis over simple graphs for brain computer interfaces. J. Neural Eng. 10(4), 21–26 (2013)

    Article  Google Scholar 

  2. Bellman, R.: Adaptive Control Processes: A Guided Tour. Princeton University Press, Princeton (1961)

    Book  Google Scholar 

  3. Birbaumer, N., Cohen, L.: Brain-computer interfaces: communication and restoration of movement in paralysis. J. Physiol. 579(3), 621–636 (2007)

    Article  Google Scholar 

  4. Brumberg, J.S., Burnison, J.D., Pitt, K.M.: Using motor imagery to control brain-computer interfaces for communication. In: Schmorrow, D.D.D., Fidopiastis, C.M.M. (eds.) AC 2016. LNCS (LNAI), vol. 9743, pp. 14–25. Springer, Cham (2016). https://doi.org/10.1007/978-3-319-39955-3_2

    Chapter  Google Scholar 

  5. Collet, P.: Why GPGPUs for evolutionary computation? In: Tsutsui, S., Collet, P. (eds.) Massively Parallel Evolutionary Computation on GPGPUs. NCS, pp. 3–14. Springer, Heidelberg (2013). https://doi.org/10.1007/978-3-642-37959-8_1

    Chapter  Google Scholar 

  6. Ortega, J., Asensio-Cubero, J., Gan, J., Ortiz, A.: Classification of motor imagery tasks for BCI with multiresolution analysis and multiobjective feature selection. BioMed. Eng. OnLine 15(1), 73 (2016)

    Article  Google Scholar 

  7. Ortega, J., Ortiz, A., Martín-Smith, P., Gan, J.Q., González-Peñalver, J.: Deep belief networks and multiobjective feature selection for BCI with multiresolution analysis. In: Rojas, I., Joya, G., Catala, A. (eds.) IWANN 2017. LNCS, vol. 10305, pp. 28–39. Springer, Cham (2017). https://doi.org/10.1007/978-3-319-59153-7_3

    Chapter  Google Scholar 

  8. Owens, J., et al.: A survey of general-purpose computation on graphics hardware. Comput. Graph. Forum 26(1), 80–113 (2007)

    Article  MathSciNet  Google Scholar 

  9. Pfurtscheller, G.: EEG event-related desynchronization (ERD) and event-related synchronization (ERS). Electroencephalogr. Clin. Neurophysiol. 103(1), 26 (1997)

    Article  Google Scholar 

  10. Raju, K., Niranjan, N.: A survey on techniques for cooperative cpu-gpu computing. Sustain. Comput.: Inf. Syst. 19, 72–85 (2018)

    Google Scholar 

  11. Tabar, Y., Halici, U.: A novel deep learning approach for classification of EEG motor imagery signals. J. Neural Eng. 14(1), 016003 (2016)

    Article  Google Scholar 

  12. The Open MPI Project: OpenMPI documentation. https://www.open-mpi.org/doc/. Accessed 19 Nov 2018

  13. Wawrzynek, J., Asanovic, K., Kingsbury, B., Johnson, D., Beck, J., Morgan, N.: Spert-II: a vector microprocessor system. Computer 29(3), 79–86 (1996)

    Article  Google Scholar 

  14. Wei, R., Zhang, X., Dang, X., Li, G.: Classification for motion game based on EEG sensing. In: ITM Web Conferences, vol. 11, p. 05002 (2017)

    Article  Google Scholar 

  15. Zou, Y., Jin, X., Li, Y., Guo, Z., Wang, E., Xiao, B.: Mariana: tencent deep learning platform and its applications. VLDB 7(13), 1772–1777 (2014)

    Google Scholar 

Download references

Acknowledgements

This research was funded by grants TIN2015-67020-P (Spanish “Ministerio de Economía y Competitividad”), PGC2018-098813-B-C31 (Spanish “Ministerio de Ciencia, Innovación y Universidades”), and ERDF funds. We would also like to thank the BCI Laboratory of the University of Essex for allowing us to use their databases. The Titan Xp used for this research was donated by the NVIDIA Corporation.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Juan José Escobar .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2019 Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Escobar, J.J., Ortega, J., Damas, M., Kızıltepe, R.S., Gan, J.Q. (2019). Energy-Time Analysis of Convolutional Neural Networks Distributed on Heterogeneous Clusters for EEG Classification. In: Rojas, I., Joya, G., Catala, A. (eds) Advances in Computational Intelligence. IWANN 2019. Lecture Notes in Computer Science(), vol 11507. Springer, Cham. https://doi.org/10.1007/978-3-030-20518-8_74

Download citation

  • DOI: https://doi.org/10.1007/978-3-030-20518-8_74

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-030-20517-1

  • Online ISBN: 978-3-030-20518-8

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics