Deficient Executive Control in Transformer Attention
Abstract
Although transformers in the large language models (LLMs) effectively implement a self- attention mechanism that has revolutionized natural language processing, they lack an explicit implementation of executive control of attention found in humans, which is essential for resolving conflicts and selecting relevant information in the presence of competing stimuli, and is critical for adaptive behavior. To investigate this limitation in LLMs, we employed the classic color Stroop task that is widely regarded as the gold standard for testing executive control of attention. Our results revealed a typical conflict effect of better performance in terms of accuracy in the congruent condition (e.g., naming the ink color of the word RED in red) compared to the incongruent condition (e.g., naming the ink color of the word RED in blue), which is similar to human performance in short sequences. However, as sequence length increased, the performance degraded toward chance levels on the incongruent trials despite maintaining excellent performance on congruent trials and near-perfect word reading ability. These findings demonstrate that while transformer attention mechanisms can achieve human-comparable performance in smaller contexts, they are fundamentally limited in their capacity for conflict resolution across extended contexts. This study suggests that incorporating executive control mechanisms akin to those in biological attention could be crucial for achieving more general reasoning and reliable performance toward artificial general intelligence.
02 /Specification & Classification
Click any tag to browse matching papers- Citations
- 2
- FWCI
- 3.45
- Field percentile
- top 13%
- Research Focus
- Approach
Reproducibility ledger
Nobody has reported trying to reproduce this paper yet. Did you replicate an experiment or run the code? Your report saves the next lab a week.
Sign in to file a reproducibility report.
Related papers
- Scaling, but not instruction tuning, increases large language models' alignment with language processing in the human brain
Changjiang Gao, Zhengwu Ma, … Jixing Li·bioRxiv·Aug 15, 2024
- Aligning transformer circuit mechanisms to neural representations in relational reasoning
Luke J. Hearne, Conor Robinson, … Takuya Ito·bioRxiv·Oct 29, 2025
- When word order matters: human brains represent sentence meaning differently from large language models
James Fodor, Carsten Murawski, Shinsuke Suzuki·eLifePeer-reviewed·Oct 23, 2026
- A recurrent vision transformer shows signatures of primate visual attention
Jonathan Morgan, Badr F. Albanna, James P. Herman·bioRxiv·Nov 9, 2024
- Shared functional specialization in transformer-based language models and the human brain
Sreejan Kumar, Theodore R. Sumers, … Samuel A. Nastase·Nature CommunicationsPeer-reviewed·Jun 29, 2024
- Attention weights accurately predict language representations in the brain
Mathis Lamarre, Catherine Chen, Fatma Deniz·Findings of the Association for Computational Linguistics: EMNLP (Findings of EMNLP)Peer-reviewed·Jan 1, 2022