Testing Components of the Attention Schema Theory in Artificial Neural Networks

Kathryn T. Farrell, Kirsten Ziman, Michael S. A. Graziano
11/1/2024
cs.LGcs.AI

No official code found. Best implementation: kathrynfarrell/attention_schemas_in_anns (2 stars, last commit 2024-11-05).

Abstract

Growing evidence suggests that the brain uses an attention schema, or a simplified model of attention, to help control what it attends to. One proposed benefit of this model is to allow agents to model the attention states of other agents, and thus predict and interact with other agents. The effects of an attention schema may be examined in artificial agents. Although attention mechanisms in artificial agents are different from in biological brains, there may be some principles in common. In both cases, select features or representations are emphasized for better performance. Here, using neural networks with transformer attention mechanisms, we asked whether the addition of an attention schema affected the ability of agents to make judgements about and cooperate with each other. First, we found that an agent with an attention schema is better at categorizing the attention states of other agents (higher accuracy). Second, an agent with an attention schema develops a pattern of attention that is easier for other agents to categorize. Third, in a joint task where two agents must predict each other to paint a scene together, adding an attention schema improves performance. Finally, the performance improvements are not caused by a general increase in network complexity. Instead, improvement is specific to tasks involving judging, categorizing, or predicting the attention of other agents. These results support the hypothesis that an attention schema has computational properties beneficial to mutual interpretability and interactive behavior. We speculate that the same principles might pertain to biological attention and attention schemas in people.

View on arXivView PDF

Code Implementations(1)

20Python, Jupyter NotebookOct 26, 20241 years ago

Similar Papers

Cite this paper

@article{farrell2024testing,
  title  = {Testing Components of the Attention Schema Theory in Artificial Neural Networks},
  author = {Kathryn T. Farrell and Kirsten Ziman and Michael S. A. Graziano},
  year   = {2024},
  eprint = {2411.00983},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2411.00983v3}
}

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/2411.00983.svg)](https://codeofpaper.com/paper/2411.00983)

Discussion