Weakly Supervised Representation Learning for Unsynchronized Audio-Visual Events

Sanjeel Parekh, Slim Essid, Alexey Ozerov, Ngoc Q. K. Duong, Patrick Pérez, Gaël Richard

Abstract

This paper introduces a multimodal framework designed to classify and localize audio-visual events using only video-level labels (weak supervision). Unlike previous methods that assume audio and video signals are perfectly aligned, this approach successfully handles "unsynchronized" events—where audio cues may precede or follow visual appearances. By framing the task as a Multiple Instance Learning (MIL) problem, the model learns to identify and localize events across modalities without requiring expensive frame-level annotations.

The Challenge of Asynchronous Events

In real-world environments, audio and visual cues for the same event rarely occur in perfect lockstep. For instance, a train might be heard long before it enters the camera's field of view, or a motorcycle might be visible while idling silently.

Illustration of unsynchronized audio-visual events where a train horn is heard before the train is visible.

Most machine learning models for scene understanding rely on "strong supervision," which involves precise timestamps and bounding boxes. Such data is expensive and subjective to produce. While "weak supervision" (knowing an object is present somewhere in a clip) is easier to obtain, existing models often fail when audio and video cues are asynchronous. This research bridges that gap by creating a system capable of learning from noisy, unsynchronized, and weakly labeled data.

Methodology

The authors treat the video as a "bag" containing two types of "instances": image regions (spatial/temporal) and audio segments (temporal). This allows the model to process each modality independently before fusion.

The Two-Stream Architecture

As shown in the architecture diagram below, the system consists of parallel visual and audio networks:

The proposed two-stream architecture featuring independent visual and audio networks for classification and localization.
  1. Proposal Generation:
    • Visual: Video frames are sub-sampled at 1 fps, and EdgeBoxes generate class-agnostic region proposals.
  2. Audio: Audio is converted into log-Mel spectrograms, with a sliding window creating 960ms segments.
  3. Feature Extraction: Visual features are extracted using a CaffeNet with RoI pooling, while audio embeddings are generated via a VGGish model.
  4. Two-Stream Scoring: Each modality passes through two parallel paths:
  5. Classification Stream: Assigns a score to each proposal for each class.
  6. Localization Stream: Uses a softmax operation to weight the most relevant proposals for a given class.
  7. Fusion: Scores from both modalities are $\ell_2$ normalized and summed to produce a final video-level classification. The system is trained jointly using a multi-label hinge loss.

Experimental Results

The model was evaluated on the DCASE 2017 challenge dataset, a subset of Google’s AudioSet containing 17 classes of vehicle and warning sounds (e.g., sirens, car horns, trains).

  • State-of-the-Art Performance: The proposed "AV Two-Stream" model achieved a micro-averaged F1 score of 64.2%, significantly outperforming the DCASE 2017 winner (55.6%).
  • Robustness to Noise: The model demonstrated high reliability in challenging conditions, such as identifying a motorcycle in extreme low-light by relying primarily on audio cues.
  • Spatial Accuracy: Despite never being trained on bounding boxes, the model naturally learned to highlight discriminative regions, accurately localizing objects like bicycles and cars as a byproduct of the classification task.

Key Insights and Future Work

A critical finding of this research is that asynchrony can be treated as a feature rather than a bug. By processing proposals independently, the model can "lock onto" a sound at one timestamp and a visual object at another, correctly identifying them as the same event. Furthermore, the study highlights the complementary nature of modalities: warning sounds (sirens) rely on audio, while vehicle identification (trains) benefits more from visual cues.

Future work may involve refining the temporal resolution for short, transient sounds and exploring more sophisticated fusion mechanisms, such as Attention or Recurrent Neural Networks (RNNs), to further improve temporal modeling.

Summary updated

BibTeX
@inproceedings{parekh2018weakly,
  author = {Sanjeel Parekh and Slim Essid and Alexey Ozerov and Ngoc Q. K. Duong and Patrick Pérez and Gaël Richard},
  title = {{Weakly Supervised Representation Learning for Unsynchronized Audio-Visual Events}},
  booktitle = {Workshops @ CVPR},
  year = {2018},
}
Figure