ResMamba: A Dual-Path Convolution-Mamba Model for Music Genre Classification
Abstract
Music genre classification remains a fundamental yet challenging task in music information retrieval, requiring models that capture local time--frequency patterns and long-range temporal dependencies. To address this, we propose ResMamba, a hybrid architecture that augments a ResNet-style four-stage backbone with Mamba blocks. Building upon the selective structured state space sequence model, ResMamba first adapts the selective SSM into a 4D-compatible residual Mamba block that captures global dependencies at linear complexity. We then design the ConvMamba dual-path block, which combines this adapted Mamba branch with a parallel convolutional branch through a learned 1×1 fusion, jointly modeling global sequential context and local spectro-temporal patterns. Furthermore, we adopt a multi-scale fusion head that aggregates hierarchical representations across all four stages. Experiments on the GTZAN dataset demonstrate that our full ResMamba model achieves a 5-fold cross-validation accuracy of 88.99\% 1.58\%, surpassing the strongest published method in our comparison (88.64\%). All models are trained from scratch without any pretraining, external data, or data augmentation. Beyond GTZAN, ResMamba also generalizes to the larger FMA benchmarks under the same training protocol, attaining 64.52\% 1.88\% on FMA-Small under 10-fold cross-validation --- the best published from-scratch result --- and 65.75\% on FMA-Medium under the official artist-level split, surpassing the widely cited SVM baseline of Defferrard et al. (63\%).
Create a lesson
Related papers
RespCCT and FreqCCT: Compact, Explainable and Cost-Aware Convolutional Transformers for Multi-Class Respiratory Disease Classification
Shared title terminology · Auntor Chakma, Mst. Farhana Akter, Abu Henaf Rashid Ahmad Mufti et al.
Concordance-Optimal Continuous Music Emotion Estimation: Variance Decomposition, Dual-Branch Temporal Fusion, and Conformal Prediction Intervals
Shared title terminology · Mohammad Faraz Akhtar, Aditya Parashar, Ayush Jain et al.
Gangqinpu: A Multi-Genre, Multi-Task Piano Dataset with Aligned Audio, MIDI, and Musical Scores
Shared title terminology · Wei Zeng, Anvay Mathur, Ye Wang
A Novel Dataset and Framework for Schenkerian Optical Music Recognition
Shared title terminology · Yixuan Huang, Xiao Yun, Jiayin Zheng et al.
Harmonic Circuit: Chord Progression Lies in a Sparse Principal Information Flow in Symbolic Music Models
Shared title terminology · Ruiji Yu, Gus Xia
Evaluating the Evaluation of Music Generation Models with Generative Psychometrics
Shared title terminology · João Carlos Santana Silveira, Caio Von Rondow Morais, Frederico Pedrosa et al.