NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Behind the Machine's Gaze: Biologically Constrained Neural Networks Exhibit Human-like Visual Attention

Leo Schwinn, Doina Precup, Björn M. Eskofier, Dario Zanca · DOI

Introduction

Standard computer vision models typically operate under the assumption of "perfect vision," where high-resolution information is available across the entire input field simultaneously. In contrast, biological vision is constrained by the fovea—a small central region of the retina capable of high-acuity vision—and a blurry periphery. To perceive a scene, humans must execute a sequence of fixations known as a scanpath. While many attention models focus on "bottom-up" saliency (driven by image features like contrast), they often neglect the "top-down" guidance provided by specific tasks or goals.

This research introduces Neural Visual Attention (NeVA), a framework that bridges this gap by imposing biological constraints on neural networks. By training a model to perform high-level tasks using only foveated glimpses, the researchers demonstrate that human-like attention patterns emerge naturally as an optimal strategy for information gathering under constraint.

Methodology

The NeVA framework is designed as an end-to-end differentiable system that mimics the human visual pipeline. It consists of three primary modules:

  1. Foveation Mechanism: A differentiable layer that simulates the human eye by maintaining high resolution at a specific fixation point while progressively blurring the surrounding peripheral areas.
  2. Internal State and Memory: As the agent moves its gaze, it aggregates sequential foveated glimpses into an internal representation ($h_t$). A "forgetting" hyperparameter ($\gamma$) regulates the balance between historical information and new visual input.
  3. Task-Driven Attention: Unlike models that seek visual "novelty," NeVA's attention mechanism is trained to minimize the loss of a downstream Task Model ($\tau$), such as image classification or reconstruction. The system learns to select the next fixation point that provides the most utility for the specific task.
The Neural Visual Attention (NeVA) framework architecture.

The training process is end-to-end, where the attention policy learns to "unblur" regions of the image that are critical for the task model's success.

Experiments and Datasets

To evaluate the human-likeness of NeVA's scanpaths, the researchers tested the model against three established human eye-tracking datasets:

  • MIT1003: 1,003 natural indoor and outdoor scenes.
  • Toronto: 120 images of various scenes.
  • KOOTSTRA: 99 photographs across five categories including animals and buildings.

The "tasks" utilized pre-trained models on CIFAR-10 and ImageNet. To compare scanpaths, the authors introduced a new metric: String-Based Time-Delay Embeddings (SBTDE). This metric is designed to be robust to the stochastic nature of human vision by comparing sub-sequences of scanpaths rather than point-by-point trajectories.

Results and Discussion

The study yielded several key insights into the nature of visual attention:

  • Constraints as a Driver for Realism: Imposing "imperfect" foveated vision was found to be essential for generating human-like behavior. When the model was given perfect information (NeVA-O), its gaze patterns became overly efficient and diverged from human exploratory behavior.
  • Task-Specific Gaze: The nature of the task significantly influenced the scanpath. Models trained for classification (NeVA-C) focused on diagnostic features like faces or text, mirroring human top-down attention. In contrast, reconstruction tasks led to broader scene exploration.
  • Performance and Utility: NeVA achieved state-of-the-art performance among unsupervised models on the MIT1003 and Toronto datasets. Furthermore, in a utility test, scanpaths generated by NeVA allowed a separate classifier to reach significantly higher accuracy (61.03% on ImageNet) compared to random paths (54.07%) or standard saliency-based models.

Conclusion

The NeVA framework demonstrates that human-like visual attention is not merely a biological quirk but an efficient computational strategy for processing information under foveated constraints. By aligning AI attention mechanisms with biological limitations, researchers can create models that not only perform better on complex tasks but also provide a more accurate window into the mechanisms of human perception. Future work may involve integrating bottom-up "reflexive" saliency and modeling variable fixation durations to further refine the model's fidelity to human vision.

Summary updated

BibTeX
@article{schwinn2022behind,
  author = {Leo Schwinn and Doina Precup and Björn M. Eskofier and Dario Zanca},
  title = {{Behind the Machine's Gaze: Biologically Constrained Neural Networks Exhibit Human-like Visual Attention}},
  journal = {Accepted by TMLR},
  year = {2022},
  url = {https://openreview.net/forum?id=7iSYW1FRWA},
}
Figure