Back

Aligning transformer circuit mechanisms to neural representations in relational reasoning

Hearne, L. J.; Robinson, C. N.; Cocchi, L.; Ito, T.

2025-10-31 neuroscience
10.1101/2025.10.29.685457 bioRxiv
Show 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 working-memory demands. These results advance knowledge on the core computations supporting complex reasoning, highlighting attention-based architectures as powerful models for investigating the neural basis of higher cognition.

Matching journals

The top 4 journals account for 50% of the predicted probability mass.

50% of probability mass above

"Similar papers" are the closest papers from that journal in the model's embedding space. They show what the match is built on, but the ranking comes mostly from a classifier over the whole training set, not from these examples alone.