Discovering Sparse Interpretable Dynamics from Partial Observations

Peter Y. Lu, Joan Ariño, Marin SoljacicarXiv 2021 · DOI

Abstract

Identifying the governing equations of a nonlinear dynamical system is key to both understanding the physical features of the system and constructing an accurate model of the dynamics that generalizes well beyond the available data. We propose a machine learning framework for discovering these governing equations using only partial observations, combining an encoder for state reconstruction with a sparse symbolic model. Our tests show that this method can successfully reconstruct the full system state and identify the underlying dynamics for a variety of ODE and PDE systems.

Introduction

In many real-world scenarios—from fluid dynamics to optical signal processing—we can only observe a fraction of a system's state. We might see the intensity of a light wave but not its phase, or the concentration of one chemical species but not the others. Traditional "system identification" methods usually require the full state to be measured to find the governing equations. While deep learning can predict future states from partial data, these models are typically "black boxes" that offer no physical insight and generalize poorly. The challenge addressed here is: can we reconstruct the missing variables and find the interpretable, symbolic math (e.g., $dx/dt = ...$) that governs the whole system at the same time?

Methodology

The proposed architecture consists of two primary components:

  1. The Encoder: A neural network (typically convolutional) that takes a sequence of visible states and learns to map them to the "hidden" or unobserved states.
  2. The Symbolic Model: A sparse linear combination of predefined terms (like $u^2$, $uv$, or spatial derivatives like $\partial_{xx}u$). This represents the actual physics of the system.
Schematic of the proposed framework for discovering dynamics from partial observations.

A key innovation is the training objective. Instead of computationally expensive integration, the authors use automatic differentiation (via the JAX library) to compute higher-order symbolic time derivatives from the model. These are matched directly against finite-difference estimates calculated from the raw data. This allows the model to learn the physics without ever having to run a full simulation during the training loop.

Experimental Results

The framework was evaluated on several classic and complex dynamical systems, including chaotic ODEs (Rössler and Lorenz systems) and 2D PDEs (diffusion systems and diffusive Lotka–Volterra).

Reconstruction and discovery results for the chaotic Rössler and Lorenz systems.

Key Insights

  • Sparsity as a Physical Prior: By forcing the symbolic model to be sparse, the system is nudged toward finding the "true" physical law rather than just over-fitting the noise.
  • Derivative Matching: By matching higher-order derivatives (e.g., $d^2g/dt^2$), the model can bridge the gap between visible and hidden states. A theoretical rule of thumb suggests that to reconstruct an $N$-dimensional system using only second-order derivatives, one generally needs at least $N/2$ visible states.
  • High Accuracy: For the chaotic Rössler and Lorenz systems, the model reconstructed hidden states with relative errors as low as $4.6 \times 10^{-4}$ and $1.7 \times 10^{-3}$, respectively. In PDE experiments, the model successfully identified the exact coefficients of the governing equations.

Discussion and Future Work

While powerful, the method is sensitive to measurement noise because it relies on finite difference estimates for derivatives. Higher-order derivatives are particularly noisy, which can destabilize training. Additionally, if the number of visible states is too low, the sparse optimizer may get stuck in local minima. Future work aims to incorporate more sophisticated symbolic regression techniques to discover terms that aren't in a pre-set library.

Because the model learns the actual symbolic equations, it can predict the system's behavior far beyond the training data, even in chaotic regimes where standard neural networks typically fail. This framework represents a significant step toward automated scientific discovery from incomplete experimental data.

Summary updated

BibTeX
@misc{lu2021discovering,
  author = {Peter Y. Lu and Joan Ariño and Marin Soljacic},
  title = {{Discovering Sparse Interpretable Dynamics from Partial Observations}},
  year = {2021},
  eprint = {2107.10879},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2107.10879},
}
Figure