Oscillatory State-Space Models
About
We propose Linear Oscillatory State-Space models (LinOSS) for efficiently learning on long sequences. Inspired by cortical dynamics of biological neural networks, we base our proposed LinOSS model on a system of forced harmonic oscillators. A stable discretization, integrated over time using fast associative parallel scans, yields the proposed state-space model. We prove that LinOSS produces stable dynamics only requiring nonnegative diagonal state matrix. This is in stark contrast to many previous state-space models relying heavily on restrictive parameterizations. Moreover, we rigorously show that LinOSS is universal, i.e., it can approximate any continuous and causal operator mapping between time-varying functions, to desired accuracy. In addition, we show that an implicit-explicit discretization of LinOSS perfectly conserves the symmetry of time reversibility of the underlying dynamics. Together, these properties enable efficient modeling of long-range interactions, while ensuring stable and accurate long-horizon forecasting. Finally, our empirical results, spanning a wide range of time-series tasks from mid-range to very long-range classification and regression, as well as long-horizon forecasting, demonstrate that our proposed LinOSS model consistently outperforms state-of-the-art sequence models. Notably, LinOSS outperforms Mamba and LRU by nearly 2x on a sequence modeling task with sequences of length 50k.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Open-loop forecasting | N-body gravity 3 bodies, damped, PARTIAL regime (test) | MSE0.002 | 9 | |
| Q-only open-loop forecasting | Lennard-Jones 3-particle cluster KNOWN regime (test) | MSE3.07e-4 | 9 | |
| Q-only open-loop forecasting | Oscillator conservative | Rollout MSE1.7241 | 9 | |
| Q-only open-loop forecasting | Oscillator damped | Rollout MSE1.3927 | 9 | |
| Q-only open-loop forecasting | RLC circuit damped | Next-Step MSE8.57e-4 | 9 | |
| Q-only open-loop forecasting | 1-DOF Pendulum Conservative (test) | Rollout MSE2.849 | 9 | |
| Q-only open-loop forecasting | 1-DOF Pendulum Windy (test) | Rollout MSE1.458 | 9 | |
| Temporal Dynamics Modeling | Windy Pendulum q-only (test) | WrapMSE (theta^roll, H=100)1.458 | 9 | |
| Q-only open-loop forecasting | Double Pendulum (2-DOF, Conservative) H=100 (test) | MSE1.64 | 9 | |
| Q-only open-loop forecasting | Double Pendulum 2-DOF, Damped H=100 (test) | MSE1.573 | 9 |