Lyrics-Based Music Genre Classification Using a Hierarchical Attention Network
Not on the map. Why?
Abstract (arXiv)
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.
Key facts. Cited by 7 papers in the map (data through 7 Oct 2026). First posted on arXiv 15 Jul 2017.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 2; 2022: 0; 2023: 2; 2024: 1; 2025: 2.
7 papers.
- 2023LyricWhiz: Robust Multilingual Zero-shot Lyrics Transcription by Whispering to ChatGPTcited by 15
- 2023Unsupervised Melody-to-Lyric Generationcited by 7
- 2021Lyric document embeddings for music taggingcited by 2
- 2024Agent-Driven Large Language Models for Mandarin Lyric Generationcited by 1
- 2021A General Framework for Learning Prosodic-Enhanced Representation of Rap Lyricscited by 0
- 2025Linguistic Complexity and Socio-cultural Patterns in Hip-Hop Lyricscited by 0
- 2025A Comparative Study of LLM Prompting and Fine-Tuning for Cross-genre Authorship Attribution on Chinese Lyricscited by 0
- 2025A Comparative Study of LLM Prompting and Fine-Tuning for Cross-genre Authorship Attribution on Chinese Lyrics26 Nov 2025
- 2025Linguistic Complexity and Socio-cultural Patterns in Hip-Hop Lyrics29 Apr 2025
- 2024Agent-Driven Large Language Models for Mandarin Lyric Generation2 Oct 2024
- 2023LyricWhiz: Robust Multilingual Zero-shot Lyrics Transcription by Whispering to ChatGPT29 Jun 2023
- 2023Unsupervised Melody-to-Lyric Generation30 May 2023
- 2021Lyric document embeddings for music tagging29 Nov 2021
- 2021A General Framework for Learning Prosodic-Enhanced Representation of Rap Lyrics23 Mar 2021