Unifying Top-Down and Bottom-Up Scanpath Prediction Using Transformers

Zhibo Yang, Sounak Mondal, Seoyoung Ahn, G. Zelinsky, Minh Hoai +1 more
2/14/2026

No official code found. Best implementation: cvlab-stonybrook/HAT (25 stars, MIT, last commit 2025-06-25).

Abstract

Most models of visual attention aim at predicting either top-down or bottom-up control, as studied using different visual search and free-viewing tasks. In this paper we propose the Human Attention Transformer (HAT), a single model that predicts both forms of attention control. HAT uses a novel transformer-based architecture and a simplified foveated retina that collectively create a spatiotemporal awareness akin to the dynamic visual working memory of humans. HAT not only establishes a new state-of-the-art in predicting the scanpath of fixations made during target-present and target-absent visual search and “taskless” free viewing, but also makes human gaze behavior interpretable. Unlike previous methods that rely on a coarse grid of fixation cells and experience information loss due to fixation discretization, HAT features a sequential dense prediction architecture and outputs a dense heatmap for each fixation, thus avoiding discretizing fixations. HAT sets a new standard in computational attention, which emphasizes effectiveness, generality, and interpretability. HAT's demonstrated scope and applica-bility will likely inspire the development of new attention models that can better predict human behavior in various attention-demanding scenarios. Code is available at https://github.com/cvlab-stonybrook/HAT.

View on arXivView PDF

Code Implementations(1)

MIT

CVPR 2024 "Unifying Top-down and Bottom-up Scanpath Prediction Using Transformers"

256C++, CudaMar 18, 20241 years agoMIT

Similar Papers

Cite this paper

@article{yang2026unifying,
  title  = {Unifying Top-Down and Bottom-Up Scanpath Prediction Using Transformers},
  author = {Zhibo Yang and Sounak Mondal and Seoyoung Ahn and G. Zelinsky and Minh Hoai and D. Samaras},
  year   = {2026},
  eprint = {2303.09383},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/pdf/2303.09383},
  journal = {CVPR 2023 2023}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2303.09383.svg)](https://codeofpaper.com/paper/2303.09383)

Discussion