Introduction
Acoustic Scene Classification (ASC) aims to categorize audio recordings into predefined environmental classes such as "airport," "park," or "street traffic." While deep learning has significantly advanced this field, models often struggle with two primary challenges: overfitting to specific recording locations (city-specific noise) and high computational complexity. This paper, presented at the DCASE 2019 workshop, proposes a Factorized CNN (FCNN) architecture combined with a large-margin triplet loss to address these issues, achieving state-of-the-art efficiency and improved generalization to unseen geographic locations.
Methodology
Sub-Spectral Architecture
The proposed system utilizes a sub-spectral approach where the input mel-spectrogram is divided into multiple frequency sub-bands. Each sub-band is processed by its own stream of convolutional and fully connected layers. This allows the model to learn localized spectral patterns that are characteristic of specific acoustic scenes before aggregating them for a global decision.
Factorized Convolutional Neural Network (FCNN)
To reduce model complexity and improve regularization, the authors replace standard $k \times k$ 2D convolutional kernels with factorized versions. A 2D kernel is decomposed into two consecutive 1D filters: a $(k, 1)$ temporal filter and a $(1, k)$ spectral filter. This factorization assumes that audio patterns possess a low-rank structure, effectively capturing stationary ambient drones and transient events separately. Mathematically, this mirrors the physical reality of sound, where horizontal stripes in a spectrogram represent stationary noise and vertical events represent short-term sounds. This approach reduces the parameter count from $k^2$ to $2k$, providing a significant reduction in model size.
Large-Margin Triplet Loss
A key innovation is the application of a specialized triplet loss function to enhance city-invariance. Standard cross-entropy loss often fails to prevent the model from learning city-specific characteristics, leading to poor generalization in unseen locations. By using a triplet loss with a specific sampling strategy—pairing samples from the same scene but different cities as "positives"—the model is forced to learn features that define the scene itself (e.g., "airport-ness") rather than the location (e.g., "London-ness").
Experimental Setup and Results
The model was evaluated using the TAU Urban Acoustic Scenes 2019 dataset, which includes 10 scenes across 10 European cities. To test generalization, data from Milan was held out as an "unseen city" during training.
Generalization and Accuracy
The FCNN, combined with triplet loss and Spec-augment, achieved an accuracy of 73.14% on 40-bin log-mel features, outperforming the SubSpectralNet baseline of 68.93%. Notably, the performance improvement on the unseen city (Milan) was 41% higher than the overall improvement, demonstrating the effectiveness of the city-invariant training strategy.
Model Efficiency
The FCNN architecture is remarkably compact. For the 40 log-mel feature configuration, the model contains only 113K parameters, compared to 331K for the baseline SubSpectralNet. This nearly 3x reduction in size makes the model highly suitable for deployment on resource-constrained devices without sacrificing performance.
Conclusion
The Factorized CNN with large-margin triplet loss offers a robust solution for efficient and generalizable acoustic scene classification. By leveraging the low-rank nature of audio signals and explicitly training for city-invariance, the researchers developed a model that is both lightweight and capable of handling diverse, real-world environments.
Summary updated