NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Universal Approximation Theorems for Dynamical Systems with Infinite-Time Horizon Guarantees

Ábel Ságodi, Il Memming ParkNeurIPS 2026

TL;DR

We have long known that neural networks can approximate dynamical systems over short windows, yet in the long run, they still drift out of phase, tip into the wrong steady state, or shatter smooth memory manifolds. Ságodi and Park establish the first universal approximation theorems that hold all the way to $t \to \infty$ for multistable systems—the mathematical engines behind decision-making, biological rhythms, and working memory. By accepting a tiny, controllable sliver of unavoidable error right on the razor's edge between states, they prove that Neural ODEs can faithfully shadow complex dynamics forever.

What Problem Does This Paper Address?

When we use neural networks to model physical or biological systems (like neural circuits in the brain), we rely on Universal Approximation Theorems (UATs) to assure us the architecture is expressive enough. However, classical UATs have a blind spot: they either apply only to finite time horizons—where standard error bounds blow up exponentially over time—or they demand the "fading memory property," meaning the entire system must eventually collapse to a single global equilibrium.

The landscape of infinite-time approximation

Real computation, especially in neuroscience, relies on multistability: multiple attractors coexisting in the same space. Decisions require distinct basins of attraction; motor rhythms require limit cycles (oscillations); analog working memory requires continuous attractors (like a ring of stable states). Extending guarantees to $[0, \infty)$ for these systems runs headfirst into three failure modes:

  1. B-type (Basin mismatch): Tiny errors near boundaries (separatrices) nudge trajectories into the completely wrong steady state.
  2. P-type (Phase drift): A minuscule mismatch in an oscillator's period accumulates into total phase divergence as $t \to \infty$.
  3. D-type (Discretization): Continuous attractors are fragile; slight perturbations shatter smooth manifolds of states into isolated points.

Methods

Because no imperfect approximation can prevent a trajectory balanced right on a boundary from tipping the wrong way, standard uniform norms fail over infinite time. Instead, the authors introduce $\varepsilon$-$\delta$ closeness (inspired by PAC learning): a model's trajectory stays within error $\varepsilon$ for all $t \ge 0$ across the entire domain, except on a tiny "bad" set of initial conditions near boundaries whose volume is less than $\delta$.

Basin mismatch near separatrices

Using hypothesis classes that approximate both a vector field and its Jacobian ($C^1$ UAP), such as smooth-activation Neural ODEs, they tackle three dynamical regimes:

  • Fixed Points: They exploit Morse-Smale structural stability, where exponential contraction toward attractors counteracts error accumulation, confining B-type errors to a thin $\delta$-collar around separatrices.
  • Limit Cycles: $C^1$ closeness alone cannot stop phase drift. The authors introduce exact period matching, using localized "bump" functions in disjoint neighborhoods around each cycle to rescale flow speed and freeze phase drift.
  • Continuous Attractors: Because continuous manifolds aren't structurally stable, they tile the manifold with a dense grid of discrete hyperbolic attractors spaced closer than $\varepsilon$, trading structural fragility for a bounded D-type error.

Finally, they prove a Temporal Generalization Bound, showing that $\varepsilon$-$\delta$ closeness directly bounds time-averaged $L^p$ error (like MSE) by $\varepsilon^p + \delta \cdot D^p$ (where $D$ is domain diameter).

Datasets

Rather than external empirical datasets, this theoretical work validates its guarantees on synthetic dynamical systems and task-trained recurrent networks:

  • Synthetic Dynamical Systems: A 1D double-well bistable system, the 2D bistable damped Duffing oscillator, the Van der Pol oscillator (limit cycle), a 2D ring attractor, and a 3D system with eight fixed points.
  • Task-Trained Networks: A gated recurrent network trained on a 3-bit flip-flop memory task, and a rectified-tanh network trained on angular velocity integration.

Key Insights and Ideas

  • Decoupling precision from reliability: Treating separatrices as measure-zero hazards—and quarantining them inside $\delta$—turns an impossible uniform-approximation problem into a clean, metrizable topology over infinite time.
  • Direct vs. Embedding Approximation: Unlike finite-width discrete RNNs, which must embed dynamics into higher-dimensional spaces to create more attractors, Neural ODEs approximate the vector field directly in the native state space, preserving original coordinates for mechanistic interpretability.
  • Low MSE $\neq$ Right Topology: While $\varepsilon$-$\delta$ closeness guarantees low training MSE, the converse is false! A model can achieve tiny finite-time MSE while hiding a period mismatch that ruins phase locking over long horizons.
Figure 3: The 1D bistable system (Example 1). (A) Vector field f(x) = x −x3 with stable x± = ±1 (filled) and unstable x0 = 0 (open); phase line shows basins with perturbed separatrix (dashed orange). (B) Trajectories from various initial conditions; orange region marks ICs that switch basins under perturbation ˆf = f −ν cos(2x). (C) Time-averaged L2 error vs. perturbation size ν: empirical error (black) stays below bound ε2 + δD2 (dashed, Theorem 6), decomposed into trajectory error (red) and B-type basin error (blue).

Key Results

  • Bistable Duffing System: A width-64 Neural ODE matched basins with 99.96% agreement, maintaining ~$10^{-3}$ trajectory error inside basins and $\delta(0.1) = 0.007$.
  • Van der Pol Oscillator: An uncorrected model had a tiny $1.25 \times 10^{-3}$ period error—invisible over a 45-cycle validation window—that drifted to full cycle-diameter error by $t \approx 6 \times 10^3$. Exact period matching eliminated this drift.
  • Real Task-Trained Networks: On the 3-bit flip-flop network, a fitted Neural ODE inherited all 8 memory states with 99.8% autonomous basin agreement and 99.2% per-bit readout accuracy. On the angular velocity integrator, it successfully captured the tiled ring of 12 sinks and 12 saddles.

Limitations and Future Work

  • Existence vs. Learnability: Proving a network exists doesn't make it easy to find via gradient descent; infinite-horizon training suffers from exploding gradients and requires specialized techniques like multiple shooting or teacher forcing.
  • Fragility of Isochrony: Exact period matching occupies a measure-zero set in parameter space, meaning naive weight perturbations will reintroduce drift unless periods are parameterized explicitly.
  • Chaos, Noise, and Inputs: The framework excludes chaotic systems ("C-type error," where positive Lyapunov exponents make trajectory tracking vacuous), stochastic dynamics, and non-autonomous (input-driven) systems, which remain open frontiers requiring statistical metrics or pullback attractors.

Summary updated

BibTeX
@inproceedings{sagodi2026universal,
  author = {Ábel Ságodi and Il Memming Park},
  title = {{Universal Approximation Theorems for Dynamical Systems with Infinite-Time Horizon Guarantees}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=JFUIDA4w6C},
}
Figure