Learning Spatial Features from Audio-Visual Correspondence in Egocentric Videos

Sagnik Majumder, Ziad Al-Halah, Kristen Grauman · DOI

Abstract

Egocentric video captured from wearable devices offers a unique, human-centric perspective on social interactions, yet current audio-visual learning models often fail to leverage the rich spatial information inherent in binaural audio. We propose a self-supervised framework based on Masked Auto-Encoding (MAE) that learns deep spatial correspondences by predicting missing pieces of binaural audio from video. By employing a novel masking strategy—including full channel masking—our model, the AV Spatial Correspondence Encoder, learns to "hallucinate" spatial audio components from visual cues. Our results demonstrate significant performance gains in downstream tasks such as Active Speaker Detection and Spatial Audio Denoising on the EgoCom and EasyCom datasets.

Introduction

Most existing audio-visual learning research focuses on "exocentric" perspectives, such as third-person YouTube videos, which typically utilize monaural audio. This approach neglects the spatial richness of the real world. In contrast, egocentric video from wearable AR devices captures how head movements and room geometry affect the binaural audio reaching our ears.

Overview of the self-supervised framework: audio masking, spatial correspondence encoding, and transfer to downstream tasks.

However, egocentric data is notoriously difficult to process due to constant camera motion, limited fields of view, and complex social settings with overlapping speakers. This paper addresses the need for spatially-grounded representations that can identify active speakers and isolate target voices in noisy environments.

Methodology

The core of our approach is a pretext task where the model must inpaint masked segments of binaural audio using accompanying video.

AV Spatial Correspondence Encoder

Our architecture utilizes a transformer-based encoder that processes visual "tubelets" (sequences of video patches) and audio spectrogram patches. Separate encoders for each modality are followed by a shared transformer that fuses the information to identify spatial links. To aid in 3D spatial reasoning, we incorporate multi-level positional embeddings for both audio tokens and visual patches.

Detailed architecture of the Audio-Visual Spatial Correspondence Encoder and the binaural audio inpainting decoder.

Novel Masking Strategy

Beyond standard random token masking, we introduce full channel masking. By hiding an entire audio channel (e.g., the left ear), the model is forced to rely on visual information and the remaining channel to reconstruct the missing spatial component. This "binauralization" task is a powerful driver for learning robust spatial features.

Datasets and Evaluation

We evaluate our model on two egocentric datasets: EgoCom, which features challenging natural movements in social settings, and EasyCom, a more controlled environment with participants seated around a table.

Key Insights and Results

Our experiments reveal that the model does not merely focus on faces; qualitative heat maps indicate it attends to sound-reflecting surfaces like walls and floors, which define an environment's spatial "fingerprint."

Performance Metrics

The pretrained features consistently outperformed state-of-the-art baselines in two key areas:

  • Active Speaker Detection (ASD): On the EgoCom dataset, our features improved mean Average Precision (mAP) to 63.9%, compared to 52.8% for standard backbones.
  • Spatial Audio Denoising: The model achieved a 2.20 SI-SDRi, demonstrating superior ability in separating target speech from background distractors compared to recent self-supervised methods like AV-MAE.

Conclusion and Future Work

While the model shows strong performance, it faces challenges during rapid head movements or high vocal overlap. Future research will explore using these spatial cues to model "social attention," helping AI understand the dynamics of who is listening to whom in complex social gatherings.

Summary updated

BibTeX
@misc{majumder2023learning,
  author = {Sagnik Majumder and Ziad Al-Halah and Kristen Grauman},
  title = {{Learning Spatial Features from Audio-Visual Correspondence in Egocentric Videos}},
  year = {2023},
  eprint = {2307.04760},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2307.04760},
}
Figure