Geometry of Representations
8 parts
Where do representations live, and what makes a latent space good? Contrastive learning, the geometry of embedding spaces, and why the usual activation functions work against it.
All 8 parts →Notes on AI, math, and the long road. Live slow, die whenever.
Long-form pieces on machine learning interpretability, kernel methods, contrastive learning, and the geometry of neural network representations. Most posts ship with interactive visualisations you can play with in the browser. The posts run in series that build on each other; see the map for how they connect.
Each series is a narrative: start at part 1.
8 parts
Where do representations live, and what makes a latent space good? Contrastive learning, the geometry of embedding spaces, and why the usual activation functions work against it.
All 8 parts →5 parts
Attention, read as kernel regression: what the softmax is really computing, why that makes it explainable, and what happens when you make the kernel cheap.
5 parts
Once everything is a kernel, what is a weight? An interlude on RKHS foundations: where a weight lives, what it can be, and why the MLP block is a representer theorem.
12 parts · ongoing
Replace the activation with a finite, positive-definite kernel and a network becomes a list of prototypes you can read, edit by hand, and finally collapse into a single fixed-point operator.
5 parts · ongoing
Numerical analysis as an architecture catalog: skip connections as an Euler step, momentum nets as half of Newton, and conservation laws as testable predictions about hidden states.