Lyrics-Based Music Genre Classification Using a Hierarchical Attention Network
Preprint
Abstract
Music genre classification, especially using lyrics alone, remains a challenging topic in Music Information Retrieval. In this study we apply recurrent neural network models to classify a large dataset of intact song lyrics. As lyrics exhibit a hierarchical layer structure - in which words combine to form lines, lines form segments, and segments form a complete song - we adapt a hierarchical attention network (HAN) to exploit these layers and in addition learn the importance of the words, lines, and segments. We test the model over a 117-genre dataset and a reduced 20-genre dataset. Experimental results show that the HAN outperforms both non-neural models and simpler neural models, whilst also classifying over a higher number of genres than previous research. Through the learning process we can also visualise which words or lines in a song the model believes are important to classifying the genre. As a result the HAN provides insights, from a computational perspective, into lyrical structure and language features that differentiate musical genres.Keywords
All Related Versions
This publication has 5 references indexed in Scilit:
- An evaluation of Convolutional Neural Networks for music classification using spectrogramsApplied Soft Computing, 2017
- A new hierarchical method for music genre classification2016
- Hierarchical Attention Networks for Document Classification2016
- Improved music feature learning with deep neural networks2014
- Glove: Global Vectors for Word Representation2014