Skip to main content
QUICK REVIEW

[Paper Review] Carnatic Raga Identification System using Rigorous Time-Delay Neural Network

Sanjay Natesan, Homayoon Beigi|arXiv (Cornell University)|Jan 1, 2024
Remote Sensing and Land UseEarth and Planetary Sciences2 citations
TL;DR

This paper proposes a deep learning system for Carnatic raga identification using a hybrid Time-Delay Neural Network (TDNN) and Long Short-Term Memory (LSTM) architecture, enhanced with an attention mechanism to handle shruti variations. The model achieves 95.31% validation accuracy on a dataset of 676 recordings across 172 ragas, significantly expanding prior work in scale and complexity.

ABSTRACT

Large scale machine learning-based Raga identification continues to be a nontrivial issue in the computational aspects behind Carnatic music. Each raga consists of many unique and intrinsic melodic patterns that can be used to easily identify them from others. These ragas can also then be used to cluster songs within the same raga, as well as identify songs in other closely related ragas. In this case, the input sound is analyzed using a combination of steps including using a Discrete Fourier transformation and using Triangular Filtering to create custom bins of possible notes, extracting features from the presence of particular notes or lack thereof. Using a combination of Neural Networks including 1D Convolutional Neural Networks conventionally known as Time-Delay Neural Networks) and Long Short-Term Memory (LSTM), which are a form of Recurrent Neural Networks, the backbone of the classification strategy to build the model can be created. In addition, to help with variations in shruti, a long-time attention-based mechanism will be implemented to determine the relative changes in frequency rather than the absolute differences. This will provide a much more meaningful data point when training audio clips in different shrutis. To evaluate the accuracy of the classifier, a dataset of 676 recordings is used. The songs are distributed across the list of ragas. The goal of this program is to be able to effectively and efficiently label a much wider range of audio clips in more shrutis, ragas, and with more background noise.

Motivation & Objective

  • To develop a scalable, accurate machine learning system for identifying Carnatic ragas across diverse ragas, shrutis, and performance styles.
  • To address the challenge of shruti variation in raga recognition by modeling relative frequency shifts rather than absolute values.
  • To extend existing raga recognition systems beyond the 72 Melakarta ragas to include Janya ragas and a broader range of musical samples.
  • To improve generalization and robustness in noisy or varied audio conditions through advanced feature extraction and attention mechanisms.
  • To create a computationally efficient and accurate model suitable for large-scale music information retrieval in Carnatic music.

Proposed method

  • The system uses a 1D Convolutional Neural Network (TDNN) to extract local melodic patterns from audio signals after spectral feature extraction.
  • Spectral features are derived using Discrete Fourier Transform (DFT) and triangular filter banks to model perceptually relevant frequency bands.
  • An LSTM network processes sequential patterns to model temporal dependencies in melodic contours and gamaka effects.
  • An attention-based mechanism is applied to focus on relative frequency shifts, improving robustness to shruti variations across performances.
  • The model is trained using categorical cross-entropy loss with the Adam optimizer and early stopping to prevent overfitting.
  • Data preprocessing includes normalization and augmentation to enhance generalization across diverse audio conditions.

Experimental results

Research questions

  • RQ1Can a hybrid TDNN-LSTM model with attention mechanisms achieve high accuracy in raga identification across a broad range of Carnatic ragas, including Janya ragas?
  • RQ2How does modeling relative frequency shifts instead of absolute frequencies improve robustness to shruti variations in raga recognition?
  • RQ3To what extent can a deep learning model generalize to ragas beyond the standard 72 Melakartas, especially with limited training data per raga?
  • RQ4How does the inclusion of gamaka patterns affect the performance of end-to-end raga classification models?
  • RQ5What is the impact of dataset size and diversity on model generalization and accuracy in raga recognition tasks?

Key findings

  • The model achieved a validation accuracy of 95.31% on a dataset of 676 recordings spanning 172 distinct ragas, including both Melakarta and Janya ragas.
  • The training process converged efficiently, with early stopping terminating after 132 epochs due to plateauing validation loss, indicating effective regularization.
  • The model's validation loss was 0.3544, significantly lower than the initial loss, demonstrating effective learning despite high complexity and dataset diversity.
  • The training accuracy reached 99.57%, with only a 4.26% gap to validation accuracy, suggesting minimal overfitting despite the large number of classes and complex patterns.
  • The system outperforms or matches previous state-of-the-art methods, even though it operates on a dataset over 200 times larger than many prior studies.
  • The attention mechanism effectively captured relative pitch variations, enhancing robustness to shruti differences across performances.

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.