Introduction
Environmental Sound Classification (ESC) involves the automated identification of audio events such as sirens, dog barks, or street music. Traditionally, this field has relied on specialized audio architectures and hand-engineered features. However, the rapid progress in Computer Vision (CV) offers a wealth of powerful architectures that could potentially be leveraged for audio tasks. ESResNet bridges this gap by adapting the ResNet-50 architecture to classify environmental sounds, treating audio spectrograms as visual data.
Beyond architectural innovation, this research addresses a critical "reproducibility crisis" in the ESC community. The authors highlight how improper data splitting on the UrbanSound8K (US8K) dataset has led to artificially inflated performance metrics, distorting the perceived progress of the field.
Architecture and Methodology
The core of the proposed system is ESResNet, a model that repurposes the standard ResNet-50 backbone for spectral audio data. The architecture utilizes deep residual connections to facilitate training and prevent gradient vanishing in deep networks.
Key components of the methodology include:
- Spectrogram Generation: Audio signals are converted into log-power Short-Time Fourier Transform (STFT) spectrograms using a Blackman-Harris window.
- Attention Mechanism (ESResNet-Attention): To improve focus, the authors introduce optional parallel attention blocks. These blocks are designed to highlight salient time-frequency regions while suppressing irrelevant background noise.
- Siamese-like Stereo Processing: For stereo audio, the model employs a Siamese architecture. Both audio channels are processed through the same weights, and their resulting embeddings are fused via element-wise addition before reaching the final fully connected classification layer.
- Transfer Learning: A pivotal aspect of ESResNet is the use of ImageNet pre-training. By initializing the model with weights learned from millions of natural images, the authors test the hypothesis that low-level visual features (like edges and textures) can generalize effectively to the patterns found in spectral audio data.
Input Representation: Frequency as Color
Standard CV models like ResNet expect three-channel (RGB) inputs. To accommodate this without simply duplicating a grayscale spectrogram, the authors developed a novel frequency-to-RGB mapping.
As shown in Figure 3, the frequency axis of the spectrogram is split into three distinct bands:
- Lower Band (0–7.35 kHz): Mapped to the Red channel.
- Middle Band (7.35–14.70 kHz): Mapped to the Green channel.
- Upper Band (14.7–22.05 kHz): Mapped to the Blue channel.
This mapping allows the model's multi-channel filters to learn complex relationships between different parts of the audio spectrum, effectively treating frequency ranges as "colors."
The Reproducibility Crisis in ESC
A significant contribution of this paper is the exposure of data leakage in previous ESC research. The UrbanSound8K (US8K) dataset contains overlapping snippets derived from the same original recordings. If a random split is used (as in many "unofficial" benchmarks), snippets from the same recording can appear in both the training and testing sets.
The authors demonstrate that this "data leakage" can inflate accuracy to nearly 98%. By strictly adhering to the official 10-fold cross-validation split, which ensures that snippets from the same source recording are kept together, the authors provide a realistic and fair assessment of model performance.
Experimental Results
ESResNet was evaluated on three major benchmarks: ESC-10, ESC-50, and UrbanSound8K. The results demonstrate that ESResNet sets new state-of-the-art (SOTA) benchmarks when compared against models using official splits.
| Dataset | ESResNet (Official Split) | Previous SOTA |
|---|---|---|
| ESC-10 | 97.0% | 95.8% (TFNet) |
| ESC-50 | 91.5% | 87.7% (TFNet) |
| US8K (Mono) | 84.2% | 83.7% (VGG-like) |
| US8K (Stereo) | 85.4% | N/A |
The inclusion of ImageNet pre-training proved vital, providing a nearly 10% accuracy boost on the ESC-50 dataset compared to training from scratch. Furthermore, the Siamese stereo extension provided a measurable performance gain over mono-only models.
Conclusion
ESResNet successfully demonstrates that visual domain models can be highly effective for environmental sound classification. By treating frequency as color and leveraging transfer learning, the model achieves SOTA results while maintaining a standard CV architecture. Crucially, the paper serves as a call to action for the ESC community to adopt rigorous evaluation protocols and avoid the pitfalls of data leakage. Future work will explore learning time-frequency representations directly from raw signals and investigating more advanced multi-channel fusion techniques.
Summary updated