Skip to main content
QUICK REVIEW

[Paper Review] Understanding Audio Pattern Using Convolutional Neural Network From Raw Waveforms

Shuhui Qu, Juncheng Li|arXiv (Cornell University)|Nov 29, 2016
Music and Audio ProcessingComputer Science5 references10 citations
TL;DR

This paper proposes a data-driven approach using a 1D convolutional neural network (CNN) to extract meaningful audio patterns directly from raw waveforms without spectral transforms. The method learns bandpass filters in the first convolutional layer that mimic wavelet-like behavior, enabling effective sound recognition and signal reconstruction with minimal loss, demonstrating that deep CNNs can autonomously learn informative, time-domain representations of audio.

ABSTRACT

One key step in audio signal processing is to transform the raw signal into representations that are efficient for encoding the original information. Traditionally, people transform the audio into spectral representations, as a function of frequency, amplitude and phase transformation. In this work, we take a purely data-driven approach to understand the temporal dynamics of audio at the raw signal level. We maximize the information extracted from the raw signal through a deep convolutional neural network (CNN) model. Our CNN model is trained on the urbansound8k dataset. We discover that salient audio patterns embedded in the raw waveforms can be efficiently extracted through a combination of nonlinear filters learned by the CNN model.

Motivation & Objective

  • To investigate whether deep convolutional neural networks (CNNs) can learn meaningful audio patterns directly from raw waveforms without spectral feature engineering.
  • To compare the behavior of learned CNN filters with traditional wavelet transforms in capturing temporal and frequency characteristics of audio signals.
  • To evaluate the effectiveness of raw waveform input in end-to-end sound recognition tasks using the UrbanSound8K dataset.
  • To reconstruct original audio signals from the activations of the first CNN layer, assessing the fidelity and information retention of learned representations.

Proposed method

  • A 1D CNN is trained end-to-end on raw waveforms from the UrbanSound8K dataset for environmental sound classification.
  • The first convolutional layer learns nonlinear filters through backpropagation, which are analyzed via Fourier transforms to determine their frequency response and center frequencies.
  • The wavelet transform and continuous wavelet transform (CWT) are used as comparative baselines to evaluate the similarity between learned filters and traditional wavelet basis functions.
  • Signal reconstruction is performed by inverting the first convolutional layer using the learned weights and biases, with normalization and alignment applied to compare reconstructed and original signals.
  • The model is evaluated across different window sizes, filter counts, and sampling rates to assess their impact on recognition accuracy.
  • Kernel analysis involves computing power spectra of learned filters and plotting their center frequencies to assess their distribution and filter characteristics.

Experimental results

Research questions

  • RQ1Do the filters learned by the first convolutional layer of a CNN on raw waveforms exhibit bandpass filtering behavior similar to wavelets?
  • RQ2How does the performance of a CNN trained on raw waveforms compare to models using traditional spectral features like MFCCs in sound recognition tasks?
  • RQ3Can the first convolutional layer's output be used to reconstruct the original audio signal with minimal distortion?
  • RQ4What is the distribution of center frequencies and bandwidths of the learned filters, and how do they relate to auditory perception or wavelet theory?
  • RQ5How do hyperparameters such as window size, number of filters, and sampling rate affect the model's recognition accuracy on raw waveforms?

Key findings

  • The first convolutional layer filters learned by the CNN exhibit clear bandpass characteristics, with center frequencies predominantly below 2.5 kHz and a distribution that approximates an exponential function, similar to wavelet scales.
  • Using a smaller window size of 72 samples (9ms) instead of 160 samples (20ms) improved classification accuracy by 3%, indicating higher temporal resolution benefits raw waveform modeling.
  • Increasing the number of filters to 64 did not improve performance and led to slower convergence, suggesting diminishing returns beyond a certain filter count.
  • The model achieved 78.34% accuracy with a 22.5 kHz sampling rate, significantly outperforming the 69.03% accuracy achieved with MFCC features, highlighting the advantage of raw waveform input with high sampling rates.
  • Signal reconstruction from the first convolutional layer's output successfully captured the general temporal envelope and key patterns of the original audio, with minimal loss, confirming the layer's ability to preserve essential signal characteristics.
  • The inverse of the learned filters (after normalization) produced basis functions resembling asymmetric sinusoids that decay over time, resembling wavelet-like structures, further supporting the analogy between CNN filters and wavelets.

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.