Relation-guided acoustic scene classification aided with event embeddings

Yuanbo Hou, Bo Kang, Wout Van Hauwermeiren, Dick Botteldooren

Abstract

Acoustic Scene Classification (ASC) and Audio Event Classification (AEC) are intrinsically linked tasks, yet they are frequently treated as independent problems in machine learning. This paper introduces a Relation-Guided Acoustic Scene Classification (RGASC) model that leverages the inherent relationships between broad acoustic environments and specific audio events. By utilizing a two-tower neural network architecture and generating event pseudo-labels via pre-trained models, the proposed framework achieves state-of-the-art performance on real-world datasets. The model effectively uses fine-grained audio events to resolve ambiguities between similar scenes, demonstrating a significant improvement over traditional scene-only classification methods.

Introduction

Human perception of an environment is often driven by specific auditory cues. Identifying a "metro station" is rarely a result of processing a monolithic soundscape; rather, it is the recognition of discrete events—the screech of brakes, the chime of a door closing, or a public announcement—that informs the broader context. Despite this natural synergy, the fields of Acoustic Scene Classification (ASC) and Audio Event Classification (AEC) have largely developed in isolation.

One primary obstacle to joint modeling is the lack of large-scale, real-world datasets that contain ground-truth labels for both scenes and events. Most existing datasets are labeled for one or the other, and synthetic datasets often fail to capture the complexity of real-world acoustic environments. This research addresses these challenges by proposing a method to incorporate event-level information into scene classification using pseudo-labels and a relation-guided learning strategy.

Methodology

The proposed Relation-Guided Acoustic Scene Classification (RGASC) model is built upon three core components: pseudo-label generation, a prior relation matrix, and a bidirectional two-tower architecture.

1. Pseudo-Label Generation

To overcome the absence of event labels in the target dataset (TUT Urban Acoustic Scenes 2018), the researchers employed Pre-trained Audio Neural Networks (PANNs). These networks, trained on the massive AudioSet corpus, were used to "tag" the TUT2018 audio clips with 527 different event classes. While these tags are unverified by humans—and thus referred to as "pseudo-labels"—they provide a rich source of structural information regarding the fine-grained sounds present in each scene.

2. The Prior Relation Matrix ($R_{SE}$)

To bridge the gap between scenes and events, the authors calculated a Prior Relation Matrix. This matrix represents the statistical probability of a specific event occurring within a given scene (e.g., the high likelihood of "car horns" in "street traffic" versus their near-absence in a "library"). This matrix serves as the knowledge base that guides the model's internal logic.

3. Two-Tower Architecture and Bidirectional Guidance

The model utilizes a shared convolutional base (the first two blocks) to extract fundamental audio features. Following this, the architecture splits into two distinct "towers":

  • Scene Tower: Dedicated to predicting the overall acoustic environment.
  • Event Tower: Dedicated to predicting the specific audio events.

The innovation lies in the Bidirectional Guidance mechanism. Two novel loss functions ($L_{s\_by\_event}$ and $L_{e\_by\_scene}$) were introduced to ensure that the embeddings produced by each tower are consistent with the Prior Relation Matrix. This forces the towers to communicate, ensuring that a predicted scene is logically supported by the predicted events, and vice versa.

Experimental Setup

The model was evaluated using the TUT Urban Acoustic Scenes 2018 (TUT2018) development dataset, which consists of 8,640 ten-second clips across 10 scene categories, including airport, bus, park, and street traffic. The performance of the RGASC model was compared against the DCASE baseline and standard PANN models.

Results and Discussion

State-of-the-Art Performance

The RGASC model achieved an accuracy of 77.4% on the TUT2018 dataset. This significantly outperforms the DCASE baseline (59.7%) and exceeds the performance of fine-tuned PANN models (73.8%), which do not utilize explicit relation guidance.

Resolving Scene Ambiguity

The inclusion of event-level data proved particularly effective in distinguishing between similar acoustic environments. For instance, the accuracy for the "metro station" scene increased by 17.38%, and "pedestrian street" improved by 13.36% compared to models using scene labels alone. By identifying specific mechanical or social events, the model can more accurately categorize scenes that share similar background noise profiles.

Architectural Insights

Ablation studies revealed a "Goldilocks" zone for feature sharing. The researchers found that sharing exactly two convolutional blocks between the towers was optimal. Sharing fewer blocks resulted in a lack of common feature representation, while sharing more (up to six blocks) forced the model to collapse the unique characteristics of scenes and events into a single representation, degrading performance.

Feature Clustering

t-SNE visualizations of the model's embeddings indicated that the RGASC framework produces much tighter and more distinct clusters for different scenes. In traditional models, classes like "park" and "public square" often show significant overlap; however, the relation-guided approach successfully separates these clusters by focusing on the unique event distributions inherent to each.

Conclusion and Future Work

This research demonstrates that even "noisy" pseudo-labels can significantly enhance the performance of acoustic scene classifiers when guided by a structured relation matrix. The RGASC model provides a robust framework for leveraging fine-grained audio details to solve high-level classification tasks.

Future work will focus on making the scene-event relations dynamic, allowing the model to autonomously learn and update the relation matrix during training rather than relying on a fixed prior. Additionally, the authors aim to refine the model's handling of uncertainty within pseudo-labels to further improve accuracy across more diverse and larger-scale datasets.

Summary updated

BibTeX
@inproceedings{hou2022relation,
  author = {Yuanbo Hou and Bo Kang and Wout Van Hauwermeiren and Dick Botteldooren},
  title = {{Relation-guided acoustic scene classification aided with event embeddings}},
  booktitle = {IJCNN},
  year = {2022},
  doi = {10.1109/ijcnn55064.2022.9892893},
}
Figure