[Anderson's Angle](https://www.unite.ai/series/andersons-angle/)
[Add Unite.AI to your preferred sources on Google](https://www.google.com/preferences/source?q=unite.ai)
Key PointsGaze direction remains a dark art because eye movement occupies a tiny fraction of… #
View more
- Gaze direction remains a dark art because eye movement occupies a tiny fraction of image pixels.
- Gaze World Model predicts upcoming gaze shifts by learning how scenes change rather than reconstructing pixels.
- Nearly nine out of ten upcoming gaze changes were anticipated compared to fewer than eight out of ten by rivals.
One of the most frustrating aspects of using the old autoencoder-based FaceSwap program (or the more popular DeepFaceLab, which had exactly the same issue), was trying to get a person to either look to camera, or not look to camera:
If the training data for the personality did not have enough ‘eye contact’, camera-facing examples, the model trained from it simply did not have the data to generate that eyeline, since it had discounted the few to-camera examples as outliers in the training data, during the training process. Conversely, if one had used ‘influencer’-style videos as the primary data source, it would be practically impossible to get the AI persona to not look at the camera, since ‘eye contact’ was dominant in the data.
Eyes Down #
You would think the age of diffusion-based generative AI would have ushered all these issues away; yet recognizing, changing, and predicting eye direction remains a very dark art even now.
In 2023 NVIDIA’s Broadcast app offered eyeline-changing on demand, though it did not seem on launch to be a reliable or totally convincing solution:
Photoshop included a Change Eye Direction facility in one of its Neural Filters even before the advent of Firefly GenAI in the program; but neither of these methods have ever worked very well. Likewise, asking even the best of the current frontier Vision Language Models (VLMs) to subtly change eye direction in a photo still obtains spotty results.
The problem is the very small amount of ‘action area’ involved in eye direction, both in the real world, and as a pixel-percentage of footage. Though I used to obtain some limited improvement in autoencoder-based genAI tools by specifically training eye-contact/averted paired datasets, that kind of approach is really pushing against the domain trends in the base model.
Diffusion-based models, unless diverted by ancillary mechanisms, tend to treat all sections of images and videos as equally important; one can therefore imagine the sheer volume of variegated eye data necessary in a training set to draw the model’s attention to such a small section of the total available image space.
See Hear #
A number of research methods have tried to improve on the state of the art in this regard by leveraging secondary indicators such as audio cues:
Perhaps the most common and obvious proxy for gaze direction is head direction:
But this presumption may be one of the main reasons for mis-prediction of gaze direction, since you never know when the owner of the eyes will be subverting it:
Another recently-adopted proxy for gaze-estimation is evaluating what events are taking place in a scene, and guessing from that context where the eyes of an individual are likely to be alighting. For instance, this summer saw the release of the paper TextGaze: Prompting Gaze Target Estimation with Textual Scene Cues, which uses a VLM to generate textual descriptions of a person’s appearance, actions and apparent gaze direction, to establish where the person is looking:
As one can see from the examples above, in some of the cases under test, guessing the eye direction would even be momentarily challenging for us, even though (for reasons of mating and avoiding or sharpening combat) this skill is life-critical for humans.
You Looking at Me..? #
Following on from this research is a more recent outing, a collaboration between the University of Illinois Urbana-Champaign and Google, titled Gaze World Model, which attempts to predict where a person will look next in a scene:
The system was trained on video sequences in which changes in people’s gaze could be associated with activity around them. The beginnings of a hand gesture, for instance, might be interpreted as an early indication of where another person’s attention will be directed.
The paper states:
‘Where a person looks indicates their focus of attention, and how their gaze shifts between targets reveals how that attention responds to a changing scene. Existing gaze target estimation methods largely operate frame by frame and do not model these shifts.
‘Gaze shifts are often driven by dynamic changes in the scene, which is the kind of information world models are designed to encode.’
With only two seconds of footage, the new model allows gaze locations to be be predicted throughout the following second, with greater accuracy than was achieved by competing methods, the authors contend. In tests against both specialist gaze estimation systems and general-purpose AI models, including Google’s Gemini, nearly nine out of ten upcoming changes in gaze were successfully anticipated by the new system, compared to fewer than eight out of ten by its closest rival.
Approach #
GWM uses Meta’s V-JEPA 2.1 as a foundation. Unlike generative video models, V-JEPA was designed to learn how the physical world behaves from video footage, without having to reconstruct every pixel of a scene. Rather, its existing knowledge of movement and interaction was adapted to the specific task of gaze prediction.
A shift in gaze was defined as a brief transition between two sustained periods of looking at different targets, as shown below:
The three types of gaze shift studied were from one person to another; from a person to an object or other location; and from an object or other location to a person, based on the V-JEPA 2.1 methodology:
Using the Scene-Head Interaction Module (SIM) from the earlier PaGE project, visual information about the person’s head was combined with information about the surrounding scene, and changes in both analyzed across successive frames. During training, greater weight was given to parts of the scene undergoing the most visual change, since these could contain early indications of events likely to attract the subject’s attention. Both the future location of the gaze and the likelihood of a shift in attention were estimated – but not the exact moment at which the shift would occur.
For training and evaluation, the existing VideoAttentionTarget and ChildPlay datasets were supplemented with annotations identifying changes in gaze. Through a semi-automated annotation process, 6,204 gaze shifts were confirmed, with 15,086 video segments used for training. For this purpose, Meta’s SAM 3 semantic segmentation model was used to identify people and objects at the annotated gaze locations, with temporal rules applied to identify potential gaze shifts.
Subsequently, Google’s Gemini 3.5 Flash examined sequences of frames to establish whether the subject had actually changed their focus of attention, rather than merely blinking or following a moving target. Ambiguous cases were referred to human reviewers, and random audits of 15% of the annotations conducted, with a final sampled error rate of 0.5%.
Tests #
Tests were designed to evaluate how accurately Gaze World Model (GWM) could establish where and when a person redirected their gaze in existing footage – and predict gaze locations and shifts beyond the observed footage. Comparisons were made with specialist image- and video-based gaze estimation systems, gaze forecasting methods, and general-purpose multimodal models.
For gaze estimation in existing footage, GWM was tested against the image-based Gaze-LLE and PaGE systems, and MTGS, a video-based model designed to analyze social gaze. For the prediction of future gaze, the authors developed two implementations of the SAGE forecasting method (whose original code is unavailable) using the Sharingan Transformer architecture and PaGE to establish gaze locations. Additionally, Qwen3.8 27B and Gemini 3.8 Flash were tested on both tasks, without additional training.
Training took place in two stages, initially using still images drawn primarily from the GazeFollow dataset, with additional material from VideoAttentionTarget, ChildPlay, and Multi-view Gaze Target Estimation (MVGT).
The components trained to interpret individual images were then frozen, and the system trained on video sequences to anticipate changes in the scene and estimate gaze locations. Finally, these newly trained components were also frozen, and their outputs used to train the gaze-shift detection and forecasting modules.
Three sizes of the V-JEPA 2.1 visual encoder were used, frozen – ViT-B, ViT-L and ViT-g. Video clips comprised 16 frames sampled at 8fps, with gaze forecast for the subsequent eight frames. Training used four NVIDIA H100 GPUs, each with 80GB of VRAM.
Initial video training ran for 20 epochs with the AdamW optimizer, an effective batch size of 32, a peak learning rate of 0.0005, weight decay of 0.05, a linear warmup over 300 updates, and cosine decay to 0.0000001.
The gaze-shift modules were trained for 25 epochs using the same schedule, with a batch size of 64, a peak learning rate of 0.0003, and a warmup over 200 updates.
In the tests, all three versions of the new model outperformed every rival at detecting changes in gaze within the observed footage, including the smallest version, with less than a tenth of the parameters of PaGE-H+. The largest version also matched or narrowly exceeded the best competing results in locating gaze targets.
About half of the improvement came from training the model to identify where a designated person in the scene was looking. The remaining gains came equally from tracking changes in gaze over time and predicting changes in the surrounding scene.
The two larger versions of GWM also tracked moving gaze targets more accurately than competing systems, with fewer fluctuations in estimated gaze locations, when the subject’s attention remained fixed.
As shown above, the two larger versions of GWM outperformed all competing systems in predicting gaze locations, both half a second and a full second ahead, with gains of eight to ten percentage points in average precision for predicting gaze shifts. Compared to just extrapolating the last known gaze location, forecasting reduced average positional errors by 15.6% on VideoAttentionTarget and 11% on ChildPlay. Additional tests confirmed that accuracy deteriorated when the scene prediction component was removed*.
Conclusion #
It’s a testament to human acuity that a domain this small could be so dominant in survival, mating, and evaluation of all kinds in human life. Unfortunately, current trends in machine learning do not allow for an equivalent division and apportionment of attention when gathering and training a wider context of data, such as all-purpose image and video diffusion models.
Naturally, once you curate a face-only dataset, the eyes become a dominant feature and more can be achieved (though as I have noted, it remains an issue). However, it’s difficult to then apply lessons learned from that ‘close-up work’ to the wider context of integrated scenes, unless one plans to treat of the head separately – a clunky and Frankenstein-like proposition.
- We do not cover ablation studies, apart from exceptional cases, and therefore we refer the reader to the source paper for details of those. First published Friday, November 27, 2026