cs.SDMar 16, 2026

Music Genre Classification: A Comparative Analysis of Classical Machine Learning and Deep Learning Approaches

Authors: Sachin Prajuli, Abhishek Karna, OmPrakash Dhakl

Organizations: Computer Science and Engineering, University of texas at Arlington, Arlington, USA · Electronics and Computer Engineering, Tribhuvan University, IOE, kathmandu · Electronics and Computer Engineering, Tribhuvan University, IOE, Dharan

Abstract

Automatic music genre classification is a long-standing challenge in Music Information Retrieval (MIR); work on non-Western music traditions remains scarce. Nepali music encompasses culturally rich and acoustically diverse genres--from the call-and-response duets of Lok Dohori to the rhythmic poetry of Deuda and the distinctive melodies of Tamang Selo--that have not been addressed by existing classification systems. In this paper, we construct a novel dataset of approximately 8,000 labeled 30-second audio clips spanning eight Nepali music genres and conduct a systematic comparison of nine classification models across two paradigms. Five classical machine learning classifiers (Logistic Regression, SVM, KNN, Random Forest, and XGBoost) are trained on 51 hand-crafted audio features extracted via Librosa, while four deep learning architectures (CNN, RNN, parallel CNN-RNN, and sequential CNN followed by RNN) operate on Mel spectrograms of dimension 640 x 128. Our experiments reveal that the sequential Convolutional Recurrent Neural Network (CRNN)--in which convolutional layers feed into an LSTM--achieves the highest accuracy of 84%, substantially outperforming both the best classical models (Logistic Regression and XGBoost, both at 71%) and all other deep architectures. We provide per-class precision, recall, F1-score, confusion matrices, and ROC analysis for every model, and offer a culturally grounded interpretation of misclassification patterns that reflects genuine overlaps in Nepal's musical traditions.

Figures & tables

Explore similar work

CardsList
  1. YMIR: A new Benchmark Dataset and Model for Arabic Yemeni Music Genre Classification Using Convolutional Neural Networks

    Apr 6, 2026Moeen AL-Makhlafi, Abdulrahman A. AlKannad, Eiad Almekhlafi +2Music Information RetrievalAudio Classification

  2. Exploring LLMs for South Asian Music Understanding and Generation

    Jun 3, 2026Faria Binte Kader, Mohtasim Hadi Rafi, Shah Wasif Sajjad +1Music Generation EvaluationLLM Evaluation

  3. Can pre-trained Deep Learning models predict groove ratings?

    Mar 28, 2026Axel Marmoret, Nicolas Farrugia, Jan Alexander StupacherMusic Information RetrievalAudio Representation Learning