Beyond Geometry: Comparing the Temporal Structure of Computation in Neural Circuits with Dynamical Similarity Analysis

Mitchell Ostrow, Adam Eisen, Leo Kozachkov, Ila Fiete
6/16/2023
q-bio.NCcs.LGcs.NE

No official code found. Best implementation: mitchellostrow/DSA (98 stars, MIT, last commit 2026-04-29).

Abstract

How can we tell whether two neural networks utilize the same internal processes for a particular computation? This question is pertinent for multiple subfields of neuroscience and machine learning, including neuroAI, mechanistic interpretability, and brain-machine interfaces. Standard approaches for comparing neural networks focus on the spatial geometry of latent states. Yet in recurrent networks, computations are implemented at the level of dynamics, and two networks performing the same computation with equivalent dynamics need not exhibit the same geometry. To bridge this gap, we introduce a novel similarity metric that compares two systems at the level of their dynamics, called Dynamical Similarity Analysis (DSA). Our method incorporates two components: Using recent advances in data-driven dynamical systems theory, we learn a high-dimensional linear system that accurately captures core features of the original nonlinear dynamics. Next, we compare different systems passed through this embedding using a novel extension of Procrustes Analysis that accounts for how vector fields change under orthogonal transformation. In four case studies, we demonstrate that our method disentangles conjugate and non-conjugate recurrent neural networks (RNNs), while geometric methods fall short. We additionally show that our method can distinguish learning rules in an unsupervised manner. Our method opens the door to comparative analyses of the essential temporal structure of computation in neural circuits.

View on arXivView PDF

Code Implementations(1)

mitchellostrow/DSACommunity100%
MIT

Dynamical Similarity Analysis code accompanying the paper "Beyond Geometry: comparing the temporal structure of computation in neural circuits via dynamical similarity analysis"

9815PythonJul 12, 20235 months agoMIT

Cite this paper

@article{ostrow2023beyond,
  title  = {Beyond Geometry: Comparing the Temporal Structure of Computation in Neural Circuits with Dynamical Similarity Analysis},
  author = {Mitchell Ostrow and Adam Eisen and Leo Kozachkov and Ila Fiete},
  year   = {2023},
  eprint = {2306.10168},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2306.10168v3},
  journal = {NEURIPS 2023 2023}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2306.10168.svg)](https://codeofpaper.com/paper/2306.10168)

Discussion