Skip to main content
QUICK REVIEW

[Paper Review] Spectral and Rhythm Features for Audio Classification with Deep Convolutional Neural Networks

Friedrich Wolf|arXiv (Cornell University)|Oct 9, 2024
Music and Audio ProcessingComputer Science3 citations
TL;DR

This paper evaluates spectral and rhythm features for audio classification using deep convolutional neural networks (CNNs) on the ESC-50 dataset. It demonstrates that mel-scaled spectrograms and mel-frequency cepstral coefficients (MFCCs) significantly outperform other features, achieving 57.50% and 56.00% validation accuracy, respectively, under the same training setup.

ABSTRACT

Convolutional neural networks (CNNs) are widely used in computer vision. They can be used not only for conventional digital image material to recognize patterns, but also for feature extraction from digital imagery representing spectral and rhythm features extracted from time-domain digital audio signals for the acoustic classification of sounds. Different spectral and rhythm feature representations like mel-scaled spectrograms, mel-frequency cepstral coefficients (MFCCs), cyclic tempograms, short-time Fourier transform (STFT) chromagrams, constant-Q transform (CQT) chromagrams and chroma energy normalized statistics (CENS) chromagrams are investigated in terms of the audio classification performance using a deep convolutional neural network. It can be clearly shown that the mel-scaled spectrograms and the mel-frequency cepstral coefficients (MFCCs) perform significantly better than the other spectral and rhythm features investigated in this research for audio classification tasks using deep CNNs. The experiments were carried out with the aid of the ESC-50 dataset with 2,000 labeled environmental audio recordings.

Motivation & Objective

  • To evaluate the performance of diverse spectral and rhythm features in audio classification using deep CNNs.
  • To identify which feature representations yield the highest classification accuracy on environmental sound datasets.
  • To compare the effectiveness of mel-scaled spectrograms, MFCCs, chromagrams (STFT, CQT, CENS), and cyclic tempograms.
  • To assess the generalization and robustness of deep CNNs across different audio feature types using a standardized benchmark.
  • To provide empirical evidence for optimal feature selection in audio classification pipelines using deep learning.

Proposed method

  • Audio data from the ESC-50 dataset (2,000 labeled environmental sounds) was used as input.
  • Raw .wav files were converted into spectral and rhythm features using the librosa library in Python.
  • Key features included mel-scaled spectrograms, MFCCs, STFT chromagrams, CQT chromagrams, CENS chromagrams, and cyclic tempograms.
  • A deep CNN architecture was implemented with 13 layers: 2D convolutions, ReLU activations, max pooling, flattening, dense layers, and dropout.
  • The model was trained using the Adam optimizer with sparse categorical cross-entropy loss and early stopping with learning rate reduction.
  • The training pipeline used 80% of data for training (1,600 samples) and 20% for validation (400 samples).

Experimental results

Research questions

  • RQ1Which spectral and rhythm features yield the highest classification accuracy when used with a deep CNN for environmental sound classification?
  • RQ2How do mel-scaled spectrograms and MFCCs compare in performance to other feature types like chromagrams and tempograms?
  • RQ3To what extent do different feature representations affect generalization, as measured by validation accuracy and loss?
  • RQ4Does the choice of feature representation significantly impact model convergence and training stability?
  • RQ5Are there feature types that consistently underperform despite being commonly used in audio processing?

Key findings

  • Mel-scaled spectrograms achieved the highest validation accuracy at 57.50%, outperforming all other features.
  • MFCCs achieved 56.00% validation accuracy, ranking second and demonstrating strong performance comparable to mel-spectrograms.
  • Cyclic tempograms yielded the lowest validation accuracy at 22.25%, indicating poor suitability for this classification task.
  • Chromagram-based features (STFT, CQT, CENS) showed moderate performance, with validation accuracies ranging from 11.50% to 28.25%.
  • The training loss for mel-spectrograms (0.22) and MFCCs (0.21) was significantly lower than for other features, indicating better optimization.
  • Validation loss for mel-spectrograms (2.07) and MFCCs (2.38) was substantially lower than for chromagrams (3.01–4.76) and tempograms (3.01), confirming better generalization.

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.