Learning Fine-grained View-Invariant Representations from Unpaired Ego-Exo Videos via Temporal Alignment

Zihui Xue, Kristen Grauman

Introduction

The ability to relate first-person (egocentric) perspectives with third-person (exocentric) views is fundamental to human learning and imitation. For instance, an athlete might refine their technique by comparing their own field-of-view (ego) with a broadcast recording of a professional (exo). In computer vision, bridging this "ego-exo" gap has traditionally relied on synchronized, multi-view datasets where the same action is captured simultaneously from both perspectives. However, such data is prohibitively expensive and difficult to collect at scale.

This paper introduces AE2 (Align Ego-Exo), a self-supervised framework designed to learn view-invariant representations from unpaired video data. By decoupling the learning process from the need for temporal synchronization or shared environments, AE2 enables the use of diverse, "in-the-wild" video sources to train models capable of fine-grained action understanding across viewpoints.

Methodology

The AE2 framework addresses the ego-exo gap through three primary technical innovations designed to extract consistency from disparate visual data:

1. Object-Centric Feature Encoding

Standard video encoders often struggle with ego-exo alignment because the background, camera motion, and scale vary drastically between views. AE2 mitigates this by employing a transformer-based encoder that explicitly prioritizes hands and active objects. Since the interaction between a person’s hands and an object remains the most consistent element across views, focusing on this "matchable core" allows the model to ignore viewpoint-specific noise and background distractions.

2. Temporal Alignment via Dynamic Time Warping (DTW)

To learn from unpaired videos—where two different people might perform the same task at different speeds—the model utilizes Dynamic Time Warping. DTW finds an optimal non-linear alignment between the ego and exo sequences in a shared embedding space. By minimizing the alignment cost, the model learns to map semantically similar phases of an action (such as the moment a tennis racket strikes a ball) to similar points in the representation space, regardless of the perspective or timing.

3. Contrastive Regularization with Temporal Reversal

A common failure mode in temporal alignment is "representation collapse," where the model learns trivial features to satisfy the alignment objective. AE2 introduces a unique contrastive strategy using temporally reversed videos as negative samples. The model is trained to ensure that the alignment cost between an ego video and its corresponding forward exo video is significantly lower than the cost of aligning it with a reversed version of that exo video. This forces the encoder to capture the actual causal progression and "flow" of human actions.

Experimental Evaluation

The researchers evaluated AE2 across four datasets representing a spectrum of controlled and "in-the-wild" scenarios:

  • Controlled Environments: CMU-MMAC (Break Eggs) and H2O (Pour Milk), which provide stable backgrounds for initial testing.
  • In-the-Wild Scenarios: A challenging hybrid "Pour Liquid" dataset combining EPIC-Kitchens (egocentric) and HMDB51 (exocentric).
  • Specialized Benchmarks: A new Tennis Forehand dataset pairing professional exocentric footage with newly collected egocentric data from 12 different subjects.

Crucially, these datasets were annotated with dense per-frame labels to evaluate how accurately the model identifies specific action phases (e.g., "racket poised" vs. "ball hit").

Key Results

AE2 demonstrated significant improvements over existing state-of-the-art methods such as Temporal Contrastive Networks (TCN) and Temporal Cycle-Consistency (TCC):

  • Action Phase Classification: On the "Break Eggs" task, AE2 achieved a 66.23% F1 score, outperforming the next best synchronized method by over 6%.
  • Cross-View Retrieval: In the Tennis dataset, the model achieved an 81.46% mAP@10 for cross-view retrieval. This indicates that given a single frame from an exocentric video, the model can accurately identify the corresponding moment in an egocentric video.
  • Few-Shot Learning: The learned representations are sufficiently robust that the model can accurately classify action phases even when provided with only a handful of labeled examples.

Discussion and Future Work

The shift from synchronized to unpaired data represents a major practical advancement for ego-exo representation learning. By enabling the use of existing internet video data, AE2 bypasses the bottleneck of expensive multi-camera data collection.

While the model handles "in-the-wild" data better than previous iterations, the authors note that highly noisy datasets still pose a challenge. Future work will focus on scaling this approach to longer, complex action sequences—such as cooking an entire meal—and exploring how these view-invariant features can be applied to robot imitation learning, where a machine must learn to perform a task by observing a human from a different perspective.

Summary updated

BibTeX
@inproceedings{xue2023learning,
  author = {Zihui Xue and Kristen Grauman},
  title = {{Learning Fine-grained View-Invariant Representations from Unpaired Ego-Exo Videos via Temporal Alignment}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2023},
  url = {https://openreview.net/forum?id=Pj6X6GqNy8},
}
Figure