TL;DR
Researchers have developed a "turnkey" method using Variational Hidden Markov Models (HMMs) to model and classify scanpaths—the sequences of eye movements we make when looking at the world. By treating gaze as a dynamic process of transitioning between regions of interest, the team successfully predicted an observer's task and the presence of a soundtrack in videos, outperforming traditional static gaze metrics.
What Problem Does This Paper Address?
Since the 1960s, researchers have known that how we look at something depends on what we are trying to do (the "Yarbus" effect). However, computationally predicting a person's task or state of mind from their eye movements has proven notoriously difficult.
Most existing methods fall into several camps: they look at "static" averages (fixation duration), "spatial" distributions (heatmaps), or "geometric" comparisons of scanpaths.
The former ignores the sequence of movements, while the latter often ignores timing or requires manual definition of "Regions of Interest" (ROIs). This paper introduces a data-driven, automated approach using probabilistic modeling to capture the spatio-temporal "fingerprint" of gaze behavior.
Methods
The authors utilize Variational Hidden Markov Models (HMMs) combined with Discriminant Analysis (DA).
- HMM Modeling: They treat the "hidden states" of the HMM as the Regions of Interest (ROIs) in an image or video. The "emissions" (the observable data) are the 2D coordinates of eye fixations, modeled as Gaussian distributions. The "transitions" represent saccades—the rapid eye movements between these ROIs.
- Variational Approach: A major innovation here is the use of a variational Bayesian approach to automatically determine the number of states ($K$). This prevents overfitting and allows the model to adapt to the complexity of the gaze data without human intervention.
- Feature Extraction: The parameters of the trained HMMs (priors, transition matrices, and emission means/covariances) are concatenated into a high-dimensional feature vector.
- Classification: They use Linear Discriminant Analysis (LDA) to find the most diagnostic patterns in these feature vectors to classify the observer's task or the stimulus properties.
The authors also released SMAC with HMM, a Matlab toolbox that implements this entire pipeline.
Datasets
The approach was validated on two distinct datasets:
- Koehler’s Dataset: Contains fixations from 158 participants viewing 800 static natural scene images. Participants performed one of three tasks: free viewing, searching for a salient object, or a cued object search.
- Coutrot’s Dataset: Features eye positions from 18 participants watching 15 conversational videos. The data was split into two conditions: watching with the original soundtrack versus watching with a meaningless, "natural" sound (like wind or rain).
Key Insights and Ideas
- Gaze is a Sequence, Not a Map: The HMM approach succeeds because it captures the order of fixations.
For example, in search tasks, observers often exhibit a "center bias" early in the exploration, which the HMM identifies as a specific state with high transition probabilities from other regions.
- Sound Anchors the Eyes: One of the most interesting findings was that the presence of an original soundtrack significantly reduced the "spread" (covariance) of the HMM states. Essentially, hearing the conversation makes people's gaze more focused and consistent; without the audio, gaze becomes more erratic and exploratory.
- Complexity Matters: The model's ability to classify tasks improved when the images had more "salient blobs" (distinct regions of interest). If an image is too simple, everyone looks at it the same way, making it impossible to distinguish between different tasks.
Key Results
- Task Inference: On the static image dataset, the model achieved a 55.9% correct classification rate across three tasks (chance = 33.3%).
- Soundtrack Inference: The model was remarkably good at predicting if a video had its original audio, achieving an 81.2% accuracy rate (chance = 50%).
- Spatio-Temporal Superiority: In head-to-head comparisons, the HMM "spatio-temporal" features consistently outperformed models that used only spatial or only temporal information.
Limitations and Future Work
The authors acknowledge a few key hurdles:
- Stimulus Dependency: The model relies on the existence of stable ROIs. It struggles with "uninformative" stimuli where gaze patterns become random.
- Dynamic ROIs: While the model worked for videos, it assumed the ROIs (the speakers' faces) stayed relatively in the same place. Modeling gaze on highly dynamic scenes where objects move rapidly across the screen remains a challenge.
- Aggregation: It is difficult to aggregate HMMs across different images unless they share a common layout. Future work could involve using computer vision to track and "align" ROIs across different scenes.
Summary updated