Geometry-Aware Similarity Metrics for Neural Representations on Riemannian and Statistical Manifolds
N Alex Cayco Gajic, Arthur Pellegrino
NeurIPS page · OpenReview · alphaXiv · Open on the map
Category: Graphs, OOD Detection & Medical Imaging › Neural Representation Alignment · Type: new method · Keywords: intrinsic geometry, Riemannian similarity, neural manifolds, representation analysis, machine learning, neuroscience
Areas: AI for Science › Brain Dynamics and Medical Imaging › Neural Dynamics Modeling
Summary
Metric similarity analysis (MSA) is a Riemannian geometry-based framework that compares the intrinsic geometry of neural manifolds, enabling fine-grained analysis of neural computations across learning regimes and model types.
Explained to a 5-year-old
Some computer programs learn by making pictures inside their brain. We want to compare how different programs think, but the usual way only looks at the numbers they use. This new idea looks at the shape of those numbers, like how points are arranged on a curved surface. By using special math, we can see if two programs are doing the same kind of thinking or different things. This helps scientists understand both real brains and artificial intelligence better.
Explained to a 5-year-old, longer
Computers and brains both use networks of connections to think. These connections create patterns of numbers that can be drawn as points in space. Usually, we compare these patterns by looking at how close the numbers are. But that only shows the outside shape, not the deeper way the patterns are organized. The new idea uses a special kind of math that looks at the inner shape of these patterns. It treats the patterns like surfaces that can bend and curve, like a ball or a saddle. By studying these curved surfaces, we can tell if two networks are doing the same kind of thinking. It also helps us see differences between networks that learn quickly and those that learn slowly. We can compare how brain-like networks and computer networks behave during tasks. It also works for models that create images, like those used in art and design. This gives researchers a powerful tool to understand how intelligence works in both natural and artificial systems. In short, it lets us see the hidden geometry of thinking inside machines.
For a technical reader
The paper introduces a geometry-aware similarity metric (MSA) that compares neural representations by analyzing their intrinsic Riemannian structure rather than their extrinsic Euclidean layout. By leveraging tools from differential geometry, MSA provides invariances to coordinate changes, scaling, and rotations, making it robust for cross-model comparison. The authors demonstrate its utility on three diverse tasks: distinguishing rich versus lazy learning regimes in deep nets, comparing dynamics of RNNs and state-space models during working-memory tasks, and probing statistical manifolds of diffusion models. This approach enables researchers and engineers to diagnose subtle computational differences that standard metrics like CCA, RSA, or CKA miss. Overall, MSA offers a mathematically grounded, broadly applicable framework for neural-representation analysis in both neuroscience and machine learning.
Problem
Current similarity measures compare neural representations in state space, focusing on extrinsic geometry, which can obscure important differences in the underlying computations performed by neural networks. This makes it difficult to distinguish fundamentally different neural computations using standard metrics.
Method
The approach leverages tools from Riemannian geometry to construct similarity metrics that operate on the intrinsic geometry of neural manifolds. It ensures invariance to coordinate changes, scaling, and rotations, and provides a mathematically grounded framework for comparing neural representations.
Contributions
Introduces metric similarity analysis (MSA), a Riemannian geometry-based framework for intrinsic similarity comparison of neural manifolds, and demonstrates its utility across deep networks, RNNs, state-space models, and diffusion models.
Practical relevance
Offers a mathematically grounded framework for comparing neural computations, enabling deeper insights in both neuroscience and machine learning research.
This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction