Towards Pixel-Level Prediction for Gaze Following: Benchmark and Approach

Feiyang Liu, Dan Guo, Jingyuan Xu, Zihao He, Shengeng Tang, Kun Li, Meng Wang · DOI

TL;DR

This paper introduces GazeSeg, a novel framework for pixel-level gaze target prediction that moves beyond simple gaze point estimation to provide precise segmentation and recognition of what a person is looking at. To support this, they release GazeSeg, a new benchmark dataset with pixel-level annotations for diverse natural scenes, enabling more practical and semantically rich human behavior analysis.

What Problem Does This Paper Address?

Understanding where a person is looking is crucial for interpreting their intentions and predicting their actions, with applications ranging from human-computer interaction to autism diagnosis. However, existing gaze following methods often struggle in natural, diverse scenes. They typically predict a single gaze point or a heatmap, which lacks the semantic detail and precise spatial scope needed to identify specific objects. This ambiguity makes it difficult to integrate gaze information into practical applications. Furthermore, existing datasets often lack the pixel-level annotations required for fine-grained object segmentation and recognition of gaze targets.

Methods

GazeSeg proposes a unified, multi-task framework that progressively predicts gaze targets. It starts with a prompt-based visual foundation model as an encoder. This is followed by three distinct decoder modules:

  • 3D FoV Perception: This module uses the person's head bounding box as an initial prompt to generate a 3D gaze cone, representing the spatial field of view without requiring additional head images. This provides a precise and reliable foundation for subsequent steps.
  • FoV-aware Heatmap Generation: This module incorporates the 3D FoV information and scene context to generate a heatmap, indicating the likely gaze location.
  • Segmentation and Recognition: This module leverages the predicted heatmap as a "mask prompt" to perform pixel-level segmentation of the gaze target and recognize its category. It uses a differentiable spatial-to-numerical transform (DSNT) to bridge the gap between heatmap and pixel-level prediction.

The framework is designed to be modular and progressive, building from coarse gaze direction to fine-grained segmentation and recognition.

Datasets

The authors introduce GazeSeg, a new benchmark dataset built upon the existing GazeFollow dataset. It comprises 77.5k images with pixel-level annotations and covers 270 diverse object categories found in natural scenes (e.g., kitchens, sports, meetings). This dataset aims to address the limitations of previous datasets by providing richer semantic information and more accurate localization for gaze targets. They also evaluate their method on the GazeFollow and VideoAttentionTarget datasets for traditional gaze following tasks.

Key Insights and Ideas

  • Pixel-level semantics are crucial: Moving beyond simple gaze point prediction to pixel-level segmentation and recognition unlocks richer understanding of human behavior.
  • Progressive prediction is effective: A coarse-to-fine approach, starting from 3D FoV perception, then heatmap generation, and finally pixel-level segmentation, leads to more accurate and robust results.
  • Head bounding box as a prompt: Using the head bounding box as an initial prompt effectively guides the model to focus on the relevant individual and their gaze.
  • 3D FoV provides a better foundation: Incorporating 3D spatial information of the gaze cone, rather than just 2D, significantly improves performance.
  • Unified framework for multiple tasks: Combining direction estimation, segmentation, and recognition within a single framework streamlines the process and leverages inter-task dependencies.

Key Results

On the new GazeSeg benchmark, GazeSeg achieves:

  • Dice score of 0.325 for gaze target segmentation.
  • 71.7% Top-5 recognition accuracy.

For traditional gaze following tasks, GazeSeg outperforms state-of-the-art methods, achieving an AUC of 0.953 on the gaze-following task. Ablation studies demonstrate the importance of each module, with the full model significantly outperforming variants that omit key components like the 3D FoV perception or heatmap generation. The method also shows comparable performance to human observers in some metrics.

Limitations and Future Work

The authors acknowledge that in failure cases, when the face is not visible, the model may struggle to accurately predict the 3D gaze direction. Additionally, in complex scenes with multiple similar candidates, the model might face difficulties in recognizing the exact target. They suggest that continued research should focus on improving models for both segmentation and recognition to achieve a deeper understanding and interpretation of human behavior in more practical scenarios.

Summary updated

Abstract

Following the gaze of other people and analyzing the target they are looking at can help us understand what they are thinking, and doing, and predict the actions that may follow. Existing methods for gaze following struggle to perform well in natural scenes with diverse objects, and focus on gaze points rather than objects, making it difficult to deliver clear semantics and accurate scope of the targets. To address this shortcoming, we propose a novel gaze target prediction solution named GazeSeg, that can fully utilize the spatial visual field of the person as guiding information and lead to a progressively coarse-to-fine gaze target segmentation and recognition process. Specifically, a prompt-based visual foundation model serves as the encoder, working in conjunction with three distinct decoding modules (e.g. FoV perception, heatmap generation, and segmentation) to form the framework for gaze target prediction. Then, with the head bounding box performed as an initial prompt, GazeSeg obtains the FoV map, heatmap, and segmentation map progressively, leading to a unified framework for multiple tasks (e.g. direction estimation, gaze target segmentation, and recognition). In particular, to facilitate this research, we construct and release a new dataset, comprising 72k images with pixel-level annotations and 270 categories of gaze targets, built upon the GazeFollow dataset. The quantitative evaluation shows that our approach achieves the Dice of 0.325 in gaze target segmentation and 71.7% top-5 recognition. Meanwhile, our approach also outperforms previous state-of-the-art methods, achieving 0.953 in AUC on the gaze-following task. The dataset and code will be released.
BibTeX
@misc{liu2024towards,
  author = {Feiyang Liu and Dan Guo and Jingyuan Xu and Zihao He and Shengeng Tang and Kun Li and Meng Wang},
  title = {{Towards Pixel-Level Prediction for Gaze Following: Benchmark and Approach}},
  year = {2024},
  eprint = {2412.00309},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2412.00309},
}

Loading related content...

Figure