Acoustic Scene Classification Using Parallel Combination of LSTM and CNN

Soo Hyun Bae, In Kyu Choi, Nam Soo KimDCASE 2016

Introduction

Acoustic Scene Classification (ASC) is the task of identifying the environment in which an audio recording was captured—such as a busy street, a library, or a moving train. While Deep Neural Networks (DNNs) have significantly advanced the field, they often struggle to capture the dual nature of audio: its long-term temporal flow and its local spectral textures.

Standard DNNs treat inputs as independent vectors, ignoring temporal context. Recurrent networks like Long Short-Term Memory (LSTM) excel at tracking long-term dependencies but may overlook local "textures" in the frequency domain. Conversely, Convolutional Neural Networks (CNNs) are adept at identifying local patterns in spectrograms but are not inherently designed for long sequential transitions. This paper proposes a novel parallel architecture that bridges this gap by extracting sequential temporal information and local spectro-temporal patterns simultaneously.

Proposed Parallel Architecture

The core innovation of this work is the Parallel Combination of two distinct sub-networks, allowing the model to "see" local spectral details while "remembering" the temporal sequence.

The proposed parallel CNN-LSTM architecture, showing the distinct paths for temporal and spectral feature extraction.

The Dual-Path Approach

  1. The LSTM Path: This branch processes sequences of Mel-frequency cepstral coefficients (MFCCs). Two LSTM layers learn the sequential correlation of audio features over time, capturing the "rhythm" of a scene.
  2. The CNN Path: This branch processes Spectrogram Image Features (SIF). After downsampling and denoising, the SIFs pass through two convolutional and two pooling layers. This path excels at capturing "spectro-temporal locality"—the specific patterns of pitch and timing that characterize distinct sounds.
  3. The Fusion Layer: Unlike "cascade" models where a CNN feeds into an LSTM, this model runs them in parallel. The flattened outputs from both branches are concatenated and fed into fully connected layers. A final Softmax layer predicts the scene category.

Experimental Setup

The model was evaluated using the TUT Acoustic Scenes 2016 dataset, which contains 1,170 recordings (9.75 hours) across 15 distinct acoustic scenes. Audio was sampled at 44.1 kHz and divided into 40ms frames with a 50% overlap. The researchers utilized different input representations for each path (MFCCs for LSTM and SIF for CNN) to ensure the branches analyzed the data through complementary "lenses."

Key Results and Discussion

The parallel CNN-LSTM model outperformed all baseline architectures in both frame-based and segment-based (30-second) accuracy.

Segment-based classification accuracy across different scenes and model architectures, highlighting the superior performance of the parallel CNN-LSTM.

Performance Metrics

  • Frame-based Accuracy: The CNN-LSTM reached 70.92%, outperforming standalone LSTM (68.64%), DNN (65.66%), and CNN (64.12%).
  • Segment-based Accuracy: The model achieved 79.15% on the development dataset and 84.1% on the evaluation dataset.
  • Improvement: Compared to the DCASE 2016 baseline (MFCC + GMM), the proposed method showed a relative performance improvement of 6.6%.

The results suggest that LSTM and CNN features are complementary. The LSTM captures how a scene evolves (e.g., the rhythmic clatter of a train), while the CNN captures the specific texture (e.g., the metallic screech of wheels). Notably, the model showed significant gains in scenes like "city center" and "office," where both background hum and distinct temporal events are crucial for identification.

Conclusion

By combining LSTM and CNN architectures in parallel, the proposed model effectively leverages both temporal and spectral information. While the model is more computationally complex than single-path architectures and occasionally underperforms in specific scenes (like "bus" or "residential area"), its overall superior accuracy demonstrates the value of multi-modal feature extraction in acoustic scene classification. Future work will focus on refining the fusion process and investigating even more robust architectures for distinct acoustic feature extraction.

Summary updated

BibTeX
@inproceedings{bae2016acoustic,
  author = {Soo Hyun Bae and In Kyu Choi and Nam Soo Kim},
  title = {{Acoustic Scene Classification Using Parallel Combination of LSTM and CNN}},
  booktitle = {DCASE},
  year = {2016},
  url = {https://openreview.net/forum?id=usK8M7aoX1},
}
Figure