Unveiling the Truth: Exploring Human Gaze Patterns in Fake Images

Giuseppe Cartella, Vittorio Cuculo, Marcella Cornia, Rita Cucchiara · DOI

Abstract

As generative AI models achieve unprecedented levels of realism, traditional detection methods focusing on low-level pixel artifacts face diminishing returns. This research explores an alternative approach: leveraging human semantic intuition. By analyzing eye-tracking data, the study reveals that humans process manipulated images differently than real ones, exhibiting a "confined" gaze on suspicious regions. These findings suggest that saliency entropy can serve as a robust metric for identifying sophisticated deepfakes that might otherwise bypass automated pixel-based detectors.

Introduction

The rapid advancement of diffusion models, such as Stable Diffusion, has made the creation of hyper-realistic fake images more accessible than ever. Current detection strategies often rely on "digital fingerprints"—technical artifacts specific to certain AI architectures. However, this creates a cat-and-mouse game: as generative models evolve, these fingerprints become increasingly subtle and eventually disappear. Furthermore, partial manipulations (inpainting) present a significant challenge to automated systems. This paper argues that human perception, shaped by evolutionary and lifelong semantic knowledge, can detect "uncanny" inconsistencies that escape pixel-based algorithms.

Methodology

To investigate human visual behavior, researchers conducted a multi-stage experiment involving 100 real images sourced from the COCO, ADE20K, and LHQ (Landscapes High-Quality) datasets. For each real image, three types of manipulations were generated using state-of-the-art diffusion models:

  1. Semantic-Agnostic (SA): Randomly masking and inpainting half of the image.
  2. Semantic-Aware (SW): Identifying a specific object and replacing it with a different version of the same category.
  3. Instruction-Guided (IG): Applying text-based edits (e.g., "replace cake with a similar one") via the InstructPix2Pix model.

Twenty participants viewed a randomized sequence of real and fake images for five seconds each while their eye movements were recorded. Participants subsequently rated the realism of each image on a 5-point Likert scale.

Overview of image manipulation types (a), human realism ratings (b), and saliency entropy density (c).

Results and Analysis

The "Confined" Gaze Phenomenon

The study's primary finding is a distinct difference in gaze distribution. When viewing real images, participants exhibited an exploratory pattern, scanning the entire scene to gather context. In contrast, gaze patterns on fake images were "captured" by manipulated areas. This behavior was quantified using Saliency Entropy, a measure of gaze dispersion. Real images consistently demonstrated higher entropy (more dispersed viewing) compared to edited images, where viewers fixated on specific "hot spots" to make sense of unfamiliar or inconsistent content.

Qualitative comparison of saliency maps for real and edited images, illustrating the "confined" gaze pattern on manipulations.

Statistical Significance and Human Accuracy

Statistical analyses, including the Kolmogorov-Smirnov (K-S) and Mann-Whitney U tests, confirmed a clear distinction (p < 0.001 in most cases) between gaze patterns on real versus manipulated images across all categories.

Human detection accuracy varied significantly by edit type. Instruction-Guided (IG) edits were the most easily identified due to frequent visual artifacts. Conversely, Semantic-Aware (SW) edits proved highly deceptive; because objects were replaced within their proper semantic context, they were often rated as real by participants. This highlights the increasing difficulty of the detection task and the value of gaze entropy as a more reliable indicator than conscious rating alone.

Conclusion

This research demonstrates that human visual attention is a powerful signal for deepfake detection. While humans can be tricked by contextually consistent "Semantic-Aware" fakes, their underlying gaze patterns often betray a subconscious detection of manipulation. The authors have publicly released their dataset of partially manipulated images and human gaze data to encourage further research. Future work should focus on "Human-in-the-loop" systems that integrate human gaze features into automated AI detection pipelines to improve accuracy and generalizability across different generative models.

Summary updated

Abstract

Creating high-quality and realistic images is now possible thanks to the impressive advancements in image generation. A description in natural language of your desired output is all you need to obtain breathtaking results. However, as the use of generative models grows, so do concerns about the propagation of malicious content and misinformation. Consequently, the research community is actively working on the development of novel fake detection techniques, primarily focusing on low-level features and possible fingerprints left by generative models during the image generation process. In a different vein, in our work, we leverage human semantic knowledge to investigate the possibility of being included in frameworks of fake image detection. To achieve this, we collect a novel dataset of partially manipulated images using diffusion models and conduct an eye-tracking experiment to record the eye movements of different observers while viewing real and fake stimuli. A preliminary statistical analysis is conducted to explore the distinctive patterns in how humans perceive genuine and altered images. Statistical findings reveal that, when perceiving counterfeit samples, humans tend to focus on more confined regions of the image, in contrast to the more dispersed observational pattern observed when viewing genuine images.
BibTeX
@article{cartella2024unveiling,
  author = {Giuseppe Cartella and Vittorio Cuculo and Marcella Cornia and Rita Cucchiara},
  title = {{Unveiling the Truth: Exploring Human Gaze Patterns in Fake Images}},
  journal = {IEEE Signal Processing Letters},
  year = {2024},
  doi = {10.1109/lsp.2024.3375288},
}
Figure