A dataset and classification model for Malay, Hindi, Tamil and Chinese music

Fajilatun Nahar, Kat Agres, Balamurali B. T., Dorien HerremansarXiv 2020

Abstract

This paper presents a novel dataset and machine learning pipeline for classifying contemporary music from Singapore's four primary ethnic influences: Chinese, Malay, Hindi, and Tamil. By evaluating various audio feature representations and selection techniques, the study demonstrates that low-level spectral data, when optimized through feature selection, significantly outperforms high-level musical descriptors. The best-performing model achieves a classification accuracy of 81% and an AUC of 0.95 using Support Vector Machines (SVM).

Introduction

While Music Information Retrieval (MIR) has advanced significantly in classifying Western genres, there remains a lack of robust models for contemporary Asian music, particularly in multicultural hubs like Singapore. Singaporean music is a unique tapestry woven from Malay, Chinese, and Indian (both Hindi and Tamil) influences. Automatically identifying the ethnic origin of a song provides a foundation for analyzing how these distinct cultural threads merge into national identities and assists in the digital curation of diverse musical libraries.

Methodology

The study focuses on the impact of input representations rather than complex neural architectures. Two main types of features were compared:

  1. Low-level features: Spectrogram-based data (260 features) extracted using the Essentia library.
  2. High-level features: Musically meaningful descriptors (e.g., tonality, rhythm) extracted via OpenSMILE (127 features after one-hot encoding).

To optimize efficiency, the researchers employed two feature selection techniques: a Filter Method (one-way ANOVA) and a Wrapper Method (backward elimination using logistic regression). These features were then evaluated using standard classifiers, including Logistic Regression, k-Nearest Neighbors (k-NN), Random Forest (RF), and Support Vector Machines (SVM).

Dataset Description

The authors introduced a new dataset curated via the Spotify API, consisting of 15,725 30-second clips. The collection includes 3,146 Chinese, 507 Malay, 6,729 Hindi, and 5,343 Tamil songs. Unlike many existing datasets that focus on traditional folk music, this collection emphasizes contemporary tracks. However, it does exhibit a significant class imbalance, particularly with the smaller Malay sample size.

Key Results and Discussion

The study evaluated 10 different feature subsets. The results indicate that low-level spectral features contain more ethnic "signal" than abstract musical concepts like tempo or key.

Performance comparison across different feature subsets and selection methods.

As shown in the results table, the top accuracy of 81% and a peak AUC of 0.95 were achieved using SVM on low-level feature subsets. Specifically, Subset 9 (92 features) is recommended as the most efficient model, as it maintains peak performance with the fewest features, leading to faster training times.

Confusion matrices illustrating classification performance across the four ethnic categories.

The confusion matrices reveal that while the model is highly effective at identifying Chinese, Hindi, and Tamil tracks, performance is slightly lower for the Malay category (Label 1), likely due to the smaller sample size in the training data. This highlights the impact of class imbalance on the model's discriminative power.

Limitations and Future Work

The primary limitation of this study is the class imbalance in the dataset. Additionally, the use of only the first 30 seconds of each song may miss characteristic shifts that occur later in a track. Future work will focus on expanding the dataset, particularly for underrepresented categories, and applying these models to analyze "National Day Songs" to explore how different ethnic influences are blended into a unified Singaporean musical identity.

Summary updated

BibTeX
@misc{nahar2020dataset,
  author = {Fajilatun Nahar and Kat Agres and Balamurali B. T. and Dorien Herremans},
  title = {{A dataset and classification model for Malay, Hindi, Tamil and Chinese music}},
  year = {2020},
  eprint = {2009.04459},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2009.04459},
}
Figure