Comparing Dynamical Models Through Diffeomorphic Vector Field Alignment
Ruiqi Chen, Giacomo Vedovati, Todd Braver, ShiNung Ching
TL;DR
The paper tackles the problem of comparing learned dynamical systems when coordinate choices differ and motifs lie in low-dimensional manifolds within high-dimensional spaces. It introduces DFORM, a framework that learns a diffeomorphic coordinate transform to align vector fields via a pushforward-based orbital similarity loss, implemented with a Neural ODE-based flow atop a linear map. The authors validate linear and nonlinear alignment across synthetic linear and nonlinear systems, flows, and bifurcations, and demonstrate that DFORM can locate invariant manifolds and saddle limit cycles, as well as recover low-dimensional dynamics embedded in high-dimensional neural data like resting-state MINDy models. This approach offers a robust tool for mechanistic comparison, template-based motif discovery, and potential linearization insights for nonlinear dynamical systems in neuroscience and beyond.
Abstract
Dynamical systems models such as recurrent neural networks (RNNs) are increasingly popular in theoretical neuroscience for hypothesis-generation and data analysis. Evaluating the dynamics in such models is key to understanding their learned generative mechanisms. However, such evaluation is impeded by two major challenges: First, comparison of learned dynamics across models is difficult because there is no enforced equivalence of their coordinate systems. Second, identification of mechanistically important low-dimensional motifs (e.g., limit sets) is intractable in high-dimensional nonlinear models such as RNNs. Here, we propose a comprehensive framework to address these two issues, termed Diffeomorphic vector field alignment FOR learned Models (DFORM). DFORM learns a nonlinear coordinate transformation between the state spaces of two dynamical systems, which aligns their trajectories in a maximally one-to-one manner. In so doing, DFORM enables an assessment of whether two models exhibit topological equivalence, i.e., similar mechanisms despite differences in coordinate systems. A byproduct of this method is a means to locate dynamical motifs on low-dimensional manifolds embedded within higher-dimensional systems. We verified DFORM's ability to identify linear and nonlinear coordinate transformations using canonical topologically equivalent systems, RNNs, and systems related by nonlinear flows. DFORM was also shown to provide a quantification of similarity between topologically distinct systems. We then demonstrated that DFORM can locate important dynamical motifs including invariant manifolds and saddle limit sets within high-dimensional models. Finally, using a set of RNN models trained on human functional MRI (fMRI) recordings, we illustrated that DFORM can identify limit cycles from high-dimensional data-driven models, which agreed well with prior numerical analysis.
