Newsroom Wire

US11-27 23:26⏱ 4 min read

A World Model to Predict What You’ll Look at Next

A World Model to Predict What You’ll Loo

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:

The IA Change Image tool is one of many, including functionality native to Photoshop in the neural filters section, that offers users a chance to rethink eye direction. Source

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.

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:

A grab from the premium demo for NVIDIA Broadcast’s gaze-altering functionality. Even in this flagship example, the AI-altered version does not really look to camera properly. Source

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.

Photoshop’s gaze correction feature relied initially on cloud processing, since most users lacked the GPU resources needed to perform the task locally.Even then, achieving a convincing change in gaze required considerable manual retouching.

In both examples shown here, the original eye color has been poorly reproduced.In the Jennifer Lawrence example the iris is softly-rendered; in the Ryan Gosling example, the iris appears considerably smaller.

Source (The author’s own work at another domain)

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.

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:

In the 2023 paper ‘Multi-Modal Gaze Following in Conversational Scenarios’ , audio is used as a clue to indicate eye gaze. Source

Perhaps the most common and obvious proxy for gaze direction is head direction:

Examples of head-based eye disposition guessing in a 2024 paper. Source

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:

A case – albeit a telescoped one – where head direction does not equate to eye direction. Here the lateral diversion is very expressive, and indicative of some kind of narrative event, and clearly should not be dismissed as an outlier. Source

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:

Test results comparing TextGaze (right) with the earlier GazeLLE system (center). The addition of contextual information helps the newer system locate gaze targets even when facial details are difficult to discern or other elements in the scene are visually distracting. Source

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.

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 p

Snapshot for aggregated reading; content from the public web, © the original publishers.

AI NewsCove

Opening article…