Papers › OAT: Object-Level Attention Transformer for Gaze Scanpath Prediction

OAT: Object-Level Attention Transformer for Gaze Scanpath Prediction

18 Jul 2024arXiv:2407.13335archive 2025-07-28

Yini Fang, Jingling Yu, Haozheng Zhang, Ralf van der Lans, Bertram Shi

Visual search is important in our daily life. The efficient allocation of visual attention is critical to effectively complete visual search tasks. Prior research has predominantly modelled the spatial allocation of visual attention in images at the pixel level, e.g. using a saliency map. However, emerging evidence shows that visual attention is guided by objects rather than pixel intensities. This paper introduces the Object-level Attention Transformer (OAT), which predicts human scanpaths as they search for a target object within a cluttered scene of distractors. OAT uses an encoder-decoder architecture. The encoder captures information about the position and appearance of the objects within an image and about the target. The decoder predicts the gaze scanpath as a sequence of object fixations, by integrating output features from both the encoder and decoder. We also propose a new positional encoding that better reflects spatial relationships between objects. We evaluated OAT on the Amazon book cover dataset and a new dataset for visual search that we collected. OAT's predicted gaze scanpaths align more closely with human gaze patterns, compared to predictions by algorithms based on spatial attention on both established metrics and a novel behavioural-based metric. Our results demonstrate the generalization ability of OAT, as it accurately predicts human scanpaths for unseen layouts and target objects.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2407.13335")

Code

Syntology Ran 15 of 18 code samples harvested from 1 repository linked to this paper; 3 have no recorded run. Of those that ran: 1 ran · honoured contract; 14 ran with no contract checked.

By repository: official repository: 18 samples from 1 repository, 15 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

hkust-nisl/oat_eccv24 officialmentioned in paperpytorch report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

18 samples harvested; 15 ran; 1 honoured the contract we drafted; 3 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

1ran · honoured contract
14ran
3unverified

Licence: 18 of the 18 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from hkust-nisl/oat_eccv24. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

calcangle hkust-nisl/oat_eccv24/src/evaluation/multimatch.py official repository ran fingerprinted no licence file found · pointer only · f495c083c4b62415 · report
cart2pol hkust-nisl/oat_eccv24/src/evaluation/multimatch.py official repository ran no licence file found · pointer only · 583e0bc15a6d0763 · report
create_mask hkust-nisl/oat_eccv24/src/model/models.py official repository ran no licence file found · pointer only · 22b9eb9c9b3b5796 · report
generate_square_subsequent_mask hkust-nisl/oat_eccv24/src/model/models.py official repository ran fingerprinted no licence file found · pointer only · 3ee8f4b0078c65d0 · report
getFourierPositional hkust-nisl/oat_eccv24/src/model/positionalEncoding.py official repository ran no licence file found · pointer only · 2a4597174add2d99 · report
getSinPositional hkust-nisl/oat_eccv24/src/model/positionalEncoding.py official repository ran no licence file found · pointer only · 17fa0f31e5bcdb5b · report
get_emb hkust-nisl/oat_eccv24/src/model/positionalEncoding.py official repository ran · honoured contract fingerprinted no licence file found · pointer only · 33805df68cb6892e · report
get_val_and_tst hkust-nisl/oat_eccv24/src/dataBuilders/data_builder.py official repository ran no licence file found · pointer only · 46ab31276efa17b5 · report
idx2pos hkust-nisl/oat_eccv24/src/evaluation/multimatch.py official repository ran no licence file found · pointer only · 8a28b6f89b07e4f3 · report
mag hkust-nisl/oat_eccv24/src/model/models.py official repository ran fingerprinted no licence file found · pointer only · 729778f138c9b280 · report
match_hist hkust-nisl/oat_eccv24/src/evaluation/saliency_metric.py official repository ran no licence file found · pointer only · 039e9f0f0dfbfaca · report
normalize hkust-nisl/oat_eccv24/src/evaluation/saliency_metric.py official repository ran no licence file found · pointer only · d3d86d1943c5ac37 · report
randsplit hkust-nisl/oat_eccv24/src/dataBuilders/data_builder.py official repository ran no licence file found · pointer only · 4bf07207295baa34 · report
randsplit_comb hkust-nisl/oat_eccv24/src/dataBuilders/data_builder.py official repository ran no licence file found · pointer only · f23c64e951a4b922 · report
saliency_map_metric hkust-nisl/oat_eccv24/src/evaluation/saliency_metric.py official repository ran no licence file found · pointer only · daf4a2dd832dabd7 · report
getCosSim hkust-nisl/oat_eccv24/src/model/positionalEncodingLearned.py official repository unverified no licence file found · pointer only · 811a6f146581043b · report
getEnc hkust-nisl/oat_eccv24/src/model/positionalEncodingLearned.py official repository unverified no licence file found · pointer only · 3ad8ebeb3af55198 · report
loss_function hkust-nisl/oat_eccv24/src/model/positionalEncodingLearned.py official repository unverified no licence file found · pointer only · a46671905c186496 · report

Tasks

DecoderObjectPredictionScanpath prediction

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

ALIGNAbsolute Position EncodingsAdamAttentionBPEDense ConnectionsDropoutLabel SmoothingLayer NormalizationLinear LayerMulti-Head AttentionPosition-Wise Feed-Forward LayerResidual ConnectionSoftmaxTransformer

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections