Aligning transformer circuit mechanisms to neural representations in relational reasoning
L. J. Hearne, C. N. Robinson, L. Cocchi, T. Ito
Key points
From the paper's conclusion- These results advance knowledge on the core algorithmic computations supporting complex reasoning, highlighting attention-based architectures as powerful models for investigating the neural and computational basis of higher cognition.
Abstract
Relational reasoning, the capacity to understand how elements relate to one another, is a defining feature of human intelligence, yet its computational basis remains unclear. Here, we combined human neuroimaging (7T fMRI) with artificial neural network modeling to identify circuit-level analogues of human reasoning computations. Using the Latin Square Task, we found that humans and transformers were able to generalize the task reliably, while standard architectures used in cognitive neuroscience could not. Analysing the transformer components revealed distinct computational roles: positional encoding captured the spatial structure of the task and aligned with representations in visual cortex, whereas attention encoded relational structure and mapped onto frontoparietal and default-mode networks. Attention weights tracked the relational complexity of the task, providing a computational analogue of reasoning demands. These results advance knowledge on the core algorithmic computations supporting complex reasoning, highlighting attention-based architectures as powerful models for investigating the neural and computational basis of higher cognition.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Large language models poorly capture how word order shapes representations of sentence meaning in the human brain.eLife · 2026
- The transformer as a candidate canonical cortical microcircuitbioRxiv · 2026
- Geometric and algebraic inference in humans and neural networksarXiv · 2026
- A Unified Geometric Space for Topological Alignment Between Transformer-Based Models and Human Brain Networks.IEEE transactions on pattern analysis and machine intelligence · 2026
- Causal event structure shapes convergent reactivation signatures in human cortex and language modelbioRxiv · 2026
- Matching Object or Relation? Tracing Abstract Reasoning Inside VLMsarXiv · 2026