Abstract
Dense Video Captioning (DVC) aims to automatically localize and describe events in a video. While performance on exocentric (third-person) videos has improved significantly, egocentric (first-person) DVC remains difficult due to the "view gap" and a lack of annotated data. This paper introduces Exo2EgoDVC, a framework designed to transfer knowledge from abundant exocentric web videos to the egocentric domain. We propose a View-Invariant (VI) learning approach using adversarial training and hand-object encoding to create robust features. We also introduce EgoYC2, a new egocentric dataset paired with YouCook2 captions. Our method achieves a CIDEr score of 59.0 on EgoYC2, significantly outperforming baseline models.
Introduction
The proliferation of head-mounted cameras and augmented reality (AR) devices has increased the demand for AI systems that can understand and describe activities from a first-person perspective. Dense Video Captioning (DVC) is a critical task in this domain, requiring the system to identify temporal segments and generate natural language descriptions for procedural tasks. However, most existing DVC models are trained on exocentric videos (e.g., YouTube cooking shows), which differ fundamentally from egocentric footage in terms of camera motion, perspective, and object visibility. This "view gap" prevents models trained on third-person data from generalizing to first-person views.
Methods
To address the view gap, Exo2EgoDVC employs a multi-pronged strategy centered on View-Invariant (VI) Learning:
- Gradual Domain Adaptation: The framework identifies "ego-like" shots within standard exocentric videos. By using face detection, frames without visible faces (often close-ups of hands) are labeled as "ego-like," serving as a bridge between full third-person views and true first-person views.
- Adversarial Training: A Gradient Reversal Layer (GRL) is utilized to train a view-invariant feature extractor. A view classifier attempts to distinguish between exo, ego-like, and egocentric views, while the feature extractor is trained to maximize the classifier's uncertainty. This process forces the model to focus on action-relevant features rather than view-specific artifacts.
- Hand-Object Encoding: To mitigate the instability caused by head motion in egocentric video, the system explicitly encodes hand-object interactions. By leveraging hand tracking and segmentation models, the AI focuses on the primary areas of activity, creating a more consistent representation across different viewpoints.
Datasets
The study utilizes two primary datasets to facilitate cross-view knowledge transfer:
- YouCook2 (YC2): A large-scale collection of exocentric cooking videos from YouTube used as the source for training.
- EgoYC2: A new benchmark dataset introduced by the authors, containing 43 hours of egocentric video where 44 participants recreated recipes from YC2. This dataset allows for a "weakly paired" environment where captions are shared across views, providing a robust testbed for domain adaptation.
Key Results
The Exo2EgoDVC framework demonstrates significant improvements over standard transfer learning approaches:
- Quantitative Performance: On the EgoYC2 dataset, the full "VI-PT + VI-FT" (View-Invariant Pre-training and Fine-tuning) model achieved a CIDEr score of 59.0, a substantial increase from the 38.1 score of the baseline.
- Feature Impact: The inclusion of hand-object features (VC+HO) led to a 13.4% improvement in captioning quality compared to using raw video features alone, highlighting the importance of stabilizing egocentric motion.
- Qualitative Analysis: The model is less prone to "hallucinating" ingredients not present in the video and produces more distinct, non-redundant captions for sequential steps compared to models without view-invariant training.
Conclusion
Exo2EgoDVC successfully bridges the gap between exocentric and egocentric video domains for dense captioning. By focusing on view-invariant features and hand-object interactions, the model effectively leverages the wealth of existing web data to understand first-person activities. Future work will explore the application of these techniques to broader procedural domains beyond cooking and aim to optimize the computational efficiency for real-time AR applications.
Summary updated