We study the fundamental problem of one-step prediction of a marginally stable unknown nonlinear dynamical system. We describe an algorithm for this problem, based on the technique of spectral filtering, which learns a mapping from past observations to the next based on a spectral representation of the system. Using techniques from online convex optimization, we prove vanishing prediction error for any nonexpansive nonlinear dynamical system with finitely many marginally stable modes, with rates governed by a novel quantitative control-theoretic notion of learnability. The main technical component of our method is a new spectral filtering algorithm for linear dynamical systems, which incorporates past observations and applies to general noisy and marginally stable systems. This generalizes the original spectral filtering algorithm to both asymmetric dynamics as well as incorporating noise correction, and is of independent interest.
Figure 1: Instantaneous losses ∥y^t−yt∥2 plotted on log scale as a function of t for the fully and partially observed Lorenz system, respectively, averaged over 12 random seeds with a smoothing filter of length 1000. Shading indicates ±1 standard deviation.
Figure 2: Two sets of autoregressive trajectories of length 512, plotted alongside the ground truth trajectory given by continuing to simulate the Lorenz ODE. The initial positions at which the rollouts start are marked with a red star.
Appendix figures & tables7 assets
Supplementary material from the paper’s appendix.
Appendix
Method
Marginally stable
dhidden -free
asymmetric
adversarial noise
Sys-ID
×
×
✓
×
Regression, open-loop
×
✓
✓
✓
Regression, closed-loop
✓
×
✓
✓
Spectral filtering ( Hazan et al., 2017 )
✓
✓
×
×
USP ( Marsden and Hazan, 2025 )
✓
✓
∼✓
×
OSF (ours)
✓
✓
✓
✓
Appendix
Table 1: Methods for learning LDS.
Figure 3: Instantaneous losses ∥y^t−yt∥2 plotted as a function of t for experiments (1) and (2), averaged over 12 random seeds with a smoothing filter of length 100 and 1000, respectively. Shading indicates ±1 standard deviation.
Figure 4: Instantaneous losses ∥y^t−yt∥2 plotted on log scale as a function of t for the fully and partially observed double pendulum, respectively, averaged over 12 random seeds with a smoothing filter of length 1000. Shading indicates ±1 standard deviation.
Figure 5: Predictions y^t of the four algorithms along with the ground truth yt plotted as a function of t for the fully and partially observed double pendulum, respectively, on a single random seed. We zoom in on the last 100 steps of the trajectory. For the full observation case, since we cannot plot the full state we choose to plot the sine of the angle between the two arms of the pendulum, which is a representative coordinate for the task of next-state prediction.
Figure 6: Densities of the stationary distribution π corresponding to the chosen potential V for dX equal to 1 and 2, respectively. We see a number of asymmetric wells that is exponential in the dimension.
Figure 7: Instantaneous losses ∥y^t−yt∥2 plotted on log scale as a function of t for the Langevin dynamics, averaged over 12 random seeds with a smoothing filter of length 200. Shading indicates ±1 standard deviation.
Figure 8: Eigenvalues of the lifted linear dynamics learned by the eDMD algorithm on the Lorenz system, double pendulum, and Langevin dynamics, respectively. The x and y axes display real and complex components, respectively, and we draw the unit circle in red for the reader’s convenience.
Dynamical systems studies how states evolve over time, including stability, feedback, chaos, and transitions in physical, biological, and engineered systems.