PCIE_LAM Solution for Ego4D Looking At Me Challenge

Kanokphan Lertniphonphan, Jun Xie, Yaqing Meng, Shijing Wang, Feng Chen, Zhepeng WangarXiv 2024 · DOI · arXiv

Introduction

In the field of wearable technology, understanding social interaction is a fundamental challenge. Determining when a social partner is looking at the camera wearer—the "Looking At Me" (LAM) task—is essential for mediating social interactions, enhancing augmented reality (AR) interfaces, and assisting robotic navigation in human-centric environments. This paper details the winning solution from the Lenovo Research team for the Ego4D Looking At Me Challenge at CVPR 2024.

Problem Statement

The LAM task involves analyzing egocentric (first-person) video to identify eye contact. This task is particularly difficult due to two primary factors:

  1. Ego-motion: Wearable cameras are subject to constant movement from the wearer's head, resulting in significant motion blur.
  2. Distance: Social partners are often positioned far from the wearer, making their faces small and their eye direction difficult to resolve.

Existing methods frequently struggle with the "noise" or prediction spikes caused by these low-quality frames.

Methodology

The proposed architecture, InternLSTM, addresses these challenges by combining powerful spatial representations with temporal modeling.

InternLSTM Architecture: The model utilizes a frozen InternVL image encoder followed by a Bi-LSTM and a classification head.

Model Components

  • InternVL Image Encoder: The model leverages the image encoder from InternVL, a Large Vision-Language Model. This encoder is kept frozen during training, allowing the system to utilize pre-trained spatial understanding of complex scenes.
  • Bi-LSTM: To capture temporal dynamics, spatial features from the InternVL encoder are fed into a Bidirectional Long Short-Term Memory (Bi-LSTM) network. This allows the model to incorporate context from both preceding and succeeding frames to infer gaze direction in the current frame.
  • Gaze Smoothing: A post-processing median filter is applied over a specific time window. This classical signal processing step smooths out erratic prediction spikes caused by motion blur, ensuring more consistent behavioral outputs.

Augmentation and Ensembling

To further enhance performance, the team utilized Test-Time Augmentation (TTA), specifically horizontal flipping. The final solution also ensembled InternLSTM with existing approaches such as GazeLSTM and GazePose.

Dataset and Evaluation

The study utilized the Ego4D social benchmark, specifically the LAM challenge subset. The dataset includes 572 video clips (5 minutes each), split into 389 for training, 50 for validation, and the remainder for testing. Performance is evaluated using Mean Average Precision (mAP) and Accuracy (Acc) for binary labels (Looking vs. Not Looking) for every face in every frame.

Results

The PCIE_LAM solution secured 1st place on the challenge leaderboard, demonstrating the effectiveness of the InternLSTM architecture.

Leaderboard Results: PCIE_LAM achieved the top position with a 0.81 mAP and 0.93 accuracy.

Key insights from the results include:

  • LLMs for Vision: The success of the frozen InternVL encoder suggests that large-scale pre-training for vision-language models translates effectively to niche egocentric tasks.
  • Temporal Context: The Bi-LSTM effectively "infers" gaze direction in blurry frames by analyzing the person's head movement and orientation across the video sequence.
  • Generalization: Ablation studies showed that horizontal flipping and TTA consistently improved mAP on the test set, indicating better model generalization.

Conclusion

The PCIE_LAM solution demonstrates that integrating large-scale spatial encoders with temporal modeling and simple post-processing can overcome the inherent noise in egocentric video. Future work will focus on enhancing robustness against extreme motion blur, potentially through specialized data augmentation or integrated deblurring modules.

Summary updated

Abstract

This report presents our team's 'PCIE_LAM' solution for the Ego4D Looking At Me Challenge at CVPR2024. The main goal of the challenge is to accurately determine if a person in the scene is looking at the camera wearer, based on a video where the faces of social partners have been localized. Our proposed solution, InternLSTM, consists of an InternVL image encoder and a Bi-LSTM network. The InternVL extracts spatial features, while the Bi-LSTM extracts temporal features. However, this task is highly challenging due to the distance between the person in the scene and the camera movement, which results in significant blurring in the face image. To address the complexity of the task, we implemented a Gaze Smoothing filter to eliminate noise or spikes from the output. Our approach achieved the 1st position in the looking at me challenge with 0.81 mAP and 0.93 accuracy rate. Code is available at https://github.com/KanokphanL/Ego4D_LAM_InternLSTM
BibTeX
@misc{lertniphonphan2024pcie,
  author = {Kanokphan Lertniphonphan and Jun Xie and Yaqing Meng and Shijing Wang and Feng Chen and Zhepeng Wang},
  title = {{PCIE\_LAM Solution for Ego4D Looking At Me Challenge}},
  year = {2024},
  eprint = {2406.12211},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2406.12211},
}
Figure