Connecting gaze, scene, and attention: Generalized attention estimation via joint modeling of gaze and scene saliency

Eunji Chong, Nataniel Ruiz, Yongxin Wang, Yun C. Zhang, Agata Rozga, James Matthew Rehg · OpenReview

Introduction

Predicting human visual attention is a fundamental challenge in computer vision, with applications ranging from social robotics to clinical behavioral analysis. However, most existing models are "specialists" designed for narrow contexts, such as eye-tracking on smartphone screens or detecting eye contact. A significant limitation of these models is the assumption that the object of interest is always visible within the camera's field of view. In real-world scenarios, people frequently look at objects "off-camera," leading traditional models to "hallucinate" fixations within the frame.

This paper introduces a generalized approach to visual attention prediction. The proposed system simultaneously estimates 3D gaze angles, generates a scene saliency map, and determines the likelihood that a person is looking at something inside versus outside the image frame.

Methodology

The core of the approach is a multi-task deep learning framework that jointly models 3D gaze direction and scene saliency. The architecture consists of two distinct convolutional pathways:

  1. The Face Pathway: This pathway processes a crop of the subject's face along with their relative location in the image to estimate a 3D gaze vector (defined by yaw and pitch).
  2. The Scene Pathway: This pathway analyzes the entire image to understand the environmental context and identify salient objects that might attract attention.
The multi-task deep learning framework, showing the Face and Scene pathways leading to gaze, saliency, and fixation likelihood outputs.

The model produces three primary outputs: a 3D gaze angle, a subject-dependent saliency heatmap, and a fixation likelihood value representing the probability that the target is within the frame.

The "Project and Compare" Loss

A key innovation in this work is the "Project and Compare" loss function. This geometric constraint ensures consistency between the estimated 3D gaze and the 2D saliency map. The model projects the estimated 3D gaze ray onto the 2D image plane and compares it to the vector pointing toward the ground-truth target. By minimizing this loss, the model learns to align its geometric understanding of gaze with the semantic content of the scene.

Illustration of the 'Project and Compare' loss, showing how angular errors between predicted and actual gaze are penalized.

Datasets and Training Strategy

To handle the complexities of generalized attention, the researchers employed a cross-domain training strategy using several datasets:

  • GazeFollow: Used for real-world scene understanding. The authors added 14,564 new binary annotations to distinguish between "inside" and "outside" fixations.
  • EYEDIAP & SynHead: Provided precise 3D gaze angles from laboratory and synthetic environments, respectively, ensuring robust head pose and gaze estimation.
  • MMDB (Multimodal Dyadic Behavior): Used for evaluating the model in complex social interactions involving toddlers.

Results and Insights

The joint modeling approach yielded several key insights:

  • Gaze as a Saliency Constraint: Incorporating gaze direction allows the model to ignore salient objects that the person is not facing, resulting in a more accurate, person-centric attention map.
  • Performance Gains: On the GazeFollow benchmark, the model achieved a state-of-the-art AUC of 0.896. It also maintained high precision in 3D gaze estimation, with a 6.4° angular error on EYEDIAP.
  • Handling Out-of-Frame Fixations: On the MMDB dataset, the model significantly outperformed baselines in identifying whether a subject's attention was directed inside or outside the camera's view.

Conclusion and Future Work

While the model sets a new standard for generalized attention estimation, challenges remain. Occlusions and depth ambiguities occasionally lead to errors, such as mistaking a background object for a foreground target. Future research into 3D scene understanding and depth integration could further refine the system's ability to map human attention in complex, unconstrained environments.

Summary updated

BibTeX
@inproceedings{chong2018connecting,
  author = {Eunji Chong and Nataniel Ruiz and Yongxin Wang and Yun C. Zhang and Agata Rozga and James Matthew Rehg},
  title = {{Connecting gaze, scene, and attention: Generalized attention estimation via joint modeling of gaze and scene saliency}},
  booktitle = {European Conference on Computer Vision},
  year = {2018},
  doi = {10.1007/978-3-030-01228-1\_24},
}
Figure