Music Genre Classification using Large Language Models

Mohamed El Amine Meguenani, Alceu de Souza Britto, Alessandro Lameiras Koerich
10/10/2024
cs.SDcs.CVeess.AS

No confident code implementation found for this paper. 2 possible matches can be shown below.

Abstract

This paper exploits the zero-shot capabilities of pre-trained large language models (LLMs) for music genre classification. The proposed approach splits audio signals into 20 ms chunks and processes them through convolutional feature encoders, a transformer encoder, and additional layers for coding audio units and generating feature vectors. The extracted feature vectors are used to train a classification head. During inference, predictions on individual chunks are aggregated for a final genre classification. We conducted a comprehensive comparison of LLMs, including WavLM, HuBERT, and wav2vec 2.0, with traditional deep learning architectures like 1D and 2D convolutional neural networks (CNNs) and the audio spectrogram transformer (AST). Our findings demonstrate the superior performance of the AST model, achieving an overall accuracy of 85.5%, surpassing all other models evaluated. These results highlight the potential of LLMs and transformer-based architectures for advancing music information retrieval tasks, even in zero-shot scenarios.

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. 2 weaker matches are hidden by default — 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{meguenani2024music,
  title  = {Music Genre Classification using Large Language Models},
  author = {Mohamed El Amine Meguenani and Alceu de Souza Britto and Alessandro Lameiras Koerich},
  year   = {2024},
  eprint = {2410.08321},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2410.08321v1}
}

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/2410.08321.svg)](https://codeofpaper.com/paper/2410.08321)

Discussion