Overview • Install • Notebooks
How can a recurrent neural circuit integrate a sequence of local, egocentric movements into a global, allocentric representation of position and orientation?
This repository studies path integration as sequential group composition. A recurrent network receives an allocentric population code together with egocentric transformations and must maintain the allocentric code of their cumulative product:
The group
We then use finite-group Fourier analysis to derive QuadraticRNN weights that solve the task exactly when all irreducible representations are included.
For a finite group
The recurrent model uses a squared-ReLU activation,
and updates
The closed-form construction decomposes the computation into modules indexed by irreducible representations of
| Group | Interpretation |
|---|---|
| Circular variable or head direction | |
| Periodic planar translations | |
| Discrete planar rigid motion (Discrete SE(2)) | |
| Discrete volumetric motion with 24 proper cubic rotations (Discrete SE(3)) |
- Conda or Miniconda
git clone [anonymous/grids-and-groups]
cd grids-and-groups
conda env create -f conda.yaml
conda activate grids
poetry installNotebooks give analytically constructed networks. See notebooks/README.md for a short navigation note.
| Notebook | Purpose |
|---|---|
rnn_constructed_cnxcn.ipynb |
Exact and Fourier-truncated translation RNNs on |
rnn_constructed_discrete_se2_c6.ipynb |
C6 construction, regular actions, and naturalistic rollout |
rnn_constructed_discrete_se2_c6_tuning.ipynb |
Empirical and theoretical tuning comparisons |
rnn_constructed_discrete_se2_c6_manifolds.ipynb |
Fixed-point module manifolds and persistent homology |
rnn_constructed_discrete_SE3.ipynb |
Exact and cost-aware truncated QuadraticRNNs on |
This project is licensed under the MIT License. See LICENSE.