Cross-Modal Attention Network for Temporal Inconsistent Audio-Visual Event Localization

Hanyu Xuan, Zhenyu Zhang, Shuo Chen, Jian Yang, Yan Yan

In the real world, what we see and what we hear don't always line up perfectly. A car might drive off-screen while its engine is still roaring, or a narrator’s voiceover might describe a scene without the narrator being visible. Most AI models for audio-visual event localization struggle with these "temporal inconsistencies," assuming that the sound and the source must always appear together.

A team from the Nanjing University of Science and Technology presented a solution at AAAI-20: a Cross-Modal Attention Network designed to adaptively decide "where" to look, "when" to listen, and "which" modality to trust.

Addressing Temporal Inconsistency

Most existing research in audio-visual learning relies on temporal consistency—the assumption that the sound-maker is always visible in the frame at the exact moment the sound occurs. However, real-life video is messy. Inconsistency arises from independent workflows (like dubbing) or complex scenes where a sound source might be obscured or surrounded by visual noise.

The challenge is to create a model that doesn't just blindly fuse data but intelligently selects the most relevant cues from both modalities.

The Proposed Framework

The authors propose a framework consisting of three core modules that simulate human-like perception, as shown in the architecture below:

The proposed network architecture featuring three specialized attention modules to determine where, when, and which modality to attend.
  1. Spatial Attention Module ("Where"): This module uses the audio signal as a guide to search the video frames. It calculates the similarity between the audio feature and different regions of the image to highlight the most likely source of the sound.
  2. Global Context-aware Self-Attention Module ("When"): Instead of looking at video segments in isolation, this module creates a "global context vector" to decide which specific time segments are most important for localizing the event, helping the model ignore irrelevant "filler" frames.
  3. Cross-Modal Adaptive Co-Attention Module ("Which"): This is the most novel component. It introduces a "modality sentinel"—an additional latent vector in an LSTM. This sentinel acts as a fallback. If the audio and video are inconsistent, the model can "choose" to rely more on the sentinel (representing internal memory/context) or the other modality, effectively trading off information between senses.

Key Results and Insights

The proposed network achieved state-of-the-art performance on the AVE (Audio-Visual Event) Dataset, which contains 4,143 video clips across 28 categories. In supervised localization, it achieved 77.1% accuracy, outperforming the previous best (AVEL) by 2.4%.

Qualitative comparison of localization results and adaptive modality weights (β) for a crying baby sequence.

Visualizations demonstrate the model's ability to focus on the general shape of objects rather than just small, noisy regions. As seen in the crying baby sequence, the model adaptively adjusts the weights (β) for visual and audio modalities over time. When the visual information is clear, the visual weight (β_v) is higher; as the scene changes or becomes less certain, the model can shift its reliance.

Conclusion

By treating audio as a "flashlight" for spatial localization and introducing a "modality sentinel" for temporal decision-making, this research provides a robust framework for handling real-world multimedia data. Future work may focus on reducing computational complexity for real-time applications and extending the model to handle multi-source audio environments where several distinct events occur simultaneously.

Summary updated

BibTeX
@inproceedings{xuan2020cross,
  author = {Hanyu Xuan and Zhenyu Zhang and Shuo Chen and Jian Yang and Yan Yan},
  title = {{Cross-Modal Attention Network for Temporal Inconsistent Audio-Visual Event Localization}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2020},
  doi = {10.1609/aaai.v34i01.5361},
}
Figure