Data-Driven Reduced Modeling of Recurrent Neural Networks
Alice Marraffa, Renate Krause, Valerio Mante, George Haller
TL;DR
The paper introduces data-driven Spectral Submanifolds (SSMs) as robust, low-dimensional invariants attached to fixed points in high-dimensional recurrent neural networks (RNNs). By leveraging the SSMLearn algorithm, it derives polynomial reduced-order models that capture core nonlinear dynamics across tasks, including context-dependent decisions, input-controlled oscillations, and memory-based behavior. The results demonstrate one- and two-dimensional slow/unstable manifolds that reproduce full RNN trajectories and reveal the dynamical motifs underlying line attractors, ring attractors, and heteroclinic memory structures, even in the presence of perturbations or parameter changes. This framework provides precise, interpretable descriptions of neural computations and offers a general, noise-tolerant approach for analyzing complex RNN dynamics beyond traditional time-scale separation assumptions.
Abstract
Artificial Recurrent Neural Networks (RNNs) are widely used in neuroscience to model the collective activity of neurons during behavioral tasks. The high dimensionality of their parameter and activity spaces, however, often make it challenging to infer and interpret the fundamental features of their dynamics. In this study, we employ recent nonlinear dynamical system techniques to uncover the core dynamics of several RNNs used in contemporary neuroscience. Specifically, using a data-driven approach, we identify Spectral Submanifolds (SSMs), i.e., low-dimensional attracting invariant manifolds tangent to the eigenspaces of fixed points. The internal dynamics of SSMs serve as nonlinear models that reduce the dimensionality of the full RNNs by orders of magnitude. Through low-dimensional, SSM-reduced models, we give mathematically precise definitions of line and ring attractors, which are intuitive concepts commonly used to explain decision-making and working memory. The new level of understanding of RNNs obtained from SSM reduction enables the interpretation of mathematically well-defined and robust structures in neuronal dynamics, leading to novel predictions about the neural computations underlying behavior.
