Abstract
Human visual attention plays an important role in how people perceive and respond to environments containing potential risks. It is unclear whether vision–language models (VLMs) can predict where people look in such scenes. This exploratory study compares human gaze with VLM saliency predictions in safety-relevant scenes. Ten participants freely viewed 33 scene images while their gaze was recorded with eye-tracking glasses. Four VLMs (GPT-4o, Gemini 2.5 Pro, Gemini 2.5 Flash and Claude Sonnet 4) were prompted to predict gaze points for the same images, and the resulting maps were compared with the human gaze maps using standard saliency metrics. All four models showed positive spatial agreement with human gaze on the standard metrics (mean Pearson correlation for GPT-4o), but a simple centre baseline scored higher. After correcting for centre bias, three of the four models remained above chance. The results for GPT-4o were stable across repeated runs and did not depend on the instructions in the prompt. Overall, current VLMs can partly predict where people look in safety-relevant scenes from a prompt alone, without any eye-tracking training data, but their predictions remain limited.
1. Introduction
Safety-aware artificial intelligence (AI) systems are increasingly being developed for applications in autonomous driving, robotics, and public space monitoring. A critical requirement for such systems is the ability to identify the same regions of a scene that humans perceive as potentially risky. Understanding whether AI models can replicate human spatial attention in safety-relevant scenes therefore has both theoretical and practical significance. Eye-tracking technology provides a direct measure of visual attention, revealing how people distribute their gaze when viewing scenes that contain potential risks [1,2,3].
A central insight from psychological research is that human attention is not neutral: people are disproportionately sensitive to negative or threatening stimuli, a phenomenon broadly known as negativity bias [4,5,6]. This means that when viewing a scene, humans tend to fixate more on elements that represent potential danger. Öhman demonstrated this concretely, showing that threat-relevant targets were detected faster and more efficiently than neutral ones, suggesting that risk-related processing operates in a near-automatic, pre-attentive manner [7]. These findings suggest that people may look more at risk-related regions of a scene. However, free-viewing gaze also depends on visual salience, scene content and centre bias.
This raises a corresponding question about AI: can a large vision–language model (VLM), prompted to predict where people look in a safety-relevant scene, produce spatial predictions that align with where humans actually look? Recent advances in multimodal models such as GPT-4o have made it possible to obtain structured, spatially grounded saliency predictions from scene images without requiring human participants [8]. A closely related study by Driessen et al. tested GPT-4V on traffic images and found that its scene-level risk scores correlated strongly with human judgements [9]. However, that work evaluated only overall risk scores, not spatially resolved heatmaps, and did not compare AI outputs directly against human gaze distributions.
Existing eye-tracking research on safety perception has focused primarily on single-environment contexts such as construction sites [10,11] or road driving [1,12,13], and cross-environment datasets spanning diverse everyday scene types remain limited. The present study therefore constructs a dedicated eye-tracking dataset covering a range of everyday scene types with stimuli varying in the level of potential risk. This dataset provides the population-averaged human gaze heatmaps that serve as the human reference for evaluating AI spatial predictions.
This work is new in three ways. First, earlier comparisons between VLMs and human judgements of safety-relevant scenes used one risk score per scene [9]. We compare the two at the spatial level, using maps of where people look. Second, the model maps come from prompting alone. The VLM returns gaze points, which are rendered into a saliency map. No training or fine-tuning on eye-tracking data is used. Third, we test four VLMs with the same pipeline. We also report inter-participant consistency, a centre-bias baseline and sensitivity analyses, so that the level of agreement can be judged with care.
The study pursues two objectives. The first is to construct a curated eye-tracking dataset spanning various everyday scene categories using the Pupil Invisible wearable glasses, covering 33 stimulus images with varying levels of potential risk, and to generate population-averaged gaze-sample density maps for every stimulus. The second is to develop an automated Python (version 3.13.9) pipeline to generate spatially grounded saliency maps for each stimulus using GPT-4o through the OpenAI Vision API, without any training on eye-tracking data, and to evaluate their spatial alignment with the population-averaged human gaze heatmaps using Pearson correlation, Normalised Scanpath Saliency (NSS), Kullback–Leibler (KL) divergence, and AUC-Judd (area under the receiver operating characteristic curve).
2. Background
2.1. Visual Attention and Perception of Potential Risks
Eye-tracking technology provides a direct measure of visual attention by recording gaze coordinates over time. Fixation duration and spatial distribution reflect cognitive engagement with a scene, indicating where and how long visual attention is directed [1,2]. These gaze patterns are not uniformly distributed: a key insight from psychological research is that human attention is disproportionately sensitive to negative or threatening stimuli, a phenomenon known as negativity bias [4,5].
Öhman demonstrated this concretely in a visual search paradigm, showing that threat-relevant targets were detected faster and more efficiently than neutral ones, suggesting that risk-related processing operates in a near-automatic, pre-attentive manner [7,14]. Consistent with this, eye-tracking studies have shown that the presence of potential risks in a scene concentrates gaze on threatening regions, and that information about potential risks can be detected even through peripheral vision without direct foveal fixation [15,16]. These findings suggest that gaze in safety-relevant scenes may concentrate on regions that contain potential risks. Human gaze maps are therefore a useful reference for evaluating AI spatial predictions.
2.2. Eye-Tracking Datasets for Safety Perception
Several eye-tracking datasets have been developed to study visual attention in safety-relevant contexts. In construction safety research, datasets have been collected using both fixed and mobile eye trackers to record workers’ gaze behaviour in real and simulated site environments [10,11,17,18]. In driving research, datasets such as DR(eye)VE provide large-scale gaze recordings from drivers in urban traffic scenarios [12].
More recently, Kang et al. collected eye-tracking data from participants viewing outdoor urban street view images and produced population-level gaze heatmaps that were compared against attention maps generated by an explainable AI model [19]. Their work demonstrated that AI-derived attention maps can partially capture where humans look in urban scenes. Related work has similarly used eye-tracking on street view images to predict perceived safety and other dimensions of urban perception using machine learning [20,21]. However, that study focused on a single environment type and used explainable AI outputs rather than spatially grounded predictions from a vision–language model. The dataset constructed in the present study spans a range of everyday scene types with systematically varying levels of potential risk, providing a broader empirical basis for cross-environment comparison.
2.3. AI-Based Approaches for Gaze and Risk Prediction
Before the emergence of large VLMs, computational approaches to predicting human gaze relied primarily on bottom-up saliency models based on low-level visual features such as colour contrast, intensity, and spatial frequency. While these models are computationally efficient, they lack semantic understanding and cannot reason about scene-specific risk content [22,23].
Recent advances in large VLMs offer a new approach: models such as GPT-4o demonstrate strong capabilities in visual understanding and spatially grounded reasoning about scene content [8], and can be explicitly prompted to reason about potential risks in a scene. Driessen et al. evaluated GPT-4V on a set of traffic images and reported that the model’s predicted risk scores were significantly correlated with mean human risk ratings [9]. However, that work evaluated only scene-level risk scores and did not compare AI outputs against human gaze distributions at the spatial level. VLM saliency predictions have also been evaluated against eye-tracking data in human–robot interactions, and applied to distracted driving classification and risk assessment [24,25,26,27]. VLMs have also been applied to safety compliance monitoring on construction sites and in other workplaces [28,29,30]. Saliency evaluation metrics such as AUC-Judd, NSS, and Pearson correlation provide a principled basis for this comparison [22,23].
The present study addresses this gap by directly evaluating whether GPT-4o, prompted to predict free-viewing gaze, produces spatial predictions that align with population-averaged human gaze heatmaps across 33 diverse scene images.
3. Materials and Methods
3.1. Experimental Setup
3.1.1. Stimuli
Thirty-three scene images were used as visual stimuli, covering streets, indoor corridors, urban public spaces and green open areas (see examples in Figure 1). Some images contain potential risks such as vehicles, pedestrian crossings or obstacles, while others represent safe and neutral environments. Each image was shown for 10 s, followed by a 2 s blank interval before the next image. All participants viewed the images in the same fixed order.
Figure 1.
Examples of stimulus images from the 33-image set. Each panel (a–d) shows one stimulus image. Source: Freepik (www.freepik.com).
All images were standardised to a resolution of pixels and displayed with consistent brightness. Stimuli were presented on a 24-inch monitor at a fixed viewing distance of 60 to 70 cm. Sessions were conducted in the same indoor room under stable artificial lighting. Display settings, including brightness, contrast, and colour profile, were kept identical throughout the study. Appointments were scheduled at a consistent time of day across participants.
3.1.2. Participants
Ten university students (6 female, 4 male; all approximately 20 years of age) participated in the study. All had normal or corrected-to-normal vision and provided written informed consent prior to participation. Before the experiment, participants were informed that they would view a series of scene images, each displayed for 10 s. To encourage natural viewing behaviour, participants were told that they would later be asked to select the images they liked most and least. This incidental task ensured that attention was not explicitly directed towards risk detection. Participants were free to withdraw at any time without providing a reason. The study was approved by the MACS Ethics Committee at Heriot-Watt University. The experimental setup is shown in Figure 2.
Figure 2.
Experimental setup: scene-camera view from the Pupil Invisible glasses while a participant viewed a stimulus on the monitor.
3.1.3. Apparatus
Eye movements were recorded using Pupil Invisible glasses (Pupil Labs, Berlin, Germany), which capture binocular gaze at approximately 200 Hz alongside a forward-facing scene camera at 30 fps (Figure 3). The glasses do not require calibration and allow participants to view images naturally while providing reliable fixation, saccade, and pupil size measurements [31,32].
Figure 3.
Pupil Invisible hardware structure, including dual infrared eye cameras and a forward-facing scene camera for naturalistic gaze recording.
3.2. Gaze Data Processing
Raw gaze data were exported from the Pupil Cloud platform as CSV files containing timestamped gaze coordinates and worn-state flags. All files were stored on the Heriot-Watt University OneDrive platform.
The processing pipeline consisted of five stages, as illustrated in Figure 4:
Figure 4.
Human-side processing pipeline from exported gaze recordings to population-averaged heatmaps. Colour indicates processing stage: raw data acquisition (teal), spatial transformation (violet), and aggregated output (orange).
- Filtering.
Rows with missing gaze coordinates were dropped. When the exported CSV contained a worn column, only samples with worn were retained. Samples with a non-missing blink identifier were excluded. Timestamps in nanoseconds were converted to seconds and expressed relative to the earliest retained timestamp.
- Temporal Segmentation.
The recording was segmented into 33 consecutive 10 s windows with a 2 s gap between windows. The first window started when the first image appeared in each recording. The timeline is illustrated in Figure 5.
Figure 5.
Stimulus timeline relative to the start of the first image; the 10 s/2 s pattern repeats for all 33 images (first two cycles shown); ISI, inter-stimulus interval.
- Monitor Corner Annotation and Coordinate Mapping.
Because the Pupil Invisible scene camera records the participant’s full field of view, gaze coordinates in the exported CSV are expressed in the scene-camera pixel space and must be mapped onto the stimulus image. For each 10 s window, the temporal midpoint was computed and the corresponding frame retrieved from the scene-camera video using OpenCV (version 4.13.0). The four corners of the visible monitor were marked by hand on this frame. A homography was then estimated from these four points to the corners of the -pixel stimulus. Only gaze samples inside the marked monitor area were used. They were mapped to stimulus coordinates with this homography, which corrects for perspective distortion when the monitor is viewed at an angle. Samples that fell outside the stimulus after mapping were also discarded. The error caused by head movement within a window was estimated by matching other frames of the window to the marked frame. The median error was 17 px, which is small compared with the 60 px smoothing scale.
- Heatmap Generation.
For each time window, remapped gaze coordinates were used to construct a gaze-sample density map. Each gaze point was rendered as a filled circle with radius 7 px on a blank canvas. Gaussian smoothing with px was applied to produce a continuous spatial distribution, and the resulting map was normalised to . This process produced 330 individual gaze heatmaps in total (), examples of which are shown in Figure 6. The ten individual heatmaps for each window were then averaged pixel-wise to produce 33 population-level gaze heatmaps, examples of which are shown in Figure 7.
Figure 6.
Examples of individual human gaze heatmaps generated from gaze samples. Each panel (a–h) shows the heatmap of one participant for one stimulus image.
Figure 7.
Population-averaged gaze heatmaps obtained by pixel-wise averaging across all participants. Each panel (a–d) shows the population-averaged heatmap for one stimulus image.
3.3. Dataset Summary
The dataset spans four everyday environment types with varied levels of potential risk. Key properties are summarised in Table 1.
Table 1.
Summary of the collected eye-tracking dataset.
3.4. AI Saliency Map Generation
3.4.1. Model Selection
GPT-4o was selected as the primary vision–language model because it supports high-resolution image inputs and performs strongly on multimodal reasoning tasks, including scene understanding and structured outputs about visual content [8]. Prior work by Driessen et al. showed that GPT-4V produced risk scores for traffic images that correlated significantly with human judgements [9], supporting the use of this model family for safety-relevant scenes.
3.4.2. Prompt Design
A single prompt was sent with each image to GPT-4o. The model was instructed to act as a visual saliency expert, to predict where human gaze would fall during ten seconds of free viewing, and to return only a JSON object with a list of points. Each element contained normalised coordinates and a saliency weight . The model was asked to provide points spread across salient objects and regions (including people and faces, vehicles, hazards, animals, and text), with a centre bias. Because such instructions could by themselves produce agreement with human gaze, a neutral prompt was also tested (Section 4.7). The verbatim prompt is provided in Appendix A.
3.4.3. Inference Pipeline
The AI saliency map generation pipeline is shown in Figure 8.
Figure 8.
AI saliency map generation pipeline. GPT-4o returns structured JSON gaze points; the pipeline rasterises weighted disks, applies Gaussian smoothing ( px), and normalises to produce maps comparable with human gaze heatmaps. Colour indicates pipeline stage: image preparation (blue), model inference (amber), and spatial rendering (orange).
Each stimulus image was Base64-encoded and sent through the OpenAI Vision API. The user message content listed an image_url entry (detail: high) followed by the text prompt. Requests used gpt-4o (snapshot gpt-4o-2024-08-06) and were issued sequentially with short delays to respect rate limits. Raw model outputs were stored for reproducibility so that heatmaps could be regenerated after rendering changes without new API calls. The same procedure was used for Gemini 2.5 Pro (gemini-2.5-pro), Gemini 2.5 Flash (gemini-2.5-flash) and Claude Sonnet 4 (claude-sonnet-4-20250514), referred to below as Gemini Pro, Gemini Flash and Claude. GPT-4o was called in March and April 2026, and the other three models in April 2026. Temperature and top-p were left at the API defaults for all models (default temperature 1.0). The maximum output length was set to 800 tokens for GPT-4o and Claude; the Gemini models used the API default.
For GPT-4o, each image was also sent three more times with the same prompt (Section 4.6) and four times with a neutral prompt (Section 4.7). These runs were carried out in October 2026 with the same snapshot.
3.4.4. JSON Parsing and Spatial Rendering
Response text was stripped of any Markdown code fences and parsed as JSON. Each was mapped from normalised coordinates to pixel indices on a canvas. For each point, a filled disk of radius px was drawn with intensity w using OpenCV (version 4.13.0; cv2.circle), giving a sparse map.
3.4.5. Smoothing and Normalisation
Gaussian smoothing with px was applied to the rasterised map using scipy.ndimage.gaussian_filter (SciPy version 1.17.0). An isotropic Gaussian kernel satisfies:
which is equivalent to applying a separable one-dimensional Gaussian with standard deviation along rows and columns. The same rendering parameters (disk radius 7 px, Gaussian px) were used for the human and AI maps. The effect of the smoothing scale is examined in Section 4.5.
3.5. Evaluation Metrics
Four complementary saliency metrics were used to evaluate spatial alignment between AI and human heatmaps [22,23].
3.5.1. Pearson Correlation
Pearson correlation r measures the linear pixel-wise correlation between the AI heatmap and the human gaze heatmap after mean-centering both maps:
where and denote the pixel values of the AI and human heatmaps, respectively. Values range from to 1, where 1 indicates perfect positive linear correspondence.
3.5.2. Normalised Scanpath Saliency
NSS evaluates the AI heatmap specifically at pixel locations where human gaze was concentrated. The AI map is first normalised to zero mean and unit variance:
where denotes the set of high-gaze-density pixels (normalised human gaze density ), , and , are the mean and standard deviation of the AI map. A positive NSS score indicates that the AI map assigns above-average values at these locations. This is a map-based version of the metric: is defined by applying a threshold to the smoothed human map. Implementations of NSS and AUC that turn the human map into a binary map with a threshold have been described before, although the versions based on discrete fixation locations are more common [23]. We used the map-based version because the human data in this study are gaze-sample density maps. Inter-participant consistency for the present dataset is reported in Section 4.4.
3.5.3. Kullback–Leibler Divergence
KL divergence measures the distributional difference between the two heatmaps, treating each as a probability distribution over image pixels:
where and are normalised pixel values of the human gaze map and the AI heatmap, respectively. A small epsilon of was added to all pixel values to prevent division by zero. Both maps were normalised so that their values sum to one. Lower values indicate greater spatial agreement. KL divergence is asymmetric and is particularly sensitive to cases where the AI map assigns very low probability to regions that receive high human attention.
3.5.4. AUC-Judd
AUC-Judd treats the comparison as a binary classification problem. The human gaze map was thresholded at 0.1 to produce a binary map of high-gaze-density pixels, which were treated as positives. The AI heatmap was used as a continuous ranking score. The area under the receiver operating characteristic (ROC) curve was computed over all pixels from their ranks, with tied values given their average rank. A value of 1.0 indicates perfect discrimination of high-gaze-density pixels from the remaining pixels, while 0.5 corresponds to chance. As with NSS, this differs from the standard AUC-Judd, where the positives are discrete fixation locations [23]. The values reported here are a map-based version.
3.6. Additional Analyses
Inter-participant consistencywas estimated with a leave-one-participant-out procedure to check whether the population-averaged maps are stable. For each image and each participant, the mean of the other nine individual maps was compared with the map of the held-out participant. The four metrics were averaged over the ten held-out participants.
The centre baseline was a two-dimensional Gaussian placed at the centre of the image. Its standard deviations were one sixth of the image width and height ( px), and it was normalised to . It does not depend on image content. It was evaluated against the population-averaged human map in the same way as the model maps. Standard deviations of one eighth and one quarter of the image size were used as checks.
A map that favours the centre of the image gets a high score on the metrics above. To remove this effect, we also computed a shuffled AUC [23]. The positives were the same as for AUC-Judd: the high-gaze-density pixels of the image (threshold 0.1). The negatives were high-gaze-density pixels from the other 32 images, chosen at random. The number of negatives was equal to the number of positives. The AUC was computed from ranks, with tied values given their average rank, and was averaged over 100 random draws. A map that only favours the centre, such as a centre Gaussian, should score about 0.5.
Three sensitivity analyses were carried out. (i) The Gaussian applied to both the human and AI maps was set to 30, 45 and 60 px. (ii) The disk radius for the AI points was set to 40 px instead of 7 px. (iii) The threshold that defines high-gaze-density pixels for NSS and AUC-Judd was set to 0.05, 0.1 and 0.2.
To test how stable the model output is, each image was sent to GPT-4o three more times with the same prompt and settings. The four metrics were computed for each run. The Pearson correlation between the saliency maps of the same image from different runs was computed for all six pairs of runs.
To test the effect of the prompt, GPT-4o was also run with a neutral prompt. The content-related instructions were removed. These were the categories to focus on, the centre bias, the highest weight for the primary hazard or face, and the low weight for empty regions. Two further rules were also removed: each point had to lie on a real object or region, and the points were not to be placed all in one spot. The task description, the output format and the number of points were unchanged (Appendix A). Each image was sent four times with the neutral prompt. For every image, the metrics were averaged over the four runs of each prompt.
3.7. Statistical Analysis
Each metric was computed per image, which gives 33 paired values for every model. For each metric, a Friedman test was used to check whether the scores differed between the four models, with Kendall’s W as the effect size. The difference between each pair of models was then tested with a two-sided Wilcoxon signed-rank test, with Holm correction for the six pairs. For each pair we also report the mean difference with a 95% bootstrap confidence interval (percentile method, 10,000 resamples of the 33 images). The effect size is the matched-pairs rank-biserial correlation. The centre baseline was compared with every model using two-sided Wilcoxon signed-rank tests. The two prompts were compared in the same way. Shuffled AUC values were compared with 0.5 using one-sample Wilcoxon signed-rank tests, and each model was compared with the centre baseline with Holm correction. The significance level was 0.05.
4. Results
4.1. Quantitative Performance of GPT-4o
Aggregate saliency metrics across all 33 stimulus images are summarised in Table 2.
Table 2.
Saliency metrics comparing population-averaged human gaze heatmaps with GPT-4o saliency maps ( images). ↑ indicates that higher values are better; ↓ indicates that lower values are better.
GPT-4o saliency maps showed moderate spatial alignment with the population-averaged human gaze heatmaps on the standard metrics. The mean AUC-Judd was , above the chance level of 0.5. The mean NSS was , so the AI maps had above-average values where human gaze was concentrated. The mean Pearson correlation was and varied widely between images (range –). Figure 9 and Figure 10 show GPT-4o saliency maps overlaid on ten representative stimuli.
Figure 9.
GPT-4o saliency heatmaps overlaid on stimuli (images 1–6). Brighter colours indicate higher model saliency (colour scale from blue, low, to red, high).
Figure 10.
GPT-4o saliency heatmaps overlaid on stimuli (images 7–10). Brighter colours indicate higher model saliency (colour scale from blue, low, to red, high).
4.2. Spatial Alignment Across Scene Images
Alignment varied across the stimulus set. Image 14 had the highest Pearson correlation (), NSS () and AUC-Judd (). Image 19 had the lowest KL divergence (). Agreement was weakest for Image 32, with the lowest Pearson correlation (), NSS () and AUC-Judd (). Image 18 had the largest KL divergence (). Figure 11 shows the image with the strongest agreement (Image 14), and Figure 12 the image with the weakest agreement (Image 32).
Figure 11.
Qualitative comparison for Image 14, the image with the strongest agreement (Pearson , NSS , AUC-Judd ): (a) population-averaged human gaze heatmap; (b) GPT-4o saliency map.
Figure 12.
Qualitative comparison for Image 32, the image with the weakest agreement (Pearson , NSS , AUC-Judd ): (a) population-averaged human gaze heatmap; (b) GPT-4o saliency map.
4.3. Results for the Other Vision–Language Models
To check whether the alignment is specific to GPT-4o, the same pipeline was applied to Gemini Pro, Gemini Flash, and Claude with the same stimuli and the same prompt (Appendix A). Results are presented in Table 3.
Table 3.
Saliency metrics for four vision–language models compared against population-averaged human gaze heatmaps ( images; mean SD). ↑ indicates that higher values are better; ↓ indicates that lower values are better.
All four models exceed the AUC-Judd chance baseline of 0.5 and yield positive NSS scores, indicating above-chance spatial agreement with human gaze for each model on this dataset on these standard metrics.
The four models were tested on the same images, so we checked whether their scores differed (Section 3.7). The differences were small: only a few pairs differed after Holm correction, and no model was better than the others on all four metrics (Appendix C).
4.4. Inter-Participant Consistency and Centre Baseline
Inter-participant consistency was checked with the leave-one-participant-out analysis (Section 3.6). The mean of nine participants matched the held-out participant with a mean Pearson correlation of (NSS , KL divergence , AUC-Judd ). The participants therefore looked at similar locations, and the population-averaged maps were stable.
Table 4 compares the models with the centre-Gaussian baseline.
Table 4.
Centre-Gaussian baseline and the four models at the main rendering setting ( images; mean SD). All predictions are evaluated against the population-averaged human map. ↑ indicates that higher values are better; ↓ indicates that lower values are better.
The centre-Gaussian baseline scored higher than every model on all four metrics. Its mean Pearson correlation was , against – for the models (Wilcoxon signed-rank tests, all ). The two other baseline widths gave similar results ( and ). The VLM saliency maps therefore did not predict the human gaze maps better than a central prior that ignores image content.
The metrics in Table 4 give a high score to any map that favours the centre. The shuffled AUC removes this effect (Table 5). On this metric, the centre-Gaussian baseline scored at chance level (; test against 0.5, ). Gemini Pro, Gemini Flash and Claude scored above chance (–; all ) and above the centre baseline (Holm-corrected ). The maps of these three models therefore contain information about where people look in each image. GPT-4o scored . This did not differ significantly from chance () or from the centre baseline ().
Table 5.
Shuffled AUC at the main rendering setting ( images; mean SD). All predictions are evaluated against the population-averaged human map. ↑ indicates that higher values are better.
4.5. Sensitivity Analyses
The results were stable when the disk radius and the threshold were changed. They depended on the smoothing scale for the reason given below.
- Smoothing scale.
Table 6 shows the results when the same Gaussian of 30, 45 or 60 px is applied to the human and AI maps. Agreement between the models and the human maps was lower with narrower kernels. For GPT-4o, the mean Pearson correlation was , and . This follows from the form of the model output. Each model returns a set of gaze points. Under a narrow kernel, these points stay as separate spots and cover only part of the image, while the human map is a continuous distribution. Under a wider kernel, the spots merge into a continuous map that is closer to the human map. The centre baseline is already continuous, so it changed much less (, and ). The reported values depend on the smoothing scale and should not be compared directly with values obtained under other settings.
Table 6.
Sensitivity to the smoothing scale ( images; mean SD). The same Gaussian is applied to the human and AI maps, and all points are drawn as 7 px disks. Predictions are evaluated against the population-averaged human map. px is the setting used for the main results. ↑ indicates that higher values are better; ↓ indicates that lower values are better.
- Disk radius.
At px, drawing the AI points as disks of radius 40 px instead of 7 px changed the mean Pearson correlation by no more than for any model.
- Threshold.
Table 7 shows NSS and AUC-Judd for thresholds of 0.05, 0.1 and 0.2. The mean AUC-Judd of each model changed by at most . NSS increased with the threshold (for GPT-4o, , and ), so NSS values depend on the threshold used.
Table 7.
Sensitivity of NSS and AUC-Judd to the threshold that defines high-gaze-density pixels ( images; mean SD; main rendering setting). ↑ indicates that higher values are better.
4.6. Repeated Runs of GPT-4o
Table 8 shows the four metrics for the original run and the three additional runs of GPT-4o. The mean values were stable across runs: the mean Pearson correlation ranged from to . The individual maps varied more. The Pearson correlation between the maps of the same image from two different runs was . So the model does not return the same points on each call, but its average agreement with human gaze is similar from run to run.
Table 8.
Repeated runs of GPT-4o: mean of each metric over the 33 images for the original run (Run 1) and three additional runs with the same prompt and settings. ↑ indicates that higher values are better; ↓ indicates that lower values are better.
4.7. Effect of the Prompt
Table 9 compares the original prompt with the neutral prompt for GPT-4o. The neutral prompt did not reduce agreement with human gaze. The mean Pearson correlation was with the neutral prompt and with the original prompt. The differences between the two prompts were small. None of the four metrics differed significantly (all ).
Table 9.
Comparison of the original and the neutral prompt for GPT-4o. Values are the mean over 33 images, averaged over four runs, ± the standard deviation across the four runs. ↑ indicates that higher values are better; ↓ indicates that lower values are better.
The agreement obtained with the original prompt therefore does not come from the priority categories or the centre-bias instruction.
5. Discussion
On the standard metrics, the saliency maps of all four VLMs showed positive spatial agreement with free-viewing human gaze, so the finding is not tied to one model. The differences between the models were small. For GPT-4o, the result was stable across repeated runs. It also did not depend on the instructions in the prompt: a neutral prompt gave similar agreement.
The agreement was limited, however. On all four standard metrics, a centre-Gaussian baseline scored higher than every model. One reason is that human gaze in the present data was concentrated around the centre of the images. This centre bias is well known in eye-tracking data [23], and it makes a central prior a strong baseline. The standard metrics give a high score to any map that favours the centre. The shuffled AUC removes this advantage, so a map that only favours the centre scores at chance level. On this metric, three of the four models (Gemini Pro, Gemini Flash and Claude) scored above chance and above the centre baseline. These models therefore do more than favour the centre. They also pick out regions that people look at in each specific image. GPT-4o did not differ significantly from chance or from the centre baseline on this metric, so its agreement on the standard metrics may mainly reflect centre bias.
Several limitations should be acknowledged. The sample was small, all ten participants were university students, and there were only 33 images. The findings are therefore exploratory and should not be extended to other populations, environments or models. The participants were of similar age and background, so the averaged maps may not represent how other groups look at these scenes. The 33 images also cover a limited range of scenes, and the results may differ for other environments. All participants viewed the images in the same order, so order and fatigue effects cannot be ruled out. Gaze was mapped to the stimulus using one frame per 10 s window, so head movement within a window is not corrected; the estimated error is given in Section 3.2. Repeated runs were carried out only for GPT-4o. The output variability of Gemini Pro, Gemini Flash and Claude was not measured, so the differences between the models should be interpreted with caution. The models were also compared with a centre baseline only. The study therefore does not show whether VLM predictions are better than classical saliency models based on image content.
6. Conclusions
This exploratory study tested whether large vision–language models can predict where people look when freely viewing safety-relevant scenes. An eye-tracking dataset was constructed from ten participants viewing 33 diverse everyday scene images, yielding 330 individual gaze heatmaps and 33 population-averaged reference maps. GPT-4o was prompted through the OpenAI Vision API to generate saliency heatmaps for the same stimuli, and spatial correspondence was quantified using four complementary saliency metrics.
On the standard metrics, all four models showed positive spatial agreement with human gaze, without any eye-tracking training data. For GPT-4o, the mean Pearson correlation was and the mean AUC-Judd was . The result was stable across repeated runs and did not depend on the instructions in the prompt. However, a centre-Gaussian baseline scored higher than all four models on these metrics. On the shuffled AUC, which removes the effect of centre bias, Gemini Pro, Gemini Flash and Claude scored above chance and above the centre baseline, while GPT-4o did not differ significantly from chance. The maps of these three models therefore contain information about where people look in each image. These results concern where people look. They do not show whether the models can identify actual hazards in a scene.
Future work could address the identified limitations by recruiting a larger and more diverse participant sample, collecting safety ratings and expert hazard annotations to relate gaze to perceived risk, and evaluating against detected fixations. Other prompts and denser output formats should also be tested. Whether such predictions could support applications such as hazard-aware robot perception remains an open question.
Author Contributions
S.W. conducted the research, including data collection, analysis, and writing of the original draft; M.V. and A.M. provided methodological guidance, supervision, resources, and reviewed and edited the manuscript. All authors have read and agreed to the published version of the manuscript.
Funding
This research received no external funding.
Institutional Review Board Statement
The study was approved by the MACS Ethics Committee at Heriot-Watt University.
Informed Consent Statement
Informed consent was obtained from all subjects involved in the study.
Data Availability Statement
The eye-tracking data cannot be shared publicly because the ethics approval and the participant consent form did not cover public release. The processed gaze dataset and Python analysis pipeline are available upon reasonable request to the corresponding author.
Acknowledgments
The authors thank all participants who volunteered their time for this study.
Conflicts of Interest
The authors declare no conflicts of interest.
Abbreviations
The following abbreviations are used in this manuscript:
| AI | Artificial Intelligence |
| AUC | Area Under the Receiver Operating Characteristic Curve |
| ISI | Inter-Stimulus Interval |
| JSON | JavaScript Object Notation |
| KL | Kullback–Leibler |
| NSS | Normalised Scanpath Saliency |
| ROC | Receiver Operating Characteristic |
| VLM | Vision–Language Model |
Appendix A. Prompt Sent to the Vision–Language Models (Verbatim)
The following prompt was sent with each image to GPT-4o:
- You are a visual-saliency expert. Carefully examine this scene image.
- Predict exactly where human eyes would fixate during 10 seconds of free viewing.
- Focus on: people/faces, vehicles, hazards, animals, text/signs, high-contrast edges.
- Apply centre bias (central parts of the image get more fixations by default).
- Return ONLY a JSON object with no explanation, no markdown fences:
- {"fixations": [
- {"x": 0.52, "y": 0.38, "w": 1.0},
- {"x": 0.28, "y": 0.55, "w": 0.7}
- ]}
- Rules:
- - x: horizontal position 0.0 (left) to 1.0 (right)
- - y: vertical position 0.0 (top) to 1.0 (bottom)
- - w: weight 0.1-1.0 (1.0 = most salient; primary hazard/face must be 1.0)
- - Provide 10 to 18 fixation points
- - Each point must correspond to a real, identifiable object or region
- - Spread points realistically (not all clustered in one spot)
- - Points on sky, blank walls, or~empty pavement should have w <= 0.2
- - ONLY the JSON object, nothing else
The neutral prompt used for the comparison in Section 4.7 was as follows:
- You are a visual-saliency expert. Carefully examine this scene image.
- Predict exactly where human eyes would fixate during 10 seconds of free viewing.
- Return ONLY a JSON object with no explanation, no markdown fences:
- {"fixations": [
- {"x": 0.52, "y": 0.38, "w": 1.0},
- {"x": 0.28, "y": 0.55, "w": 0.7}
- ]}
- Rules:
- - x: horizontal position 0.0 (left) to 1.0 (right)
- - y: vertical position 0.0 (top) to 1.0 (bottom)
- - w: weight 0.1-1.0 (1.0 = most salient)
- - Provide 10 to 18 fixation points
- - ONLY the JSON object, nothing else
Appendix B. Full Gaze CSV Column Reference
The exported gaze CSV contains the following columns (Table A1).
Table A1.
Complete column listing of the exported gaze CSV.
Appendix C. Differences Between Pairs of Models
The Friedman test was significant for NSS (, ) and KL divergence (, ). It was close to the 0.05 level for Pearson correlation (, ) and not significant for AUC-Judd (, ). Effect sizes were small (Kendall’s ). Table A2 gives the difference for each pair of models at the main rendering setting.
Table A2.
Differences between pairs of models ( images). Mean difference is the first model minus the second; 95% CI is a percentile bootstrap interval; p is the Holm-corrected two-sided Wilcoxon signed-rank p-value; is the matched-pairs rank-biserial correlation.
References
- Yang, J.S.; Liu, C.X.; Chu, P.Z.; Wen, X.Q.; Zhang, Y.Y. Exploration of the Relationships between Hazard Perception and Eye Movement for Young Drivers. J. Adv. Transp. 2021, 2021, 6642999. [Google Scholar] [CrossRef] [Scilit]
- Luo, Y.; Seo, J.; Hasanzadeh, S. Understanding hazard recognition behavior using eye-tracking metrics in a VR-simulated environment. KSCE J. Civ. Eng. 2025, 29, 100173. [Google Scholar] [CrossRef] [Scilit]
- Song, J.; Zivli, I.; Wolfe, B. Eye movements reveal that drivers can predict the location of hazards in dynamic road scenes but gaze and awareness are dissociable. J. Exp. Psychol. Hum. Percept. Perform. 2026, 52, 1014–1029. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Baumeister, R.F.; Bratslavsky, E.; Finkenauer, C.; Vohs, K.D. Bad is stronger than good. Rev. Gen. Psychol. 2001, 5, 323–370. [Google Scholar] [CrossRef] [Scilit]
- Rozin, P.; Royzman, E.B. Negativity bias, negativity dominance, and contagion. Pers. Soc. Psychol. Rev. 2001, 5, 296–320. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Fischer, A.; Postin, D.; Meiners, L.J.; Kulke, L.; Vrtička, P.; Schacht, A. Challenging the negativity bias in affective scene viewing: The role of social content. Soc. Cogn. Affect. Neurosci. 2025, 20, nsaf108. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Öhman, A.; Flykt, A.; Esteves, F. Emotion drives attention: Detecting the snake in the grass. J. Exp. Psychol. Gen. 2001, 130, 466–478. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- OpenAI. Hello GPT-4o. 2024. Available online: https://openai.com/index/hello-gpt-4o/ (accessed on 17 September 2026).
- Driessen, T.; Dodou, D.; Bazilinskyy, P.; de Winter, J. Putting ChatGPT vision (GPT-4V) to the test: Risk perception in traffic images. R. Soc. Open Sci. 2024, 11, 231676. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Cheng, B.; Luo, X.; Mei, X.; Chen, H.; Huang, J. A Systematic Review of Eye-Tracking Studies of Construction Safety. Front. Neurosci. 2022, 16, 891725. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Fu, H.; Xia, Z.; Tan, Y.; Guo, X. Influence of Cues on the Safety Hazard Recognition of Construction Workers during Safety Training: Evidence from an Eye-Tracking Experiment. J. Civ. Eng. Educ. 2023, 150, 04023009. [Google Scholar] [CrossRef] [Scilit]
- Palazzi, A.; Abati, D.; Calderara, S.; Solera, F.; Cucchiara, R. Predicting the Driver’s Focus of Attention: The DR(eye)VE Project. IEEE Trans. Pattern Anal. Mach. Intell. 2019, 41, 1720–1733. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Ding, W.; Murzello, Y.; Cao, S.; Samuel, S. Where to gaze during take-over: Eye gaze strategy analysis of different situation awareness and hazard perception levels. Proc. Hum. Factors Ergon. Soc. Annu. Meet. 2023, 67, 2042–2047. [Google Scholar] [CrossRef] [Scilit]
- Pakai-Stecina, D.T.; Kiss, B.L.; Basler, J.; Zsido, A.N. Visual features drive attentional bias for threat. Vis. Cogn. 2024, 31, 599–616. [Google Scholar] [CrossRef] [Scilit]
- Huestegge, L.; Böckler, A. Out of the corner of the driver’s eye: Peripheral processing of hazards in static traffic scenes. J. Vis. 2016, 16, 11. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Vater, C.; Wolfe, B.; Rosenholtz, R. Peripheral vision in real-world tasks: A systematic review. Psychon. Bull. Rev. 2022, 29, 1531–1557. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Hasanzadeh, S.; Esmaeili, B.; Dodd, M.D. Examining the Relationship between Construction Workers’ Visual Attention and Situation Awareness under Fall and Tripping Hazard Conditions: Using Mobile Eye Tracking. J. Constr. Eng. Manag. 2018, 144, 04018060. [Google Scholar] [CrossRef] [Scilit]
- Liao, L.; Gan, C.; Yang, J.; Liang, Y. Impacts of Safety Capacity and Personalized Safety Training on Construction Workers’ Hazard Recognition Using Eye-Tracking Technology. J. Constr. Eng. Manag. 2025, 151, 04025050. [Google Scholar] [CrossRef] [Scilit]
- Kang, Y.; Chen, J.; Liu, L.; Sharma, K.; Mazzarello, M.; Mora, S.; Duarte, F.; Ratti, C. Decoding human safety perception with eye-tracking systems, street view images, and explainable AI. Comput. Environ. Urban Syst. 2026, 123, 102356. [Google Scholar] [CrossRef] [Scilit]
- Yang, N.; Deng, Z.; Hu, F.; Guan, Q.; Chao, Y.; Wan, L. Urban perception assessment from street view images based on a multifeature integration encompassing human visual attention. Ann. Am. Assoc. Geogr. 2024, 114, 1424–1442. [Google Scholar] [CrossRef] [Scilit]
- Yang, N.; Deng, Z.; Hu, F.; Chao, Y.; Wan, L.; Guan, Q.; Wei, Z. Urban perception by using eye movement data on street view images. Trans. GIS 2024, 28, 1021–1042. [Google Scholar] [CrossRef] [Scilit]
- Kümmerer, M.; Wallis, T.S.; Bethge, M. Saliency benchmarking made easy: Separating models, maps and metrics. In Proceedings of the ECCV, Munich, Germany, 8–14 September 2018; pp. 798–814. [Google Scholar]
- Bylinskii, Z.; Judd, T.; Oliva, A.; Torralba, A.; Durand, F. What do different evaluation metrics tell us about saliency models? IEEE Trans. Pattern Anal. Mach. Intell. 2019, 41, 740–757. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Ghamati, K.; Banitalebi Dehkordi, M.; Zaraki, A. Which AI Sees Like Us? Investigating the Cognitive Plausibility of Language and Vision Models via Eye-Tracking in Human-Robot Interaction. Sensors 2025, 25, 4687. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Zhang, K.; Wang, S.; Jia, N.; Zhao, L.; Han, C.; Li, L. Integrating visual large language model and reasoning chain for driver behavior analysis and risk assessment. Accid. Anal. Prev. 2024, 198, 107497. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Zhang, R.; Wang, B.; Zhang, J.; Bian, Z.; Feng, C.; Ozbay, K. When language and vision meet road safety: Leveraging multimodal large language models for video-based traffic accident analysis. Accid. Anal. Prev. 2025, 219, 108077. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Ham, J.; Huang, J.; Jiang, P.; Moon, J.; Kwon, Y.; Saripalli, S.; Kim, C. Multimodal understanding with GPT-4o to enhance generalizable pedestrian behavior prediction. Comput. Electr. Eng. 2026, 129, 110741. [Google Scholar] [CrossRef] [Scilit]
- Chan, C.F.; Wong, P.K.Y.; Guo, X.; Cheng, J.C.P.; Chan, J.P.C.; Leung, P.H.; Tao, X. Context-aware vision-language model agent enriched with domain-specific ontology for construction site safety monitoring. Autom. Constr. 2025, 177, 106305. [Google Scholar] [CrossRef] [Scilit]
- Chen, Z.; Chen, H.; Imani, M.; Chen, R.; Imani, F. Vision language model for interpretable and fine-grained detection of safety compliance in diverse workplaces. Expert Syst. Appl. 2025, 265, 125769. [Google Scholar] [CrossRef] [Scilit]
- Abidi, S.M.H.; Raza, S.M.; Shin, S.Y. SafeVision: Vision–language reasoning for context-aware safety monitoring. Neurocomputing 2026, 669, 132479. [Google Scholar] [CrossRef] [Scilit]
- Pupil Labs. Invisible–Technical Overview. 2025. Available online: https://docs.pupil-labs.com/invisible/hardware/technical-overview/ (accessed on 17 November 2025).
- Tonsen, M.; Baumann, C.K.; Dierkes, K. A High-Level Description and Performance Evaluation of Pupil Invisible. arXiv 2020, arXiv:2009.00508. [Google Scholar]
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.













