Conformal Isometry of Lie Group Representation in Recurrent Network of Grid Cells

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

Abstract

The activity of the grid cell population in the medial entorhinal cortex (MEC) of the mammalian brain forms a vector representation of the self-position of the animal. Recurrent neural networks have been proposed to explain the properties of the grid cells by updating the neural activity vector based on the velocity input of the animal. In doing so, the grid cell system effectively performs path integration. In this paper, we investigate the algebraic, geometric, and topological properties of grid cells using recurrent network models. Algebraically, we study the Lie group and Lie algebra of the recurrent transformation as a representation of self-motion. Geometrically, we study the conformal isometry of the Lie group representation where the local displacement of the activity vector in the neural space is proportional to the local displacement of the agent in the 2D physical space. Topologically, the compact and connected abelian Lie group representation automatically leads to the torus topology commonly assumed and observed in neuroscience. We then focus on a simple non-linear recurrent model that underlies the continuous attractor neural networks of grid cells. Our numerical experiments show that conformal isometry leads to hexagon periodic patterns in the grid cell responses and our model is capable of accurate path integration.

Introduction

Grid cells in the medial entorhinal cortex are renowned for their hexagonal firing symmetry, a property essential for mammalian path integration. While previous research has modeled these cells using linear networks or specific matrix-rotation groups, a significant gap remains: understanding how these patterns emerge in more biologically realistic, non-linear neural networks. This paper demonstrates that hexagonal firing patterns emerge naturally when recurrent neural networks (RNNs) are trained to perform path integration under a "conformal isometry" constraint. This constraint ensures that local displacements in neural activity space are proportional to physical movements in 2D space, allowing non-linear networks—including ReLU-based RNNs and LSTMs—to develop the geometric and topological properties observed in biological navigation systems.

Methodology

The study combines group theory with deep learning to establish a theoretical framework for grid cells:

  1. Lie Group Representation: Self-motion is treated as an abelian Lie group, meaning sequential movements result in a neural state consistent with the net displacement.
  2. Conformal Isometry Constraint: A geometric condition is introduced where the transformation of the neural activity vector must be an isotropic scaling. This is enforced via a custom loss term ($L_2$) ensuring neural displacement is proportional to physical displacement.
  3. Non-linear RNN Architectures: The researchers utilize a "vanilla" non-linear RNN defined by $v(x + \Delta x) = \text{ReLU}(W v(x) + U \Delta x)$, as well as LSTM networks, to demonstrate the theory's generalizability.
  4. Peter-Weyl Theory: This mathematical framework explains how neural activity serves as basis functions for reconstructing hippocampal "place cell" activity.

Experiments were conducted using simulated trajectories of an agent in a 1m x 1m square field, discretized into a 40x40 lattice. Training involved 200,000 iterations, and evaluation focused on path integration accuracy over 1,000 trajectories of up to 500 steps.

Results and Discussion

The most significant finding is that hexagonal patterns are a mathematical consequence of maximizing packing density for periodic components while maintaining conformal isometry. Without this constraint, networks typically produce less efficient "stripe" patterns.

Learned grid cell firing patterns showing emergent hexagonal symmetry in the RNN model.

Quantitatively, the proposed RNN model significantly outperforms previous benchmarks. As shown in the table below, the RNN achieved a gridness score of 0.77, with over 72% of neurons developing clear grid-like patterns.

Comparison of gridness scores and grid cell percentages between the proposed models and existing literature.

Key results include:

  • High Gridness: The RNN and LSTM models achieved scores of 0.77 and 0.73, respectively, surpassing the 0.48 score of Sorscher et al. (2019).
  • Accurate Path Integration: The model tracked position over 500 steps with an average error of 0.017m (with periodic re-encoding).
  • Biological Scaling: Learned grid scales exhibited a multi-modal distribution with ratios (1.55 and 1.35) matching rodent grid cell observations.
  • Emergent Topology: Requiring a compact and connected Lie group representation caused the network's state space to naturally adopt a torus topology, aligning with experimental neuroscience findings.

Conclusion

This work provides a robust theoretical link between the geometry of self-motion and the emergence of hexagonal grid cells. By enforcing conformal isometry, non-linear recurrent networks can learn biologically plausible representations that support accurate path integration. Future work will explore "baking in" these geometric properties into neural architectures and investigating bidirectional interactions between grid cells and place cells in more complex, non-Euclidean environments.

Summary updated

BibTeX
@inproceedings{xu2022conformal,
  author = {Dehong Xu and Ruiqi Gao and Wen-Hao Zhang and Xue-Xin Wei and Ying Nian Wu},
  title = {{Conformal Isometry of Lie Group Representation in Recurrent Network of Grid Cells}},
  booktitle = {NeurReps},
  year = {2022},
  url = {https://openreview.net/forum?id=m5I1qBf2X6},
}
Figure