Multi-label Cross-lingual automatic music genre classification from lyrics with Sentence BERT

Tiago Fernandes Tavares, Fabio José Ayres
1/7/2025
cs.IRcs.LGcs.SD

No confident code implementation found for this paper.

Abstract

Music genres are shaped by both the stylistic features of songs and the cultural preferences of artists' audiences. Automatic classification of music genres using lyrics can be useful in several applications such as recommendation systems, playlist creation, and library organization. We present a multi-label, cross-lingual genre classification system based on multilingual sentence embeddings generated by sBERT. Using a bilingual Portuguese-English dataset with eight overlapping genres, we demonstrate the system's ability to train on lyrics in one language and predict genres in another. Our approach outperforms the baseline approach of translating lyrics and using a bag-of-words representation, improving the genrewise average F1-Score from 0.35 to 0.69. The classifier uses a one-vs-all architecture, enabling it to assign multiple genre labels to a single lyric. Experimental results reveal that dataset centralization notably improves cross-lingual performance. This approach offers a scalable solution for genre classification across underrepresented languages and cultural domains, advancing the capabilities of music information retrieval systems.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{tavares2025multilabel,
  title  = {Multi-label Cross-lingual automatic music genre classification from lyrics with Sentence BERT},
  author = {Tiago Fernandes Tavares and Fabio José Ayres},
  year   = {2025},
  eprint = {2501.03769},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2501.03769v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2501.03769.svg)](https://codeofpaper.com/paper/2501.03769)

Discussion