Learning Environmental Sounds with Multi-scale Convolutional Neural Network

Boqing Zhu, Changjian Wang, Feng Liu, Jin Lei, Zhen Huang, Yuxing Peng, Fei LiIJCNN 2018 · DOI

Abstract

Deep learning has dramatically improved the performance of sounds recognition. However, learning acoustic models directly from the raw waveform is still challenging. Current waveform-based models generally use time-domain convolutional layers to extract features. The features extracted by single size filters are insufficient for building discriminative representation of audios. In this paper, we propose multi-scale convolution operation, which can get better audio representation by improving the frequency resolution and learning filters cross all frequency area. For leveraging the waveform-based features and spectrogram-based features in a single model, we introduce two-phase method to fuse the different features. Finally, we propose a novel end-to-end network called WaveMsNet based on the multi-scale convolution operation and two-phase method. On the environmental sounds classification datasets ESC-10 and ESC-50, the classification accuracies of our WaveMsNet achieve 93.75% and 79.10% respectively, which improve significantly from the previous methods.

Introduction

Environmental Sound Classification (ESC)—identifying sounds like barking dogs, rain, or chainsaws—is a core challenge for machine perception. Historically, researchers relied on hand-crafted features like MFCCs or spectrograms. Recently, "end-to-end" deep learning has shifted toward learning directly from the raw waveform.

However, waveform-based models face a "filter size dilemma." In signal processing, there is a fundamental trade-off: wide windows provide excellent frequency resolution but struggle with high-frequency timing, while narrow windows capture high-frequency transients but offer poor frequency resolution. Most existing models use a single, fixed filter size, which is inherently insufficient for the diverse textures of environmental audio. Furthermore, while combining waveform and spectrogram features usually helps, simple output averaging fails to capture the complex interdependencies between the two feature types.

Methods

The authors introduce WaveMsNet, featuring two primary innovations to address these limitations:

Multi-scale Convolution Operation

Instead of one filter size, WaveMsNet uses three parallel "scales" in its first layer to capture features across different frequency resolutions:

  • Scale I: Small filters (size 11) to capture high-frequency features.
  • Scale II: Medium filters (size 51).
  • Scale III: Large filters (size 101) to capture low-frequency features with high resolution.

Two-Phase Feature Fusion

To integrate spectral knowledge (log-mel spectrograms) without losing the benefits of raw waveform learning, the authors use a staged training approach:

  • Phase 1: Train the multi-scale waveform extractor and a backend network.
  • Phase 2: "Freeze" the early waveform-extracting layers. Then, stack the log-mel spectrogram onto the learned waveform features (creating a two-channel input) and fine-tune the backend network to learn how to best combine them.
The WaveMsNet architecture illustrating the two-phase training strategy and multi-scale feature extraction blocks (I, II, III).

Key Results and Insights

WaveMsNet was evaluated on the ESC-10 and ESC-50 benchmarks, achieving state-of-the-art accuracies of 93.75% and 79.10%, respectively. These results significantly outperform previous methods and approach the estimated human baseline (95.7% for ESC-10).

A critical finding was the superiority of the multi-scale approach over single-scale models. As shown in the performance comparison across various backend networks (AlexNet, VGG11, ResNet50), the multi-scale configuration consistently outperformed single receptive field (SRF, MRF, LRF) models by approximately 3% on ESC-50.

Comparison of mean accuracy between single-scale (SRF, MRF, LRF) and multi-scale configurations across different backend architectures.

Frequency response analysis further showed that the different scales specialized: Scale I learned dispersed bands across the spectrum, while Scale III specialized in high-resolution low-frequency detection. The two-phase fusion also proved vital; freezing the waveform extractor in Phase 2 prevented log-mel features from "disturbing" the specialized filters already learned from raw audio.

Conclusion

WaveMsNet demonstrates that learning directly from raw waveforms is highly effective when using multi-scale filters to resolve the frequency-time trade-off. By combining these features with spectrograms through a two-phase fusion process, the model achieves performance near the human baseline. Future work will explore data augmentation and more efficient fusion techniques to further advance environmental sound classification.

Summary updated

BibTeX
@inproceedings{zhu2018learning,
  author = {Boqing Zhu and Changjian Wang and Feng Liu and Jin Lei and Zhen Huang and Yuxing Peng and Fei Li},
  title = {{Learning Environmental Sounds with Multi-scale Convolutional Neural Network}},
  booktitle = {IJCNN},
  year = {2018},
  doi = {10.1109/ijcnn.2018.8489641},
}
Figure