Lune

ICLR2022Top-tier venue

Relating transformers to models and neural representations of the hippocampal formation

James C. R. Whittington, Joseph Warren, Tim E. J. Behrens

Abstract

Many deep neural network architectures loosely based on brain networks have recently been shown to replicate neural firing patterns observed in the brain. One of the most exciting and promising novel architectures, the Transformer neural network, was developed without the brain in mind. In this work, we show that transformers, when equipped with recurrent position encodings, replicate the precisely tuned spatial representations of the hippocampal formation; most notably place and grid cells. Furthermore, we show that this result is no surprise since it is closely related to current hippocampal models from neuroscience. We additionally show the transformer version offers dramatic performance gains over the neuroscience version. This work continues to bind computations of artificial and brain networks, offers a novel understanding of the hippocampal-cortical interaction, and suggests how wider cortical areas may perform complex tasks beyond current neuroscience models such as language comprehension.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

26 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Spikformer: When Spiking Neural Network Meets Transformer cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • Linking In-context Learning in Transformers to Human Episodic Memory cites Language Models are Few-Shot Learners
  • An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale cites Language Models are Few-Shot Learners
  • Neuroformer: Multimodal and Multitask Generative Pretraining for Brain Data cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • Neuroformer: Multimodal and Multitask Generative Pretraining for Brain Data cites Language Models are Few-Shot Learners
  • Evaluating Cognitive Maps and Planning in Large Language Models with CogEval cites Language Models are Few-Shot Learners
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers26

  1. Evaluating Cognitive Maps and Planning in Large Language Models with CogEvalIda Momennejad, Hosein Hasanbeig, Felipe Vieira Frujeri, Hiteshi Sharma et al.NeurIPS 2023 · 114 citations
  2. Spikformer: When Spiking Neural Network Meets TransformerZhaokun Zhou, Yuesheng Zhu, Chao He, Yaowei Wang et al.ICLR 2023 · 103 citations
  3. Long Sequence Hopfield MemoryHamza Tahir Chaudhry, Jacob A. Zavatone-Veth, Dmitry Krotov, Cengiz PehlevanNeurIPS 2023 · 33 citations
  4. Neuroformer: Multimodal and Multitask Generative Pretraining for Brain DataAntonis Antoniades, Yiyi Yu, Joseph Canzano, William Yang Wang et al.ICLR 2024 · 21 citations
  5. Linking In-context Learning in Transformers to Human Episodic MemoryJi-An Li, Corey Yishan Zhou, Marcus K. Benna, Marcelo G. MattarNeurIPS 2024 · 20 citations

Builds on3

  1. Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah et al.NeurIPS 2020 · 64,255 citations
  2. An Image is Worth 16x16 Words: Transformers for Image Recognition at ScaleAlexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn et al.ICLR 2021 · 21,477 citations
  3. Learning to Encode Position for Transformer with Continuous Dynamical ModelXuanqing Liu, Hsiang-Fu Yu, Inderjit S. Dhillon, Cho-Jui HsiehICML 2020 · 139 citations

Related papers

  1. The Hippocampal Place Field Gradient: A Bio-inspired Framework Building Multiscale Representation for Better Sample EfficiencyShujun Zhou, Junrong Qi, Guozhang ChenICML 2026
  2. Transformer brain encoders explain human high-level visual responsesHossein Adeli, Minni Sun, Nikolaus KriegeskorteNeurIPS 2025 · 14 citations
  3. No Free Lunch from Deep Learning in Neuroscience: A Case Study through Models of the Entorhinal-Hippocampal CircuitRylan Schaeffer, Mikail Khona, Ila FieteNeurIPS 2022 · 81 citations
  4. A Multi-Region Brain Model to Elucidate the Role of Hippocampus in Spatially Embedded Decision-MakingYi Xie, Jaedong Hwang, Carlos D. Brody, David W. Tank et al.ICML 2025
  5. Transformer-Exclusive Cross-Modal Representation for Vision and LanguageAndrew Shin, Takuya NarihiraACL Findings 2021 · 2 citations
Dusk over the sea between two cliffs drawn in fine vertical lines