TL;DR
This paper provides a formal mathematical framework for Out-of-Domain Generalization (OODG) in dynamical systems reconstruction. It proves that while library-based methods can generalize if they have the correct structural priors, black-box deep learning models fundamentally struggle to discover unobserved dynamical regimes due to an inherent "simplicity bias" and the fact that generalizing solutions often reside in unstable regions of the loss landscape.
What Problem Does This Paper Address?
In the quest to automate scientific discovery, researchers use Deep Learning (DL) to reconstruct the governing equations of dynamical systems (DS) from time-series data. While current models are excellent at short-term forecasting on data similar to what they’ve seen, they often fail to generalize to unobserved dynamical regimes.
The core challenge is multistability: many natural systems (like the brain or the climate) can exhibit completely different behaviors—such as resting versus spiking in a neuron—depending on their initial state. If a model only sees one behavior during training, can it predict the other? Most current benchmarks focus on "monostable" systems where only one behavior exists, masking a fundamental limitation: black-box models typically cannot "see" into regions of the state space they haven't visited.
Methods
The authors move beyond standard metrics like Mean Squared Error (MSE), which fails for chaotic systems due to exponential trajectory divergence. Instead, they introduce a framework based on ergodic theory and topology:
- Statistical Error: Uses the Sliced Wasserstein-1 distance to compare the "occupation measures" (how much time a system spends in different regions) of the true system versus the reconstruction.
- Topological Error: Assesses whether the reconstruction shares the same "anatomy" as the ground truth by comparing Lyapunov spectra (stability indicators) and using Hausdorff distances to measure the closeness of limit sets.
- Learnability Distribution: A formal way to quantify the probability that a model with zero training error will actually generalize to new domains.
Datasets
The authors surveyed 59 DSR papers and found that multistability is rarely addressed. To test their framework, they used:
- Duffing Oscillator: A classic bistable system with two coexisting equilibrium points.
- Multistable Lorenz-like System: A system featuring two chaotic "scroll" attractors.
- Lorenz-96: A higher-dimensional model used in atmospheric convection studies.
- Synthetic Neuron Model: Used to illustrate OODG across spiking and resting regimes.
Key Insights and Ideas
- The "Algebraic Trajectory" Trap: For library-based methods like SINDy, generalization is only possible if the training data is "complex" enough. If a trajectory is too simple (e.g., it perfectly follows a circle), it doesn't provide enough information to uniquely identify the underlying physics.
- Simplicity Bias: RNNs and other black-box models have an inbuilt bias toward "simple" functions. In the context of dynamical systems, this manifests as a bias toward monostability. Models initialized with standard schemes naturally gravitate toward systems with only one attractor.
- Generalizing Solutions are Sharp Saddle Points: In standard machine learning, "flat" minima in the loss landscape are thought to generalize better. The authors found the opposite for DSR: models that generalize across the whole state space often correspond to sharp saddle points. Standard optimization (SGD) tends to "unlearn" these generalizing features, falling into "spurious valleys" that only fit the training data.
Key Results
- Theorem 4.1 (The Good News): Library-based methods (like SINDy) are strictly learnable. If you have the right library and a sufficiently complex trajectory, one basin of attraction is enough to reconstruct the entire system.
- Theorem 4.2 (The Bad News): For universal approximators (like RNNs or Neural ODEs), OODG is not strictly learnable. There are infinitely many ways to fit the training data that lead to wild errors in unobserved regions.
- Empirical Failure: State-of-the-art models (RC, N-ODE, shPLRNN) trained on one basin of the Duffing system failed to reconstruct the second attractor. When retrained on just one basin, models that previously knew both attractors quickly "forgot" the unobserved one, with statistical errors increasing 20-fold.
Limitations and Future Work
The authors acknowledge that library-based methods, while powerful, fail if the library is missing crucial terms—a common problem for complex real-world systems like the brain.
Future work should focus on:
- New Training Algorithms: Developing optimizers that explicitly encourage and preserve multistability rather than smoothing it away.
- Structural Priors: Finding ways to inject physical or biological knowledge into black-box models to constrain their behavior in unobserved regions.
- Initialization: Designing initialization schemes that don't start with a heavy bias toward monostable behavior.
Summary updated