MCP
arXivarXiv
Preprint
Published: November 26, 2026
cs.CV

Neural strategy of cognitive map representation informs position encoding in visual transformer

1*1,2,3*1,2,3*1*1,2,3†
1 School of Psychological and Cognitive Sciences, Peking University, China.
2 Peking-Tsinghua Center for Life Sciences, Academy for Advanced Interdisciplinary Studies, IDG/McGovern Institute for Brain Research, Key Laboratory of Machine Perception (Ministry of Education), Peking University, China.
3 Center of Quantitative Biology, Peking University, China.
* Equal contribution
† Corresponding authors
Abstract
Background. Band cells and grid cells coexist in the cognitive map of both biological navigation circuits and optimization-based artificial intelligence (AI) models, yet their distinct computational functions and division of labour in spatial cognition remain unclear. Methods. We combine numerical circuit simulations, theoretical analysis and neural network optimization to dissect this division of labour and to carry the resulting spatial metric into transformer position encoding. Results. Band cells perform neuron-efficient path integration, whereas grid cells form an isotropic metric representation of two-dimensional Euclidean space. Projecting two-dimensional velocity onto one-dimensional band attractors avoids the quadratic neuronal cost of tiling a two-dimensional manifold, whereas preserving isotropic Euclidean (L2) rather than axis-aligned Manhattan (L1) distances between locations requires the hexagonal symmetry of grid cells. Viewed from this cognitive-map perspective, standard positional encodings in visual transformers adopt a band-cell-like axial factorization that distorts Euclidean distances. Introducing grid-cell Euclidean metric representation into positional encoding reduces directional anisotropy more than eightfold and consistently improves recognition across five visual tasks. Conclusions. These results distill a general neural encoding principle for spatial cognition that directly advances AI vision models.
0
AI overview
Reviews
Citation graph
Structured
This paper does not have an AI preview yet
Rating
No ratings yet
Rate
Community rating
—
/ 5
No ratings yet
Rating
—
Soundness
—
Presentation
—
Contribution
—
Confidence
—
Discussion
Top
Newest
Questions
Replication
Author
No comments yet — be the first