Fast dynamical similarity analysis
Arman Behrad, Mitchell Ostrow, Mohammad Taha Fakharian, Ila Fiete, Christian Beste, Shervin Safavi
TL;DR
The paper tackles the computational bottleneck of dynamical similarity analysis by introducing fastDSA, which combines automatic rank selection via SVHT with three efficient vector-field alignment optimizers. It preserves the core invariances and sensitivities of the original DSA while delivering substantial speedups, enabling scalable comparisons across neural networks, circuits, and data-model pairs. The authors validate fastDSA on synthetic and controlled dynamical scenarios, showing robustness to geometric deformations, effective detection of dynamical shifts, and superior sensitivity to subtle changes compared to KWDSA, with practical implications for large-scale neuroscience and AI research. Limitations include embedding-parameter sensitivity and SVHT caveats at extreme SNRs, motivating future work on adaptive parameter selection and integration with noisy-DMD variants.
Abstract
To understand how neural systems process information, it is often essential to compare one circuit with another, one brain with another, or data with a model. Traditional similarity measures ignore the dynamical processes underlying neural representations. Dynamical similarity methods offer a framework to compare the temporal structure of dynamical systems by embedding their (possibly) nonlinear dynamics into a globally linear space and there computing conjugacy metrics. However, identifying the best embedding and computing these metrics can be computationally slow. Here we introduce fast Dynamical Similarity Analysis (fastDSA), which is computationally far more efficient than previous methods while maintaining their accuracy and robustness. FastDSA introduces two key components that boost efficiency: (1) automatic selection of the effective model order of the Hankel (delay) embedding from the data via a data-driven singular-value threshold that identifies the informative subspace and discards noise to lower computational cost without sacrificing signal, and (2) a novel optimization procedure and objective, which replaces the slow exact orthogonality constraint in finding a minimal distance between dynamics matrices with a lightweight process to keep the search close to the space of orthogonal transformations. We demonstrate that fastDSA is at least an order of magnitude faster than the previous methods. Furthermore, we demonstrate that fastDSA has the properties of its ancestor, including its invariances and sensitivities to system dynamics. FastDSA, therefore, provides a computationally efficient and accurate method for dynamical similarity analysis.
