Papers
Topics
Authors
Recent
Search
2000 character limit reached

Oscillatory State-Space Models (LinOSS)

Updated 24 March 2026
  • Oscillatory State-Space Models are a class of state-space models that use forced harmonic oscillator dynamics to capture long-range temporal interactions.
  • LinOSS employs fully implicit and implicit-explicit symplectic discretization schemes to ensure numerical stability and efficient inference over long sequences.
  • Extensions like D-LinOSS decouple damping from frequency, enhancing model expressivity and achieving state-of-the-art performance in time series classification, forecasting, and regression.

Oscillatory State-Space Models (LinOSS) constitute a class of state-space models for sequence learning, parameterized to capture long-range temporal interactions using principles drawn from the dynamics of forced harmonic oscillators. The LinOSS framework formalizes the transition from classical oscillation-based statistical modeling to computationally efficient, stable, and universal models suitable for large-scale time series classification, regression, and forecasting. Extensions, such as Damped LinOSS (D-LinOSS), address limitations of frequency–damping coupling and further broaden the model expressivity while preserving stability and efficient inference.

1. Mathematical Foundations and Model Structure

Oscillatory State-Space Models are based on the state-space formulation of forced (and optionally damped) harmonic oscillators. The canonical continuous-time model for mm uncoupled oscillatory channels is defined by the second-order ordinary differential equation:

x¨(t)+Dx˙(t)+Ω2x(t)=Bu(t)\ddot{x}(t) + D\,\dot{x}(t) + \Omega^2 x(t) = B\,u(t)

where x(t)Rmx(t)\in\mathbb{R}^m is the latent position, D=diag(d1,,dm)0D=\operatorname{diag}(d_1,\dots,d_m)\geq 0 is the (optional) diagonal damping, Ω=diag(ω1,,ωm)\Omega=\operatorname{diag}(\omega_1,\dots,\omega_m) with ωk>0\omega_k>0 are oscillator frequencies, BRm×pB\in\mathbb{R}^{m\times p} is the external input gain, and u(t)Rpu(t)\in\mathbb{R}^p the input.

By augmenting with the velocity v(t)=x˙(t)v(t)=\dot{x}(t) and stacking as z(t)=[x(t);v(t)]R2mz(t) = [x(t); v(t)] \in \mathbb{R}^{2m}, the model is recast as a linear time-invariant (LTI) first-order system:

z˙(t)=Sz(t)+B1u(t),y(t)=Cz(t)\dot{z}(t) = S\,z(t) + B_1\,u(t), \quad y(t) = C\,z(t)

with S=[0Im Ω2D]S = \begin{bmatrix} 0 & I_m \ -\Omega^2 & -D \end{bmatrix} and B1=[0;B]B_1 = [0; B]. The read-out matrix CC selects which state is observed, such as the position or velocity.

This structure encompasses a spectrum from completely oscillatory (no damping, D=0D=0) to damped, potentially multi-timescale, evolutions. For statistical time series, discrete-time analogs are derived by stable numerical discretizations of the ODE.

2. Discretization Techniques and Stability

LinOSS introduces two primary discretization schemes:

  • Fully Implicit (LinOSS-IM): Employing backward-Euler on both xx and vv, the dynamics evolve as

(IΔS)zn=zn1+ΔB1un(I - \Delta S) z_n = z_{n-1} + \Delta B_1 u_n

leading to the recurrent update zn=AIMzn1+BIMunz_n = A_{\text{IM}} z_{n-1} + B_{\text{IM}} u_n, with AIM=(IΔS)1A_{\text{IM}} = (I - \Delta S)^{-1}.

  • Implicit-Explicit Symplectic (LinOSS-IMEX): vv is advanced implicitly, xx explicitly,

vn=vn1+Δ(Ω2xn1+Bun),xn=xn1+Δvnv_n = v_{n-1} + \Delta(-\Omega^2 x_{n-1} + B u_n), \quad x_n = x_{n-1} + \Delta v_n

which yields zn=AIMEXzn1+BIMEXunz_n = A_{\text{IMEX}}z_{n-1} + B_{\text{IMEX}}u_n.

Parameterization constrains Ω2\Omega^2 to be diagonal and nonnegative. The crucial theoretical guarantee is that these discretizations produce stable dynamics: for each 2×22\times 2 block associated with oscillator kk, all eigenvalues of AdA_d reside on or within the unit circle for any ωk20\omega_k^2\geq 0 (and Δ>0\Delta>0). In the undamped (symplectic) LinOSS-IMEX case, λ=1|{\lambda}|=1—the model is exactly energy-preserving and time-reversible (Rusch et al., 2024).

In practical implementations, this structure enables efficient O(m)O(m) per-step computation and lends itself to highly parallel associative scan algorithms for inference (Rusch et al., 2024, Boyer et al., 17 May 2025).

3. Universality, Time-Reversibility, and Expressivity

Oscillatory State-Space Models are rigorously shown to be universal in the sense that combinations of LinOSS blocks (ODE + nonlinearity + output) can uniformly approximate any continuous and causal operator Φ:C0([0,T];Rp)C0([0,T];Rq)\Phi : C_0([0,T];\mathbb{R}^p) \to C_0([0,T];\mathbb{R}^q) on compact sets [(Rusch et al., 2024), Theorem 3.4]. The technical mechanism follows from representing operator kernels as finite-horizon sine-transform kernels and mounting these in static networks.

LinOSS-IMEX discretizations are symplectic integrators for associated Hamiltonian systems, perfectly preserving the symmetry of time-reversibility. Mapping forward nn steps and backward nn returns the initial state up to machine precision, an algebraic property directly shown by the involutive structure AIMEX1=JAIMEXJ1A_{\text{IMEX}}^{-1} = J A_{\text{IMEX}}^\top J^{-1} for the canonical symplectic JJ (Rusch et al., 2024).

However, in pure LinOSS models, forgetting and oscillatory frequencies are rigidly coupled: the eigenvalues of the transition matrix sweep a one-dimensional curve of modulus 1\leq 1 in the complex plane (unit circle for IMEX, inside for IM). This restricts the ability to represent multi-timescale decay or pure exponential modes (Boyer et al., 17 May 2025).

4. Inference Algorithms and Computation

Efficient inference in LinOSS-based architectures leverages the associativity of the time-update operators. Each time step's local map is (Ad,Bdun)(A_d, B_d u_n), and the overall trajectory can be computed by repeated application using the operation:

(A,X)(B,Y)=(AB,AY+X)(A,X)\circ(B,Y) = (AB, A Y + X)

A parallel-prefix ("scan") algorithm computes all partial products in O(logN)O(\log N) parallel depth and O(Nm2)O(N m^2) total work. The canonical pseudocode executes a parallel scan and then extracts latent state vectors for each nn (Rusch et al., 2024).

Memory is O(Nm)O(N m) for backpropagation, but IMEX reversibility can enable checkpointing strategies for reduced memory in differentiable programming frameworks. Both IM and IMEX models leverage this to achieve scalable sequence learning.

5. Extensions: Damped LinOSS and Expressivity Improvements

Damped LinOSS (D-LinOSS) generalizes the LinOSS framework by introducing learnable damping GG, decoupling energy dissipation ("forgetting" rate) from oscillation frequency:

x¨(t)+2ζω0x˙(t)+ω02x(t)=Bu(t)\ddot{x}(t) + 2\zeta \omega_0 \dot{x}(t) + \omega_0^2 x(t) = B u(t)

Each mode now has its own adjustable damping ratio ζi\zeta_i, with discrete updates via an IMEX scheme. The spectral distribution of the transition matrix covers the entire closed unit disk: for any z1|z| \leq 1, there exist Gi,AiG_i, A_i mapping to zz (proved via a closed-form mapping) (Boyer et al., 17 May 2025). This remedy allows D-LinOSS layers to match arbitrary stability and frequency requirements, overcoming LinOSS's single-timescale limitation.

Furthermore, D-LinOSS eliminates the choice of discretization scheme as a hyperparameter—fixing to IMEX—and reduces the hyperparameter space by 50%, achieving improved empirical results across synthetic and real-world long-sequence tasks with the same O(m),O(Nm)O(m), O(Nm) complexity (Boyer et al., 17 May 2025).

6. Statistical and System Identification Perspectives

Oscillatory state-space models have foundations in both statistical modeling of oscillatory time series and nonlinear system identification. A general statistical oscillatory SSM represents observations as yt=m(ϕt)+εty_t = m(\phi_t) + \varepsilon_t, driven by an unobserved stochastic “phase” ϕt\phi_t characterized by a random walk or autoregressive dynamics. Inference in nonparametric oscillatory SSMs requires particle-based EM algorithms, with identifiability guaranteed up to phase shift and rescaling if the base frequency is irrational (Dahlhaus et al., 2014).

The linearized (LinOSS) case arises by fixing the pattern m(ϕ)m(\phi) to be a parametric function of known form (e.g., a sinusoid or low-order Fourier expansion), at which point the system reduces to a linear Gaussian state-space model. Standard Kalman-based filtering, smoothing, and EM algorithms are optimal for this subcase (Dahlhaus et al., 2014). Nonparametric identification yields, via local linearization, LinOSS surrogates tailored to specific dynamical regimes (Protas et al., 2012).

7. Empirical Performance, Applications, and Implementation

LinOSS models, and D-LinOSS in particular, achieve state-of-the-art results on challenging long-range sequence tasks:

Task & Metric LinOSS-IM LinOSS-IMEX D-LinOSS Best Baselines
UEA-MTSCA (accuracy, avg 6 datasets) 67.8% 65.0% 68.0% LRU/S6: 64.4%
PPG-DaLiA (heart-rate MSE ×102\times 10^{-2}) 6.4 7.5 6.16 Mamba: 10.65, LRU: 15.64
Weather forecasting MAE 0.528 0.508 0.486 S4: 0.578, Informer: 0.731

On extreme-length sequences (up to 50k timesteps), LinOSS-IM attains nearly 2×2 \times the accuracy of Mamba; D-LinOSS further narrows the gap to optimality. In all empirical settings, these models demonstrate high stability, computational scalability, and competitive or superior performance compared to SSM, RNN, and Transformer baselines without requiring complex architectural choices (Rusch et al., 2024, Boyer et al., 17 May 2025).

Practical applications span time-series classification and regression, long-horizon forecasting (weather, biomedical signals), and as stable latent-dynamics modules in generative models or sequence backbones in language, genomics, and audio.


These results collectively position LinOSS and D-LinOSS as foundational architectures for oscillatory sequence modeling, with rigorous guarantees of stability and expressivity, efficient scalable inference, and strong empirical performance. Theoretical connections to both classical oscillatory statistical models and nonlinear dynamical system identification underline their versatility and extensibility (Rusch et al., 2024, Boyer et al., 17 May 2025, Dahlhaus et al., 2014, Protas et al., 2012).

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to Oscillatory State-Space Models (LinOSS).