Towards a theory of learning dynamics in deep state space models
Jakub Smékal, Jimmy T. H. Smith, Michael Kleinman, Dan Biderman, Scott W. Linderman
TL;DR
The paper addresses the theoretical gap in learning dynamics for state-space models by analyzing gradient-descent training of linear SSMs on a squared loss, focusing on how data covariance and latent size shape parameter evolution. By transforming the SSM into the Fourier domain, it derives analytic continuous-time dynamics for a one-layer case and connects these dynamics to the learning behavior of deep linear feed-forward networks, using sufficient statistics $\sigma$ and $\eta$ to describe covariances. It shows that over-parameterization (larger latent size $N$) can accelerate convergence, with time constants scaling as $O\left(\frac{\tau}{N\sigma}\right)$ in balanced setups and $O\left(\frac{\tau}{N^2\eta}\right)$ under other regimes, linking SSM learning dynamics to established deep-network theory. These results provide a principled step toward a comprehensive theory of learning dynamics in deep state-space models and motivate extensions to multi-layer and nonlinear SSMs.
Abstract
State space models (SSMs) have shown remarkable empirical performance on many long sequence modeling tasks, but a theoretical understanding of these models is still lacking. In this work, we study the learning dynamics of linear SSMs to understand how covariance structure in data, latent state size, and initialization affect the evolution of parameters throughout learning with gradient descent. We show that focusing on the learning dynamics in the frequency domain affords analytical solutions under mild assumptions, and we establish a link between one-dimensional SSMs and the dynamics of deep linear feed-forward networks. Finally, we analyze how latent state over-parameterization affects convergence time and describe future work in extending our results to the study of deep SSMs with nonlinear connections. This work is a step toward a theory of learning dynamics in deep state space models.
