Abstract
Weakly Supervised Sound Event Detection (WSSED) often suffers from "entangled contexts," where models learn spurious correlations between target sounds and their typical backgrounds. We present CI-WSSED, a framework that leverages causal intervention via a Structural Causal Model (SCM) and backdoor adjustment to decouple sound events from confounding contexts. By implementing a Context Adjustment Pool, the model learns to identify sounds across diverse simulated environments, leading to improved localization and classification accuracy across multiple architectures.
Introduction
Weakly Supervised Sound Event Detection (WSSED) is a cost-effective approach for training audio models using clip-level "weak" labels rather than precise millisecond-level annotations. However, a significant challenge in WSSED is entangled context. Sound events rarely occur in isolation; for instance, a "train horn" is almost always accompanied by the sound of a "train."
Standard models tend to be "lazy" learners, often associating background features or co-occurring sounds with the target label. This confounding bias leads to models that might falsely detect a horn whenever a train engine is heard, or struggle to identify a train when the horn is absent. This paper introduces a causal approach to mitigate these biases by untangling the relationship between sound events and their environment.
Methodology: Causal Intervention
To address confounding bias, the authors propose a method based on Causal Intervention.
Structural Causal Model (SCM)
The problem is first modeled using an SCM to identify the causal relationships between variables. As shown in Figure 1, the Context (C) acts as a confounder influencing both the audio features (X) and the final labels (Y).
To break this confounding link, the authors apply the backdoor adjustment (or "do-calculus"). Instead of learning the standard conditional probability $P(Y|X)$, the model is forced to learn $P(Y|do(X))$, which evaluates the label's probability as if the feature $X$ were observed across all possible contexts $C$.
Implementation: Context Adjustment Pool
Since it is impractical to sample every sound in every possible environment, the framework simulates this variety using a Context Adjustment Pool.
The pool iteratively accumulates contextual features for each sound class during training. These features are then re-projected onto frame-level features using an attention-like mechanism, "spotlighting" the specific audio regions that truly belong to the event and clarifying sound boundaries.
Experiments and Results
The method was evaluated on two benchmarks: DCASE2017 Task 4 (real-world smart car data) and UrbanSED (synthetic urban sounds).
Key Results
The causal intervention (CI) strategy proved to be a "plug-and-play" enhancement, improving performance across various backbones including CNNs, Transformers, and HTSAT.
On the HTSAT backbone, causal intervention improved the Audio Tagging mAP from 0.661 to 0.672 and the Sound Event Detection mAP from 0.524 to 0.531 on the DCASE2017 validation set. Consistent gains were observed across all tested models, particularly in scenarios with high event co-occurrence, where the model demonstrated superior ability to pinpoint event boundaries rather than providing blurry localization results.
Conclusion
CI-WSSED demonstrates that moving beyond simple correlation to causal understanding significantly benefits sound event localization. While current implementations assume a uniform distribution of classes, future work aims to address data imbalance and further refine the computational efficiency of the context adjustment process in highly polyphonic environments.
Summary updated