Abstract
This paper investigates the adaptation of Video Masked Autoencoders (VideoMAE) for the "Looking at Me" (LAM) task within the Ego4d challenge. By transitioning from traditional LSTM-based architectures to a transformer-based VideoMAE backbone, we demonstrate significant performance gains in detecting subtle social cues from an egocentric perspective. Our results show that representations learned from third-person video datasets can effectively transfer to first-person social interaction tasks, achieving a substantial improvement in both mean Average Precision (mAP) and accuracy.
Introduction
Understanding social interactions is a fundamental challenge in egocentric vision. A key component of human communication is eye contact, specifically determining whether a social partner is looking at the camera wearer. The Ego4d Looking at Me (LAM) Challenge formalizes this by requiring models to classify if a localized face in a video clip is directed toward the wearer. This task is particularly demanding due to the subtlety of gaze shifts and the dynamic nature of first-person video backgrounds. While previous approaches relied on Long Short-Term Memory (LSTM) networks, these often fail to capture the fine-grained spatio-temporal features necessary for accurate gaze detection.
Methodology
We propose a transformer-based approach utilizing the VideoMAE framework. VideoMAE employs a self-supervised pre-training strategy where "mask tubes" are removed from video sequences, forcing the model to reconstruct missing spatio-temporal information.
Our pipeline utilizes VideoMAE-Base (B) and VideoMAE-Large (L) architectures. The models are initially pre-trained on the Something-Something-V2 (SSv2) dataset to establish a general understanding of human-centric video dynamics. For the LAM task, we replace the LSTM component of the standard baseline with the VideoMAE backbone. The model is fine-tuned for 10 epochs on the Ego4d dataset using cropped face sequences. The final classification is performed via a linear layer predicting "looking at me" versus "not looking at me."
Experimental Setup and Datasets
The primary dataset used is the Ego4D Look-at-me Benchmark, which contains 38,242 clips. A significant challenge in this dataset is the class imbalance, with a 1:10 ratio favoring the "not looking" class. For pre-training, we utilize Something-Something-V2 (SSv2), a third-person video dataset of basic human actions. Training was conducted using the AdamW optimizer with a cosine learning rate schedule, as detailed in the hyperparameter configuration.
Results and Discussion
The adaptation of VideoMAE yielded a marked improvement over the official LSTM baseline. As shown in the performance comparison, the VideoMAE-L model achieved a 0.73 mAP and 0.93 accuracy, representing a 7% increase in mAP and a 19% increase in absolute accuracy over the baseline.
These results highlight several key insights:
- Cross-View Transferability: Features learned from third-person perspectives (SSv2) are highly effective for egocentric tasks, suggesting that fundamental spatio-temporal representations are shared across viewpoints.
- Transformer Efficiency: The attention mechanism in VideoMAE is superior to LSTMs for capturing minute temporal changes like gaze shifts.
- Data Efficiency: Significant performance gains were achieved with only 10 epochs of fine-tuning, demonstrating the robustness of the pre-trained representations.
Conclusion and Future Work
While VideoMAE significantly advances the state-of-the-art for the LAM task, challenges remain regarding data imbalance. The current model does not employ specific balancing techniques like weighted loss or oversampling, which could further improve performance. Future research will explore these strategies and more sophisticated classification heads to refine gaze detection in complex social environments.
Summary updated