对比9种模型,84%准确率的CRNN能更好识别尼泊尔八类传统音乐。
Music Genre Classification: A Comparative Analysis of Classical Machine Learning and Deep Learning Approaches
- 用手工特征和声谱图分别训练经典与深度模型。
- 序列式卷积循环网络(CRNN)达84%准确率,最优于其他模型。
- 首次系统分析尼泊尔传统音乐分类,揭示文化交融导致的误判。
自动音乐流派分类是音乐信息检索中的长期挑战,非西方音乐传统研究仍较匮乏。尼泊尔音乐包含文化丰富、声学多样的流派——从洛克多霍里(Lok Dohori)的对唱二重奏,到德乌达(Deuda)的节奏诗歌,再到塔马恩格塞洛(Tamang Selo)的独特旋律——现有分类系统尚未覆盖。本文构建了一个约8,000个标注的30秒音频片段的新数据集,涵盖八个尼泊尔音乐流派,并对九种分类模型在两种范式下进行系统比较。五种经典机器学习模型(逻辑回归、SVM、KNN、随机森林、XGBoost)基于Librosa提取的51个手工特征训练,四种深度学习架构(CNN、RNN、并行CNN-RNN、串行CNN+RNN)则作用于640×128维梅尔声谱图。实验显示,串行卷积循环神经网络(CRNN)在卷积层后接LSTM,达到最高准确率84%,显著优于表现最佳的经典模型(逻辑回归与XGBoost,均为71%)及其他所有深度架构。我们为每种模型提供各类别精确率、召回率、F1分数、混淆矩阵及ROC分析,并给出基于文化背景的误判模式解释,反映尼泊尔音乐传统的实际交融关系。
原文摘要 · Abstract (English)
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.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。