GFIE: A Dataset and Baseline for Gaze-Following from 2D to 3D in Indoor Environments

Zhengxi Hu, Yuxue Yang, Xiaolin Zhai, Dingye Yang, Bohan Zhou, Jingtai Liu

Abstract

Gaze-following is a critical capability for human-robot interaction and social scene understanding. However, existing datasets often suffer from subjective annotation bias or visual distortions from wearable devices, and primarily focus on 2D image coordinates. This paper introduces the Gaze-Following in Indoor Environments (GFIE) dataset, a large-scale 3D gaze-following resource. By employing a novel laser-guided collection system, the authors provide high-accuracy 3D ground truth without compromising natural subject appearance. Alongside the dataset, a baseline model utilizing Stereo Field-of-View (FoV) perception is proposed, demonstrating significant improvements in 3D gaze target localization.

Introduction: The 2D-to-3D Gap in Gaze-Following

Identifying where a person is looking—gaze-following—is essential for AI systems to interact effectively in the real world. Despite its importance, the field faces two primary bottlenecks: annotation quality and the transition from 2D to 3D.

Traditional datasets rely on manual labeling, where annotators estimate gaze targets, leading to subjective bias. Alternatively, wearable eye-tracking glasses provide accuracy but obscure the subject's eyes and can alter their natural behavior. Furthermore, most research is confined to 2D image planes, whereas real-world applications require understanding gaze in 3D space.

Comparison of gaze annotation methods: (a) manual labeling, (b) wearable eye-trackers, and (c) the proposed semi-automatic system.

The GFIE dataset addresses these issues by providing a "clean" dataset with precise 3D coordinates, capturing natural human appearance across diverse indoor settings.

The GFIE Collection System

To generate high-fidelity labels, the researchers developed a semi-automatic hardware setup consisting of an Azure Kinect RGB-D camera and a laser rangefinder.

The "Laser Trick"

The core innovation is the use of a laser spot as a gaze stimulus. A researcher projects a laser point into the environment, and the subject is instructed to follow it. Because the laser's position is known in 3D space relative to the camera, the system can automatically generate precise 2D and 3D gaze targets.

Overview of the GFIE recording system, illustrating the geometric relationship between the camera, the subject, and the laser-guided gaze target.

To ensure the model learns from the subject's features rather than the stimulus, an image inpainting algorithm is used to remove the red laser spot from the training frames. This forces the AI to rely on head pose and eye appearance.

Methodology: Stereo FoV Perception

The proposed baseline model introduces a Stereo Field-of-View (FoV) Perception approach to bridge the gap between 2D images and 3D space.

  1. Gaze Direction Estimation: A ResNet50-based module predicts a 3D gaze unit vector from a crop of the subject's head.
  2. Stereo Heatmap Generation: The model unprojects the scene's depth map into 3D space, creating "stereo FoV heatmaps" that represent the likelihood of gaze targets in the 3D volume.
  3. 2D/3D Fusion: An encoder-decoder architecture fuses these heatmaps with the RGB scene image to predict a 2D gaze point. The final 3D target is identified by finding the point in the 3D point cloud that best aligns with both the predicted 2D target and the 3D gaze vector.

Experimental Results

The GFIE dataset contains 71,799 frames featuring 61 subjects. Benchmarking against standard datasets like GazeFollow and Gaze360, the GFIE baseline achieved:

  • 2D Accuracy: AUC of 0.965 and an $L^2$ distance error of 0.065.
  • 3D Accuracy: 3D distance error of 0.311 meters and an angular error of 17.7°.

Crucially, the model demonstrated strong generalization. When tested on the CAD-120 dataset (re-annotated for 3D gaze), the GFIE-trained model reduced the 3D distance error from 0.812m (previous state-of-the-art) to 0.365m.

Conclusion

The GFIE dataset and its associated baseline model represent a significant step toward robust 3D gaze-following in indoor environments. By eliminating the "observer effect" of wearable devices and providing high-accuracy 3D ground truth, this work enables more natural and effective human-robot interaction. Future work will look toward dynamic targets and extending these capabilities to outdoor environments.

Summary updated

BibTeX
@inproceedings{hu2023gfie,
  author = {Zhengxi Hu and Yuxue Yang and Xiaolin Zhai and Dingye Yang and Bohan Zhou and Jingtai Liu},
  title = {{GFIE: A Dataset and Baseline for Gaze-Following from 2D to 3D in Indoor Environments}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2023},
  doi = {10.1109/cvpr52729.2023.00860},
}
Figure