Skip to main content
QUICK REVIEW

[Paper Review] Comparing the Accuracy of Deep Neural Networks (DNN) and Convolutional Neural Network (CNN) in Music Genre Recognition (MGR): Experiments on Kurdish Music

Aza Zuhair, Hossein Hassani|arXiv (Cornell University)|Nov 22, 2021
Music and Audio ProcessingComputer Science4 citations
TL;DR

This study evaluates Deep Neural Networks (DNN) and Convolutional Neural Networks (CNN) for music genre recognition in Kurdish music, using a custom dataset of 880 30-second audio samples across eight genres. The CNN achieved 92% accuracy, outperforming the DNN's 90%, demonstrating CNNs' superiority in capturing spectral patterns for genre classification in low-resource music domains.

ABSTRACT

Musicologists use various labels to classify similar music styles under a shared title. But, non-specialists may categorize music differently. That could be through finding patterns in harmony, instruments, and form of the music. People usually identify a music genre solely by listening, but now computers and Artificial Intelligence (AI) can automate this process. The work on applying AI in the classification of types of music has been growing recently, but there is no evidence of such research on the Kurdish music genres. In this research, we developed a dataset that contains 880 samples from eight different Kurdish music genres. We evaluated two machine learning approaches, a Deep Neural Network (DNN) and a Convolutional Neural Network (CNN), to recognize the genres. The results showed that the CNN model outperformed the DNN by achieving 92% versus 90% accuracy.

Motivation & Objective

  • To address the lack of automated music genre recognition research on Kurdish music, a culturally significant but underexplored genre.
  • To develop a new, curated dataset of 880 Kurdish music samples across eight distinct genres for training and evaluation.
  • To compare the performance of DNN and CNN models in classifying Kurdish music genres using MFCC features.
  • To investigate the impact of data segmentation length and model architecture on classification accuracy.
  • To provide a publicly available, high-quality dataset and trained models to support future research in Kurdish music information retrieval and recommendation systems.

Proposed method

  • Collected 880 audio samples from diverse sources (YouTube, SoundCloud, CDs), converted to WAV format for consistency.
  • Extracted Mel-Frequency Cepstral Coefficients (MFCCs) using Librosa (v0.8.1) as the sole feature representation.
  • Segmented each 30-second audio file into 30 one-second samples to increase training data size, balancing dataset size and segment length.
  • Split the dataset using StratifiedKFold cross-validation to ensure even genre distribution across training, validation, and test sets.
  • Trained and evaluated both DNN and CNN models with varying hyperparameters, including number of epochs and dropout regularization.
  • Applied a 0.3 dropout rate in the final layer to mitigate overfitting observed in earlier experiments.

Experimental results

Research questions

  • RQ1How do DNN and CNN models compare in accuracy when classifying Kurdish music genres using MFCC features?
  • RQ2What impact does segment length (e.g., 1s vs. 2.4s) have on model performance in music genre recognition for Kurdish music?
  • RQ3How does data shuffling and cross-validation strategy affect model generalization and overfitting in low-resource music classification?
  • RQ4Can a custom dataset of Kurdish music achieve high classification accuracy using deep learning models?
  • RQ5Does architectural regularization (e.g., dropout) effectively reduce overfitting in models trained on segmented audio data?

Key findings

  • The CNN model achieved 92% test accuracy, significantly outperforming the DNN model’s 90% accuracy on the same dataset.
  • The CNN model demonstrated lower loss (23%) compared to the DNN model (32%), indicating better generalization and fewer classification errors.
  • The fifth experiment, using 1-second audio segments and 30 epochs, yielded the best performance for both models, with the CNN maintaining superior accuracy.
  • Adding a 0.3 dropout layer effectively eliminated overfitting, as training accuracy dropped below validation accuracy in the final experiments.
  • The use of StratifiedKFold cross-validation improved model stability and reduced data imbalance issues compared to random splits.
  • The study confirms that longer audio segments (e.g., 2.4s) may improve performance, though 1-second segments were used to maintain dataset size and prevent overfitting.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.