Dynamical system reconstruction from partial observations using stochastic dynamics
Viktor Sip, Martin Breyton, Spase Petkoski, Viktor Jirsa
TL;DR
This work tackles reconstructing stochastic dynamical systems from partially observed data by introducing Double Projection Dynamical System Reconstruction (DPDSR), a variational autoencoder framework with dual encoders that infer both latent states $z_t$ and driving noise $\epsilon_t$. Observations $x_t$ are mapped to a state trajectory $\hat{z}_{1:T}$ and a noise trajectory $\epsilon_{1:T}$, after which the system is evolved with a generative model $z_t = \tanh\left( f(z_{t-1}) + B \epsilon_t \right)$ and $x_t = g(z_t) + \Sigma_\eta \eta_t$. Training optimizes a ELBO-like loss combining reconstruction of observations and latent states with a KL term, while employing teacher forcing every $\tau$ steps to stabilize long-horizon dynamics; regularization supports desirable state scaling. The method is benchmarked on six datasets, including deterministic chaos and real neural/ECG data, and analyzed to reveal two regimes governed by $\tau$: a deterministic-chaos regime at small $\tau$ and a noise-driven regime at larger $\tau$. DPDSR generally outperforms deterministic alternatives on stochastic problems and remains competitive on chaotic systems, offering robust reconstruction under partial observability and insight into the learned attractors. This approach advances practical learning of noise-driven dynamical systems with interpretable long-term behavior, with potential impact on neuroscience and other fields where partial observations hinder traditional modeling.
Abstract
Learning stochastic models of dynamical systems underlying observed data is of interest in many scientific fields. Here we propose a novel method for this task, based on the framework of variational autoencoders for dynamical systems. The method estimates from the data both the system state trajectories and noise time series. This approach allows to perform multi-step system evolution and supports a teacher forcing strategy, alleviating limitations of autoencoder-based approaches for stochastic systems. We demonstrate the performance of the proposed approach on six test problems, covering simulated and experimental data. We further show the effects of the teacher forcing interval on the nature of the internal dynamics, and compare it to the deterministic models with equivalent architecture.
