This is the code for the ICLR 2023 Submission, 'Actionable Neural Representations: Grid Cells from Minimal Constraints'.
Included in the code are:
-
6 files that perform optimisation in finite periodic of very large periodic spaces of 1, 2, or 3 dimensions. These should just run and output saved lists of the relevant parameters which can be used for plotting
- Line.py
- Circle.py
- Torus.py
- Plane.py
- Volume.py
- PeriodicVolume.py
-
A folder which acts as a module, NRT_functions (NRT = Neural Representation Theory), which contains three files
- helper_functions.py - just some helpful functions
- losses.py - the losses used
- plotter.py - some helpful plotting functions
-
A jupyter notebook that lets you plot the output of a simulation - Plotter.ipynb
The simulation runs are automatically saved in a file system organised by data ("YYMMDD") and time ("HHMMSS"). The plotter uses these to reload the data and plot the learnt representations
Required packages:
- Jax
- Numpy
- matplotlib