TL;DR
State-space models (SSMs) based on harmonic oscillators can efficiently model long-range sequences, but existing variants strictly tie their energy dissipation ("forgetting") to state evolution time scales. Damped Linear Oscillatory State-Space models (D-LinOSS) introduce learnable continuous-time damping to decouple oscillation frequency from energy dissipation. This unlocks the entire stable unit disk of recurrent eigenvalues, speeding up convergence and outperforming previous oscillatory and standard SSMs across long-sequence benchmarks without adding computational overhead.
What Problem Does This Paper Address?
Linear state-space models (SSMs) scale linearly with sequence length and run efficiently in parallel, avoiding the quadratic computational bottleneck of standard attention. Recently, Linear Oscillatory State-Space models (LinOSS) introduced second-order dynamical systems inspired by forced harmonic oscillators.
However, LinOSS relies on continuous-time systems without damping. To introduce energy dissipation (forgetting), LinOSS depends entirely on the numerical ODE discretization method (implicit vs. symplectic/IMEX integration). This creates a rigid coupling where an eigenvalue's decay rate is locked directly to its oscillation frequency. The set of reachable recurrent eigenvalues in LinOSS forms a measure-zero 1D curve inside the complex unit disk. As a result, the model struggles to capture general dynamical decays and forces practitioners to treat discretization as a clunky binary hyperparameter.
Methods
D-LinOSS incorporates a continuous-time damping matrix into the governing second-order differential equation: $$y''(t) = -Ay(t) - Gy'(t) + Bu(t)$$ where $A$ controls oscillation frequency, and $G$ is a non-negative diagonal matrix governing damping (latent energy dissipation).
Key technical contributions include:
- Symplectic Discretization (IMEX): Discretizing the damped system yields a recurrence matrix $M$ computed via fast associative parallel scans. This removes the need to select between different discretization schemes.
- Guaranteed Stability via Reparameterization: The authors prove that when $(G_i - \Delta t_i A_i)^2 \le 4A_i$, the recurrent eigenvalues come in complex conjugate pairs with magnitude $|\lambda_i| = 1 / \sqrt{1 + \Delta t_i G_i} \le 1$. Parameters are clamped during training to guarantee stability.
- Full Spectral Coverage: The paper establishes a bijection between the parameter space $(A_i, G_i)$ and the open complex unit disk $\mathbb{C}_{|z| \le 1} \setminus \{0\}$.
- Ring-Based Eigenvalue Initialization: Rather than sampling continuous parameters directly, the authors invert the bijection to initialize eigenvalues uniformly across an annulus ($|\lambda| \in [0.9, 1.0]$) and angle ($\phi \in [0, 2\pi)$).
Datasets
The authors evaluate D-LinOSS on long-context sequence benchmarks across several scientific domains:
- Synthetic Tasks: A scalar exponential decay regression task ($\lambda = 0.8$), the classic synthetic adding problem (lengths 500 to 5,000), and position-skewed adding tasks (first 100 vs. last 100 tokens).
- UEA Time-Series Classification Archive: Six long-range multivariate datasets (lengths up to 17,984): EigenWorms, SelfRegulationSCP1, SelfRegulationSCP2, EthanolConcentration, Heartbeat, and MotorImagery.
- PPG-DaLiA: A wearable sensor regression benchmark predicting heart rate from multi-modal bio-signals over sequences up to 50,000 steps.
- Weather Forecasting: Predicting 720 future hourly climatological steps from 720 past steps using NOAA weather data from 1,600 locations.
(No new datasets were introduced; evaluations use established community benchmarks).
Key Insights and Ideas
- Universality $\neq$ Practical Trainability: LinOSS was already proven to be a universal approximator for continuous causal operators. However, in synthetic tests learning a simple exponential decay ($\lambda = 0.8$), baseline LinOSS failed because $\lambda = 0.8$ fell outside its restricted 1D spectral curve. D-LinOSS achieved 10–30$\times$ lower error because its spectrum covers the full unit disk.
- Long-Term Memory Demands Low Damping: Hessian-based parameter saliency analysis on position-skewed adding tasks revealed that model loss is exponentially more sensitive to high-magnitude eigenvalues ($L_\lambda \propto e^{5.5|\lambda|}$) when information must be remembered from early in the sequence, confirming the critical role of learnable damping in long-range retention.
- Adaptive Damping Outperforms Static Damping: Fixing damping to a constant ($G=1$) performed worse than leaving the system completely undamped, highlighting that different feature channels require distinctly tuned dissipation rates.
Key Results
- Synthetic Exponential Decay: D-LinOSS achieved test RMSE of $0.8 \times 10^{-3}$, roughly $10\times$ lower than LinOSS-IM ($8.0 \times 10^{-3}$) and $30\times$ lower than LinOSS-IMEX ($24.5 \times 10^{-3}$).
- UEA Classification: Attained the highest average accuracy across all six datasets (68.0%), beating LinOSS-IM (67.8%), LinOSS-IMEX (65.0%), Mamba (58.6%), and S5 (61.8%).
- PPG-DaLiA Regression: Reduced mean squared error to $6.16 \times 10^{-2}$, outperforming LinOSS-IM ($6.4 \times 10^{-2}$) and S6 ($12.88 \times 10^{-2}$).
- Weather Forecasting: Reduced long-horizon forecasting MAE to 0.486, compared to 0.508 for LinOSS-IMEX and 0.578 for S4.
- Training Convergence: On the adding problem, D-LinOSS reached target validation MSE $1.4\times$ to $1.7\times$ faster than LinOSS-IM (LinOSS-IMEX failed to learn). On PPG-DaLiA, it converged $2.7\times$ faster than LinOSS-IM and $4.6\times$ faster than LinOSS-IMEX.
Limitations and Future Work
- Linear Time-Invariance (LTI): Because D-LinOSS is an LTI system, its state transitions do not dynamically depend on input content, limiting its capability on tasks requiring selective copy or associative recall (such as language modeling).
- Future Directions: The authors identify incorporating input-dependent time-varying dynamics (akin to Mamba/S6) into oscillatory SSMs as an essential next step. They also plan to expand evaluation in domains dominated by wave mechanics and oscillations, such as seismology, astrophysics, and climate modeling.
Summary updated