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.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Similar content being viewed by others
References
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)
Dwarampudi, M., Subba Reddy, N.V.: Effects of padding on LSTMS and CNNs. CoRR, abs/1903.07288 (2019)
Fujimura, S., et al.: Classification of voice disorders using a one-dimensional convolutional neural network. J. Voice (2020)
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)
Gedeon, T., Harris, D.: Network reduction techniques. AMSE 1, 119–126 (1991)
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)
Hatami, N., Gavet, Y., Debayle, J.: Classification of time-series images using deep convolutional neural networks. CoRR, abs/1710.00886 (2017)
Jayalakshmi, T., Santhakumaran, A.: Statistical normalization and back propagation for classification. Int. J. Comput. Theor. Eng. 3(1), 1793–8201 (2011)
Karim, F., Majumdar, S., Darabi, H., Chen, S.: LSTM fully convolutional networks for time series classification. CoRR, abs/1709.05206 (2017)
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)
Lipton, Z.C. Kale, D.C., Elkan, C., Wetzel, R.: Learning to diagnose with LSTM recurrent neural networks (2015)
Ostafe, D.: Neural network hidden layer number determination using pattern recognition techniques. In: 2nd Romanian-Hungarian Joint Symposium on Applied Computational Intelligence, SACI (2005)
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)
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
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)
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2020 Springer Nature Switzerland AG
About this paper
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)