TL;DR
This paper introduces a multi-task learning framework for generalized attention estimation, which jointly models 3D gaze direction and scene saliency to predict where a person is looking. Unlike previous methods that assume a subject is always looking at something within the image, this model explicitly identifies when a gaze target is out-of-frame, achieving state-of-the-art results on gaze-following benchmarks and naturalistic social interaction datasets.
What Problem Does This Paper Address?
Traditional gaze estimation research has largely operated in "silos." Some models focus on predicting 3D gaze vectors in controlled lab settings, while others (gaze-following) try to pinpoint which object in a photo a person is attending to.
However, real-world social scenarios are messy. As shown in the figure below, a person might be looking at a salient object in the scene (a), looking at something entirely outside the camera's field of view (b), or looking directly at the camera/viewer (c).
Existing models often fail in cases (b) and (c) because they are trained under the assumption that a fixation point must exist within the image boundaries. The authors tackle this "generalized visual attention prediction" problem by creating a system that understands both the geometric "where" (gaze angle) and the semantic "what" (scene saliency), while also estimating the "strength" or likelihood that the fixation is actually occurring within the frame.
Methods
The authors propose a deep neural network with two primary pathways using ResNet-50 backbones:
- Face Pathway: Processes a crop of the subject's face to estimate the 3D gaze angle (yaw and pitch).
- Scene Pathway: Processes the entire image to generate a subject-dependent saliency heatmap.
These pathways are integrated to produce three outputs:
- 3D Gaze Vector: The "where" component.
- Heatmap: The "what" component, representing potential fixation targets.
- Fixation Likelihood: A single-valued measure (0 to 1) indicating if the subject is looking inside or outside the frame.
A key innovation is the "project and compare" loss. The model projects the estimated 3D gaze ray onto the 2D image plane and compares it to the vector connecting the subject's head to the ground-truth gaze target. By minimizing the cosine distance between these two vectors, the model enforces geometric consistency between the predicted gaze angle and the predicted fixation point.
Datasets
Because no single dataset covers all aspects of generalized attention, the authors employ a cross-domain learning approach, training on three distinct sources:
- GazeFollow: Real-world images with 2D fixation annotations. The authors added new binary labels (14,564 images) to identify "looking outside" cases.
- EYEDIAP: A lab dataset providing precise 3D gaze angles.
- SynHead: A synthetic dataset with large head pose variations, used to complement the limited range of lab-based datasets.
For evaluation, they also used the Multimodal Dyadic Behavior (MMDB) dataset, which contains video of toddlers in social interactions, providing a rigorous test for generalized attention in unconstrained scenarios.
Key Insights and Ideas
- Gaze as a Geometric Constraint: Saliency alone is insufficient because a scene might have many interesting objects. By using the 3D gaze vector as a directional prior, the model can "filter" the scene saliency to find the specific object the subject is attending to.
- The Importance of "Looking Outside": In natural social interactions (like the MMDB toddler data), subjects look out-of-frame more than 50% of the time. Modeling this explicitly is a requirement for any system intended for real-world deployment.
- Multi-Task Synergy: Training on 3D gaze (EYEDIAP) actually improves 2D fixation prediction (GazeFollow). The auxiliary task of angle regression provides a stronger supervisory signal for the shared features in the face pathway.
Key Results
- Gaze-Following: On the GazeFollow benchmark, the model achieved a state-of-the-art AUC of 0.896, outperforming the original GazeFollow model (0.878).
- 3D Gaze Estimation: The model achieved an angular error of 6.4° on EYEDIAP, which is competitive with models trained exclusively for gaze estimation, despite being a multi-task generalist.
- Generalized Attention (MMDB): In the challenging task of classifying whether a subject is looking at a specific grid square or looking out-of-frame, the proposed model achieved an Average Precision of 0.902, significantly higher than baselines like Random Forest (0.773) or SVM (0.624).
Limitations and Future Work
The authors identify two main failure modes:
- Occlusion: The model struggles when a target is within the frame but hidden behind another object.
- Depth Ambiguity: Without explicit 3D scene understanding, the model sometimes predicts fixations on background objects that happen to align with the gaze ray, even if the subject is looking at something much closer.
Future work could involve integrating depth maps or 3D scene reconstruction to resolve these ambiguities and further improving datasets with more diverse "looking outside" annotations.
Summary updated