Autocorrelation Matters: Understanding the Role of Initialization Schemes for State Space Models
Fusheng Liu, Qianxiao Li
TL;DR
This work addresses initialization for state-space models (SSMs) by centering analysis on input sequence autocorrelation rather than purely HiPPO-based priors. It shows that the model timescale $\Delta$ should be chosen in light of the data autocorrelation spectrum, that allowing $\Re(W)=0$ can dramatically extend memory without sacrificing initialization stability, and that the imaginary parts of the state matrix $W$ govern optimization conditioning while introducing a tradeoff between approximation and estimation when dominant frequencies are closely spaced. The authors provide theoretical bounds linking $\Delta$ to sequence length $L$ via $\lambda_{\max}(\mathbb{E}[xx^\top])$, establish conditions under which zero real parts improve memory, and derive bounds on the Gram matrix spectrum to explain conditioning benefits of complex-valued SSMs, complemented by experiments on copying tasks, decorrelated sequential MNIST, and Long Range Arena. Together, these results offer a data-driven initialization framework for SSMs that improves stability, memory, and optimization efficiency in fixed-length sequence tasks, with practical implications for long-range modeling across vision, time series, and language processing. Key ideas include the dependence on data autocorrelation for $\Delta$, the stabilizing yet memory-enhancing role of $\Re(W)=0$, and the conditioning benefits and tradeoffs introduced by the imaginary parts of $W$.
Abstract
Current methods for initializing state space model (SSM) parameters primarily rely on the HiPPO framework \citep{gu2023how}, which is based on online function approximation with the SSM kernel basis. However, the HiPPO framework does not explicitly account for the effects of the temporal structures of input sequences on the optimization of SSMs. In this paper, we take a further step to investigate the roles of SSM initialization schemes by considering the autocorrelation of input sequences. Specifically, we: (1) rigorously characterize the dependency of the SSM timescale on sequence length based on sequence autocorrelation; (2) find that with a proper timescale, allowing a zero real part for the eigenvalues of the SSM state matrix mitigates the curse of memory while still maintaining stability at initialization; (3) show that the imaginary part of the eigenvalues of the SSM state matrix determines the conditioning of SSM optimization problems, and uncover an approximation-estimation tradeoff when training SSMs with a specific class of target functions.
