All models

GridCellRNN_Sorscher

An RNN that integrates velocity into place-cell predictions and grows grid-cell-like hidden units.

Neuroscience signals · 5 operations Checked

100%

Showing the top corner; full diagram not loaded yetShowing a small copy; full diagram not loaded yetLarge diagram, not loaded yet

Open SVG

Loading diagram (9 KB)

Open in a new tab

Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.

At a glance

Parameters
21M
Operations
5
Framework
PyTorch
Recurrent
No
Published
NeurIPS 2019
Authors
Ben Sorscher, Gabriel C. Mel, Surya Ganguli, Samuel A. Ocko
License
Apache-2.0
Checked
Passed: the trace was replayed operation by operation and matched the model's own output for this input.

Files

The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.

Details
Stable ID
m1268
Graph hash
c680efe74f357a1d020efe9b897e4029be8aa08a6a184ad8021f2b671a0da921
Skeleton hash
ab70305ff361437a690322cde793f63478f9cc0a000265d234a3275dd0cd9d7e
Architecture hash
07816e7e856ea4670c6e81dae3bd67b93e56cf5387aed649b340c5a3b9c74270
Diagram SHA-256
2ea1b0329bb24e5f67032cf87dd398ac1a423eb430e47ff5a37cd2e594d17ed0
TorchLens version
2.36.0
Renderer
graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
Check
Forward pass replayed in PyTorch

What it is

This is the path-integrating recurrent network behind a theory of how grid cells arise, the neurons that fire in strikingly regular hexagonal patterns across space. The paper sets out to unify two accounts of those patterns, mechanistic attractor models with hand-tuned connectivity and normative models where grids emerge from a navigation task, by treating learning itself as a pattern-forming dynamical system.

The traced model is the RNN variant: at each time step it receives the animal's 2-dimensional velocity, integrates it in nG recurrently connected units, and reads the current position out linearly into a layer of estimated place cells. The target is a place-cell representation rather than a raw 2D position vector, which the authors note is the one difference from the earlier approach they follow. The structure of the learned grids depends sensitively on the shape of the place-cell tuning curves; Gaussian tuning curves of 400 square centimeters give regular square grid patterns. The theory's central result is that a nonnegativity constraint on firing rates breaks the symmetry and favors hexagonal firing fields.

The repository holds the vanilla RNN model architecture as well as an LSTM, with a trajectory generator for simulated rat paths in a rectangular environment and a place-cell tiler. A set of pre-trained weights ships with the code.

Key idea. A velocity-integrating RNN whose hidden units develop grid-like firing fields, used to show that nonnegativity drives learned grids toward hexagonal lattices.

  • grid cells
  • path integration
  • Sorscher grid-cell path-integration RNN
  • grid-pattern-formation
  • GridCellRNN
  • A unified theory for the origin of grid cells through the lens of pattern formation
  • place cells
  • hexagonal firing fields
  • Ganguli

AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.

Cite the paper

@article{pathintegration2019,
  title = {A unified theory for the origin of grid cells through the lens of pattern formation},
  author = {Ben Sorscher and Gabriel C. Mel and Surya Ganguli and Samuel A. Ocko},
  year = {2019},
  journal = {NeurIPS 2019}
}