An improved ViT model for music genre classification based on mel spectrogram

Automating the task of music genre classification offers opportunities to enhance user experiences, streamline music management processes, and unlock insights into the rich and diverse world of music. In this paper, an improved ViT model is proposed to extract more comprehensive music genre features from Mel spectrograms by leveraging the strengths of both convolutional neural networks and Transformers. Also, the paper incorporates a channel attention mechanism by amplifying differences between channels within the Mel spectrograms of individual music genres, thereby facilitating more precise classification. Experimental results on the GTZAN dataset show that the proposed model achieves an accuracy of 86.8%, paving the way for more accurate and efficient music genre classification methods compared to earlier approaches.

Authors

Institutions

Publication Details

Journal
PLoS ONE
Published
2025-03-13
DOI
https://doi.org/10.1371/journal.pone.0319027
Citations
4
Primary Topic
Music and Audio Processing
Type
article
Field-Weighted Citation Impact
5.94

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

An improved ViT model for music genre classification based on mel spectrogram

Juan Tu, Yanhong Ji, Han Lin, Fangfang Xu et al.
4 citations
PLoS ONE
Music and Audio Processing
5.94
article

An improved ViT model for music genre classification based on mel spectrogram

Juan Tu, Yanhong Ji, Han Lin, Fangfang Xu, Pingping Wu, Yitao Chen, Weijie Gao
article en
4 citations

Abstract

Automating the task of music genre classification offers opportunities to enhance user experiences, streamline music management processes, and unlock insights into the rich and diverse world of music. In this paper, an improved ViT model is proposed to extract more comprehensive music genre features from Mel spectrograms by leveraging the strengths of both convolutional neural networks and Transformers. Also, the paper incorporates a channel attention mechanism by amplifying differences between channels within the Mel spectrograms of individual music genres, thereby facilitating more precise classification. Experimental results on the GTZAN dataset show that the proposed model achieves an accuracy of 86.8%, paving the way for more accurate and efficient music genre classification methods compared to earlier approaches.

PLoS ONEVol. 20(3)
Shandong University (CN), Nanjing Audit University (CN), Nanjing University (CN)
National Natural Science Foundation of China, Qinglan Project of Jiangsu Province of China
Openalex Percentile: Top 4%
Music and Audio Processing
5.94
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

An improved ViT model for music genre classification based on mel spectrogram — Juan Tu, Yanhong Ji, et al. · PLoS ONE (2025) | TGRS Research Map | TGRS