Skip to main content

Pruning Long Short Term Memory Networks and Convolutional Neural Networks for Music Emotion Recognition

  • Conference paper
  • First Online:
  • 1969 Accesses

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

Abstract

Music can be used as a form of therapy and can reduce symptoms of depression and anxiety. Understanding the relationship between music and physiological reactions could be essential in further developing music therapy. This paper uses machine learning techniques to classify which genre of music is being listen to using physiological responses. Both Long Short Term Memory Networks and Convolutional Neural Networks can be used for making predictions from sequence data. We trained and compared two networks which attempted to classify the genre of music a participant was listening to from their electrodermal activity. An LSTM and a CNN were trained and their accuracy was found to be 69.23% and 72.97% respectively. Pruning of each of the networks was also conducted and it was found that the network structure for both the CNN and the LSTM can be reduced by at least 20% without having a reduction in the accuracy of the model. It was found that the LSTM has only very few important neurons and weights that contribute to the accuracy of the model.

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

Buying options

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

Learn about institutional subscriptions

References

  1. Alhagry, S., Aly, A., El-Khoribi, R.: Emotion recognition based on EEG using LSTM recurrent neural network. Int. J. Adv. Comput. Sci. Appl. 8, 10 (2017)

    Google Scholar 

  2. Dwarampudi, M., Subba Reddy, N.V.: Effects of padding on LSTMS and CNNs. CoRR, abs/1903.07288 (2019)

    Google Scholar 

  3. Fujimura, S., et al.: Classification of voice disorders using a one-dimensional convolutional neural network. J. Voice (2020)

    Google Scholar 

  4. Gaurang, P., Ganatra, A., Kosta, Y., Panchal, D.: Behaviour analysis of multilayer perceptrons with multiple hidden neurons and hidden layers. Int. J. Comput. Theor. Eng. 3, 332–337 (2011)

    Google Scholar 

  5. Gedeon, T., Harris, D.: Network reduction techniques. AMSE 1, 119–126 (1991)

    Google Scholar 

  6. Gedeon, T.D.: Indicators of hidden neuron functionality: the weight matrix versus neuron behaviour. In: Proceedings 1995 Second New Zealand International Two-Stream Conference on Artificial Neural Networks and Expert Systems, pp. 26–29 (1995)

    Google Scholar 

  7. Hatami, N., Gavet, Y., Debayle, J.: Classification of time-series images using deep convolutional neural networks. CoRR, abs/1710.00886 (2017)

    Google Scholar 

  8. Jayalakshmi, T., Santhakumaran, A.: Statistical normalization and back propagation for classification. Int. J. Comput. Theor. Eng. 3(1), 1793–8201 (2011)

    Google Scholar 

  9. Karim, F., Majumdar, S., Darabi, H., Chen, S.: LSTM fully convolutional networks for time series classification. CoRR, abs/1709.05206 (2017)

    Google Scholar 

  10. Kingma, D.P., Ba, J.: Adam: a method for stochastic optimization. In: Bengio, Y., LeCun, Y. (eds.) 3rd International Conference on Learning Representations, ICLR 2015, San Diego, CA, USA, 7–9 May 2015, Conference Track Proceedings (2015)

    Google Scholar 

  11. Lipton, Z.C. Kale, D.C., Elkan, C., Wetzel, R.: Learning to diagnose with LSTM recurrent neural networks (2015)

    Google Scholar 

  12. Ostafe, D.: Neural network hidden layer number determination using pattern recognition techniques. In: 2nd Romanian-Hungarian Joint Symposium on Applied Computational Intelligence, SACI (2005)

    Google Scholar 

  13. Rahman, J.S., Gedeon, T., Caldwell, S., Jones, R., Hossain, M.Z., Zhu, X.: Melodious micro-frissons: detecting music genres from skin response. In: 2019 International Joint Conference on Neural Networks (IJCNN), pp. 1–8 (2019)

    Google Scholar 

  14. Salman, A.G., Heryadi, Y., Abdurahman, E., Suparta, W.: Single layer and multi-layer long short-term memory (LSTM) model with intermediate variables for weather forecasting. Procedia Comput. Sci. 135, 89–98 (2018). The 3rd International Conference on Computer Science and Computational Intelligence (ICCSCI 2018): Empowering Smart Technology in Digital Era for a Better Life

    Google Scholar 

  15. Santamaria-Granados, L., Munoz-Organero, M., Ramirez-González, G., Abdulhay, E., Arunkumar, N.: Using deep convolutional neural network for emotion detection on a physiological signals dataset (AMIGOS). IEEE Access 7, 57–67 (2019)

    Article  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Madeline Brewer .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2020 Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Brewer, M., Rahman, J.S. (2020). Pruning Long Short Term Memory Networks and Convolutional Neural Networks for Music Emotion Recognition. In: Yang, H., Pasupa, K., Leung, A.CS., Kwok, J.T., Chan, J.H., King, I. (eds) Neural Information Processing. ICONIP 2020. Lecture Notes in Computer Science(), vol 12534. Springer, Cham. https://doi.org/10.1007/978-3-030-63836-8_29

Download citation

  • DOI: https://doi.org/10.1007/978-3-030-63836-8_29

  • Published:

  • Publisher Name: Springer, Cham

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

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

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics