An Investigation of Conformal Isometry Hypothesis for Grid Cells

Dehong Xu, Ruiqi Gao, Wen-Hao Zhang, Xue-Xin Wei, Ying Nian Wu · OpenReview

Abstract: This paper investigates the conformal isometry hypothesis as a potential explanation for the emergence of hexagonal periodic patterns in the response maps of grid cells. The hypothesis posits that the activities of the population of grid cells form a high-dimensional vector in the neural space, representing the agent's self-position in 2D physical space. As the agent moves, the vector rotates in a 2D manifold in the neural space, driven by a recurrent neural network. The conformal isometry hypothesis proposes that this 2D manifold is a conformally isometric embedding of the 2D physical space, meaning local displacements in neural space are proportional to local displacements in physical space. Through numerical experiments and theoretical analysis, we show that this hypothesis underlies hexagonal periodic patterns. We also propose a conformal modulation of input velocity to satisfy this hypothesis automatically, providing a foundation for normative models of grid cells.

Introduction

For decades, neuroscientists have been fascinated by grid cells in the medial entorhinal cortex. Unlike place cells, which fire at a single location, a single grid cell fires at multiple locations that form a strikingly regular hexagonal lattice. While many computational models can produce these patterns, the fundamental reason why the brain prefers hexagons over other shapes has remained debated.

This paper investigates the conformal isometry hypothesis: the idea that the population activity of grid cells forms a 2D manifold in a high-dimensional neural space that is a "distance-preserving" map of the physical world. The authors aim to prove that hexagonal patterns are the natural mathematical consequence of trying to preserve these distances as accurately as possible.

Methodology

The authors adopt a "scientific reductionism" approach, stripping away complex biological assumptions to focus on a minimalistic mathematical setting. They represent an agent's 2D position $\mathbf{x}$ as a $d$-dimensional neural vector $\mathbf{v}(\mathbf{x})$ and train this embedding using two primary constraints:

  1. Conformal Isometry ($L_1$): Forces the Euclidean distance between two neural vectors to be proportional to the physical distance: $\|\mathbf{v}(\mathbf{x} + \Delta \mathbf{x}) - \mathbf{v}(\mathbf{x})\| \approx s\|\Delta \mathbf{x}\|$.
  2. Transformation ($L_2$): Ensures that a transition model (like an RNN) can correctly predict the next neural state based on velocity.
Illustration of the conformal isometry hypothesis: (a) neural vector rotation, (b) transition model diagram, and (c) the 2D neural manifold.

This approach is architecture-agnostic, tested across linear and various nonlinear recurrent networks (ReLU, Tanh, GELU, Swish) to ensure the results are not dependent on specific neural hardware.

Key Insights and Theoretical Analysis

The core finding is that hexagonal patterns emerge because they are "flatter" in a high-dimensional space. While it is impossible to perfectly map a 2D plane into a high-dimensional space without some distortion (curvature), a hexagonal arrangement is the most isotropic way to distribute this distortion.

Using a 4th-order Taylor expansion to analyze the "extrinsic curvature" of the neural manifold, the authors proved that a hexagonal flat torus minimizes the deviation from perfect distance preservation. This property is highly functional for navigation; if neural distance equals physical distance, the brain can plan straight-line paths simply by following the steepest descent in neural space.

Experimental Results

The models were trained on simulated trajectories within a 1m x 1m square environment. To validate the hypothesis, the authors also analyzed public Neuropixels recordings from rodents, confirming a clear linear relationship between neural activity change and physical displacement for small distances.

Learned grid cell firing patterns across different scaling factors s, demonstrating the emergence of hexagonal lattices.

Key results include:

  • Superior Gridness: Learned models achieved Gridness Scores of 1.70 (Linear) and 1.17 (Nonlinear), significantly outperforming previous state-of-the-art models.
  • Scale Invariance: By adjusting the scaling factor $s$ in the loss function, the authors could precisely control the grid scale, mimicking the different grid modules found in the brain.
  • 100% Validity: In the minimalistic setting, every simulated neuron developed clear hexagonal patterns.

Conclusion and Future Work

The conformal isometry hypothesis provides a robust geometric explanation for the hexagonal firing patterns of grid cells. While this study primarily focuses on single-module settings and local isometry, it sets a foundation for exploring how these patterns adapt to complex environmental boundaries or non-Euclidean spaces. Future work will investigate the interaction between these grid modules and place cells in more biologically realistic scenarios.

Summary updated

Abstract

This paper investigates the conformal isometry hypothesis as a potential explanation for the emergence of hexagonal periodic patterns in the response maps of grid cells. The hypothesis posits that the activities of the population of grid cells form a high-dimensional vector in the neural space, representing the agent's self-position in 2D physical space. As the agent moves in the 2D physical space, the vector rotates in a 2D manifold in the neural space, driven by a recurrent neural network. The conformal isometry hypothesis proposes that this 2D manifold in the neural space is a conformally isometric embedding of the 2D physical space, in the sense that local displacements of the vector in neural space are proportional to local displacements of the agent in the physical space. Thus the 2D manifold forms an internal map of the 2D physical space, equipped with an internal metric. In this paper, we conduct numerical experiments to show that this hypothesis underlies the hexagon periodic patterns of grid cells. We also conduct theoretical analysis to further support this hypothesis. In addition, we propose a conformal modulation of the input velocity of the agent so that the recurrent neural network of grid cells satisfies the conformal isometry hypothesis automatically. To summarize, our work provides numerical and theoretical evidences for the conformal isometry hypothesis for grid cells and may serve as a foundation for further development of normative models of grid cells and beyond.
BibTeX
@inproceedings{xu2025investigation,
  author = {Dehong Xu and Ruiqi Gao and Wen-Hao Zhang and Xue-Xin Wei and Ying Nian Wu},
  title = {{An Investigation of Conformal Isometry Hypothesis for Grid Cells}},
  booktitle = {International Conference on Learning Representations},
  year = {2025},
  url = {https://openreview.net/forum?id=Xo0Q1N7CGk},
}
Figure