Emergent Riemannian geometry over learning discrete computations on continuous manifolds
Julian Brandon, Angus Chadwick, Arthur Pellegrino
TL;DR
Bridging continuous input manifolds and discrete task outputs, the paper develops a Riemannian-geometry framework to study how neural networks learn discrete computations. It shows that the pullback metric reveals a two-stage process: first discretising input features, then performing Boolean-like operations on the discretised variables, with rich vs lazy learning producing distinct curvature and generalisation properties. The work demonstrates that input noise during training flattens the posterior over outputs and reduces curvature, linking geometry to Bayesian inference. Overall, this geometric lens extends our understanding of learning dynamics on manifolds and suggests new directions for geometry-aware network design.
Abstract
Many tasks require mapping continuous input data (e.g. images) to discrete task outputs (e.g. class labels). Yet, how neural networks learn to perform such discrete computations on continuous data manifolds remains poorly understood. Here, we show that signatures of such computations emerge in the representational geometry of neural networks as they learn. By analysing the Riemannian pullback metric across layers of a neural network, we find that network computation can be decomposed into two functions: discretising continuous input features and performing logical operations on these discretised variables. Furthermore, we demonstrate how different learning regimes (rich vs. lazy) have contrasting metric and curvature structures, affecting the ability of the networks to generalise to unseen inputs. Overall, our work provides a geometric framework for understanding how neural networks learn to perform discrete computations on continuous manifolds.
