Abstract
Recognizing sounds is a key aspect of computational audio scene analysis and machine perception. In this paper, we advocate that sound recognition is inherently a multi-modal audiovisual task in that it is easier to differentiate sounds using both the audio and visual modalities as opposed to one or the other. We present an audiovisual fusion model that learns to recognize sounds from weakly labeled video recordings. The proposed fusion model utilizes an attention mechanism to dynamically combine the outputs of the individual audio and visual models. Experiments on the large scale sound events dataset, AudioSet, demonstrate the efficacy of the proposed model, which outperforms the single-modal models, and state-of-the-art fusion and multi-modal models. We achieve a mean Average Precision (mAP) of 46.16 on Audioset, outperforming prior state of the art by approximately +4.35 mAP (relative: 10.4%).
Introduction
Sound recognition is naturally a multi-modal task—for instance, visual context like seeing a vacuum cleaner significantly aids in identifying its characteristic sound. However, jointly training audio and visual models presents significant challenges due to differing learning dynamics and high computational costs. Historically, machine learning models for sound recognition have relied almost exclusively on audio data, ignoring the physical actions and objects that produce sound.
While recent multi-modal approaches attempt to train massive networks on both modalities simultaneously, they often struggle with joint optimization. This paper proposes a late-fusion approach that trains separate audio and visual models on weakly labeled data, then dynamically combines their predictions using a learned attention mechanism. This strategy provides a highly interpretable and computationally efficient system that outperforms joint training methods.
Methodology
The proposed system addresses the challenge of weakly labeled data—where a video is tagged with a sound (e.g., "Dog barking") without precise timestamps—using Multiple Instance Learning (MIL). In this framework, a video is treated as a "bag" containing various audio segments and visual frames as "instances."
Model Architecture
The architecture consists of three primary components:
- Audio Model: A Convolutional Neural Network (ConvNet) processing Log-scaled Mel-filter-bank features.
- Visual Model: A 4-layer Deep Neural Network (DNN) processing frame-level features extracted by a pre-trained ResNet-152.
- Attention Audiovisual Fusion: The core contribution is a learned attention network that generates dynamic weights ($\alpha_a$ and $\alpha_v$) summing to 1. Unlike static averaging, this mechanism decides on a per-video and per-class basis whether to prioritize audio, visual, or a specific mixture of both modalities.
Experimental Setup
The models were evaluated on AudioSet, the largest dataset for sound events, comprising approximately 2 million 10-second YouTube video clips annotated with 527 sound classes. The "Unbalanced" set was used for training, while the "Eval" set (20,000 videos) served for testing.
Results and Discussion
The attention fusion model achieves a new state-of-the-art on AudioSet, significantly outperforming single-modality baselines and previous fusion techniques.
Key Insights
- Modality Dominance: Performance varies by class. Audio dominates for sounds like Heartbeat, while the visual model excels for classes like Shuffling Cards or Bus.
- Dynamic Fusion Efficacy: The attention mechanism successfully adapts to sample-specific conditions. For example, it can prioritize audio in dark scenes or visuals in noisy environments.
- Widespread Improvement: The fusion approach improved performance for 83% (439 out of 527) of sound classes compared to the best single-modality model.
- Late Fusion Advantages: By training models separately and fusing them late, the authors bypass the optimization hurdles of joint multi-modal training while achieving a +4.35 mAP (10.4% relative) improvement over previous state-of-the-art.
Limitations and Future Work
A notable limitation occurs when both independent models perform poorly (below 10 AP); in these cases, late fusion fails to provide gains. Future research may explore true joint multi-modal frameworks for these difficult classes to capture deeper cross-modal correlations that late fusion might miss.
Summary updated