Acoustic Scene Classification by Ensembling Gradient Boosting Machine and Convolutional Neural Networks

Eduardo Fonseca, Rong Gong, Dmitry Bogdanov, Olga Slizovskaia, Emilia Gómez, Xavier SerraDCASE 2017

Introduction

Acoustic Scene Classification (ASC) is a fundamental task in machine listening, aimed at identifying the environmental context of an audio recording—such as a "grocery store," "city park," or "library." This task presents significant challenges due to the overlapping nature of background textures and discrete sound events. While traditional approaches have relied on manual feature engineering, recent advancements have favored feature learning via deep neural networks. This paper presents a hybrid system that ensembles Gradient Boosting Machines (GBM) with Convolutional Neural Networks (CNN) to leverage the complementary strengths of both paradigms, achieving state-of-the-art results on the DCASE 2017 dataset.

System Architecture

The proposed architecture follows a dual-pathway design that integrates domain-specific feature engineering with automated feature learning. As illustrated in Figure 1, the system processes input audio through two parallel streams: one utilizing hand-crafted features with a LightGBM classifier, and another employing a CNN architecture optimized for spectral patterns. The final prediction is derived through late fusion of the class probabilities from both models.

The dual-pathway system architecture combining GBM and CNN models via late fusion.

Methodology

Gradient Boosting Pathway

The first pathway focuses on leveraging expert domain knowledge. Using the FreesoundExtractor from the Essentia library, the researchers extracted 820 hand-crafted features, including Bark, ERB, and Mel energy bands, pitch features, and various spectral descriptors. These features are processed by LightGBM, a high-performance gradient boosting framework. LightGBM was selected for its efficiency and its ability to handle high-dimensional feature sets through histogram-based algorithms and leaf-wise tree growth.

Deep Learning Pathway

The second pathway utilizes a CNN to learn representations directly from log-scaled mel-spectrograms. A key innovation in this architecture is the use of multiple filter shapes in the initial convolutional layer. Instead of standard square filters, the model employs "vertical" filters (e.g., $3 \times 90$) designed to specifically capture spectral envelopes and frequency-domain patterns. This design choice stems from the hypothesis that frequency-domain textures are more discriminative for scene classification than temporal onsets.

Late Fusion

To combine the models, the researchers employed a simple late fusion strategy. The final classification is determined by the arithmetic mean of the class probabilities produced by both the LightGBM and CNN models. This approach allows the system to benefit from the distinct error patterns of each model without the complexity of joint training.

Experimental Results

The system was evaluated on the TUT Acoustic Scenes 2017 dataset using a standardized four-fold cross-validation setup. The ensemble achieved an overall accuracy of 83.0%, a significant improvement over the individual LightGBM (80.8%) and CNN (79.9%) models, as well as the DCASE 2017 MLP baseline (74.8%).

Confusion matrix showing the ensemble system's performance across 15 acoustic scenes in the DCASE 2017 dataset.

The confusion matrix in Figure 2 reveals that while the system excels at identifying distinct environments like "bus" and "metro station," it faces challenges with perceptually similar scenes. For instance, the model frequently confuses "residential area" with "park," and "train" with "tram," suggesting that these environments share highly similar background acoustic textures.

Conclusion

This research demonstrates that ensembling "old-school" feature engineering with "new-school" deep learning provides a robust and high-performing solution for acoustic scene classification. The performance gain from the ensemble suggests that hand-crafted features and learned representations capture different, complementary aspects of audio data. Future work will explore more sophisticated fusion techniques, such as logistic regression stacking, and the generalizability of this hybrid approach to other audio analysis tasks like sound event detection.

Summary updated

BibTeX
@inproceedings{fonseca2017acoustic,
  author = {Eduardo Fonseca and Rong Gong and Dmitry Bogdanov and Olga Slizovskaia and Emilia Gómez and Xavier Serra},
  title = {{Acoustic Scene Classification by Ensembling Gradient Boosting Machine and Convolutional Neural Networks}},
  booktitle = {DCASE},
  year = {2017},
}
Figure