This repository contains a small set of runnable notebooks that replicate the key computational examples from the accompanying paper.
Open the notebooks in order:
-
notebooks/01_torus_structural.ipynb
ReLU implicit field regression for a torus, isosurface extraction via Marching Cubes, and basic mesh topology diagnostics (Euler characteristic and genus). -
notebooks/02_kepler_orbits.ipynb
Baseline MLP fit versus a compact geometric "KeplerNet" model on historical Mars data. (Requires two CSV files indata/, seedata/README.md.) -
notebooks/03_modular_addition_grokking.ipynb
Tiny Transformer for modular addition, grokking dynamics, and a Fourier analysis of the learned logits. -
notebooks/04_othello_world_model.ipynb
A minimal Othello-GPT style model trained on random games, plus linear probes for board state. -
notebooks/05_spline_landscape.ipynb
A small ReLU network learning an implicit 2.5D landscape surface, used to illustrate the spline (piecewise-linear) interpretation.
python -m venv .venv
source .venv/bin/activate
pip install -r requirements.txtThen launch Jupyter:
jupyter labEach notebook includes a small helper that installs missing packages automatically when run in Colab.
All generated figures, checkpoints, and cached datasets are written under artifacts/ and are ignored by git.