Saved in:
Bibliographic Details
Main Authors: Meguenani, Mohamed El Amine, Britto Jr., Alceu de Souza, Koerich, Alessandro Lameiras
Format: Preprint
Published: 2024
Subjects:
Online Access:https://arxiv.org/abs/2410.08321
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866912068220747776
author Meguenani, Mohamed El Amine
Britto Jr., Alceu de Souza
Koerich, Alessandro Lameiras
author_facet Meguenani, Mohamed El Amine
Britto Jr., Alceu de Souza
Koerich, Alessandro Lameiras
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2410_08321
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Music Genre Classification using Large Language Models
Meguenani, Mohamed El Amine
Britto Jr., Alceu de Souza
Koerich, Alessandro Lameiras
Sound
Computer Vision and Pattern Recognition
Audio and Speech Processing
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.
title Music Genre Classification using Large Language Models
topic Sound
Computer Vision and Pattern Recognition
Audio and Speech Processing
url https://arxiv.org/abs/2410.08321