From Transformer to Biology: A Hierarchical Model for Attention in Complex Problem-Solving
Zhongqiao Lin, Yunwei Li, Tianming Yang

TL;DR
This study models attention in complex tasks by analyzing gaze patterns of monkeys playing Pac-Man using a transformer network, revealing hierarchical attention mechanisms that integrate reward and spatial information, bridging AI and neuroscience.
Contribution
It introduces a hierarchical transformer model that mimics biological attention patterns and provides a novel framework for understanding cognitive processes in complex environments.
Findings
Transformer network closely matches monkey gaze patterns.
Hierarchical attention structure with value-based and interaction layers.
Reward-driven attention modulates spatial attention maps.
Abstract
Attention is fundamental to cognition, yet it remains a challenge to understand attention in tasks approaching real-world complexity. Here, we approached this problem by modeling gaze patterns of monkeys playing Pac-Man. We first show a transformer network trained to reproduce their gameplay developed internal attention patterns closely matching the monkeys' eye movements. By dissecting the network's attention, we revealed a hierarchical structure comprising two components: a value-based layer encoding fixed object salience, coupled with a dynamic interaction layer tracking relational information between game elements. We further developed a condensed model in which reward-driven attention serves as a gain modulator and is integrated with spatial attention maps, predicting attention as well as the transformer. Together, our study pioneers the use of AI architectures as analytical tools…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsCognitive Science and Education Research · Opinion Dynamics and Social Influence · Functional Brain Connectivity Studies
MethodsSoftmax · Attention Is All You Need
