Skip to main content
QUICK REVIEW

[Paper Review] Utilizing Domain Knowledge in End-to-End Audio Processing

Tycho Max Sylvester Tax, Jose Luis Diez Antich|arXiv (Cornell University)|Dec 1, 2017
Music and Audio ProcessingComputer Science13 references4 citations
TL;DR

This paper proposes initializing the first layers of an end-to-end CNN for audio classification with a learned mel-spectrogram transformation, trained via supervised learning on raw audio and target mel-spectrograms. The method achieves performance comparable to models trained on hand-crafted mel-spectrograms, demonstrating that domain knowledge can be effectively embedded into deep networks to improve convergence and accuracy on raw audio input.

ABSTRACT

End-to-end neural network based approaches to audio modelling are generally outperformed by models trained on high-level data representations. In this paper we present preliminary work that shows the feasibility of training the first layers of a deep convolutional neural network (CNN) model to learn the commonly-used log-scaled mel-spectrogram transformation. Secondly, we demonstrate that upon initializing the first layers of an end-to-end CNN classifier with the learned transformation, convergence and performance on the ESC-50 environmental sound classification dataset are similar to a CNN-based model trained on the highly pre-processed log-scaled mel-spectrogram features.

Motivation & Objective

  • To investigate whether deep neural networks can learn the log-scaled mel-spectrogram transformation from raw audio using supervised training.
  • To evaluate whether initializing an end-to-end audio classifier with the learned transformation improves convergence and performance on raw waveform.
  • To determine if such a learned initialization can match the performance of models trained on highly pre-processed mel-spectrogram features.
  • To explore the feasibility of combining domain knowledge with end-to-end learning in low-data regimes for audio modeling.

Proposed method

  • A three-layer 1D CNN (MSTmodel) is trained in a supervised fashion to map raw audio waveforms to corresponding log-scaled mel-spectrograms.
  • The MSTmodel uses ReLU and tanh activations, SAME padding, and is designed with kernel sizes and strides matching standard STFT parameters for mel-spectrum computation.
  • The first layers of an end-to-end audio classifier are initialized with the pre-trained MSTmodel weights and kept frozen during training.
  • The classifier uses a modified PiczakCNN architecture with added 1D CNN layers for raw input, followed by max-pooling, fully connected layers, and softmax output.
  • Training employs stochastic gradient descent with Nesterov momentum, a batch size of 500, a learning rate of 5e-3, and 200 epochs, with no L2 regularization.
  • Test-time inference uses majority voting across overlapping segments of mel-spectrogram inputs.

Experimental results

Research questions

  • RQ1Can a deep neural network learn the log-scaled mel-spectrogram transformation from raw audio when trained with paired raw waveforms and mel-spectrograms?
  • RQ2Does initializing an end-to-end audio classifier with the learned mel-spectrogram transformation improve convergence and test accuracy on raw audio?
  • RQ3How does performance compare between an end-to-end model initialized with the learned transformation and a model trained on hand-crafted mel-spectrograms?
  • RQ4Can the learned first-layer features be interpreted as meaningful audio representations, such as wavelets or band-pass filters?
  • RQ5Is there potential for further performance gains by fine-tuning the initialized first-layer parameters after initial training?

Key findings

  • The MSTmodel successfully learns a representation that closely approximates the standard log-scaled mel-spectrogram transformation, as evidenced by the qualitative similarity of its learned filters to known audio filter banks.
  • When the first layers of an end-to-end classifier are initialized with the pre-trained MSTmodel weights and kept frozen, the model achieves a test accuracy of approximately 53% on the ESC-50 dataset using majority voting.
  • This performance matches the baseline accuracy of the PiczakCNN model trained on mel-spectrograms without deltas, demonstrating that the learned initialization enables competitive performance on raw input.
  • The filters learned by the first layer of the MSTmodel resemble wavelets and band-pass filters, indicating that the network discovers structurally meaningful audio representations.
  • The study shows that incorporating domain knowledge via learned feature extraction can significantly improve end-to-end audio classification, especially in low-labeled-data regimes.
  • The authors suggest that fine-tuning the first-layer parameters after convergence may further improve performance, opening a promising direction for future work.

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.