Human Gaze Improves Vision Transformers by Token Masking

Human attention plays a crucial role in visual perception and decision-making, opening new possibilities for integration with machine learning models. While Transformer models excel in modeling global relationships via self-attention, understanding the importance of specific image regions for their decision-making remains challenging. This paper investigates the intersection of human gaze and Transformer-based attention in the context of object classification tasks, focusing on how gaze-prioritized regions correspond to Transformer attention. We extend the analysis of the attention mechanism during inference by focusing the attention of pretrained Vision Transformers to regions of interest which we derive directly from human gaze. Our findings indicate that gaze-based token masking can not only reduce the number of tokens necessary for robust model performance but might also improve classification accuracy over using the whole image for certain configurations. Even though this masking can improve model performance, we show that both attention mechanisms have clear structural differences for natural images. Our results shed light on the relationship between human and Trans-former attention, providing novel perspectives for optimising Transformer models to achieve more efficient and interpretable image understanding and classification. Code is available at https://zivgitlab.uni-muenster.de/cvmls/gaze-based-token-masking.

Authors

Institutions

Publication Details

Published
2025-02-28
DOI
https://doi.org/10.1109/wacvw65960.2025.00046
Primary Topic
Hand Gesture Recognition Systems
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Human Gaze Improves Vision Transformers by Token Masking

Benjamin Risse, Jacqueline Kockwelp, Daniel Beckmann
Hand Gesture Recognition Systems
article

Human Gaze Improves Vision Transformers by Token Masking

Benjamin Risse, Jacqueline Kockwelp, Daniel Beckmann
article en

Abstract

Human attention plays a crucial role in visual perception and decision-making, opening new possibilities for integration with machine learning models. While Transformer models excel in modeling global relationships via self-attention, understanding the importance of specific image regions for their decision-making remains challenging. This paper investigates the intersection of human gaze and Transformer-based attention in the context of object classification tasks, focusing on how gaze-prioritized regions correspond to Transformer attention. We extend the analysis of the attention mechanism during inference by focusing the attention of pretrained Vision Transformers to regions of interest which we derive directly from human gaze. Our findings indicate that gaze-based token masking can not only reduce the number of tokens necessary for robust model performance but might also improve classification accuracy over using the whole image for certain configurations. Even though this masking can improve model performance, we show that both attention mechanisms have clear structural differences for natural images. Our results shed light on the relationship between human and Trans-former attention, providing novel perspectives for optimising Transformer models to achieve more efficient and interpretable image understanding and classification. Code is available at https://zivgitlab.uni-muenster.de/cvmls/gaze-based-token-masking.

GeoInformation (United Kingdom) (GB)
Deutsche Forschungsgemeinschaft
Affordable and clean energy
Openalex Percentile: Top 92%
Hand Gesture Recognition Systems
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.