The transformer as a candidate canonical cortical microcircuit
Neuroscience hypothesizes a canonical microcircuit subserving cortical computation across brain systems. In artificial intelligence, neural networks have become a universal computational substrate. Here, we leverage newly available large-scale data and mapping techniques to compare neural network motifs to the brain. We embedded a spectrum of candidate microcircuit architectures within a common spatial macrocircuit, measuring alignment with an extensive battery of cortical signatures. We find that one specific circuit type--the transformer--uniquely captures fine-grained unit-level circuit details, population-level functional maps and neuronal activity patterns, and systems-level wiring efficiency and behavioral demands. The key ingredient enabling the transformer's success is a learned multiplicative component making relational information available without extensive long-range wiring. These results suggest striking convergence between computational motifs in natural and artificial intelligence.
Authors
- Daniel L. K. Yamins (ORCID: https://orcid.org/0000-0001-6155-4523)
- Yash N. Shah (ORCID: https://orcid.org/0009-0001-3016-4220)
Institutions
- Stanford University (US)
Publication Details
- Journal
- bioRxiv (Cold Spring Harbor Laboratory)
- Published
- 2026-11-02
- DOI
- https://doi.org/10.64898/2026.11.01.763457
- Primary Topic
- Neural dynamics and brain function
- Type
- preprint