DynaPFN: Zero-Shot Dynamical System Forecasting with Tabular Prior-Fitted Networks

Chiara Roverato, Joseph Cotnareanu, Pablo Piantanida, Boris N. Oreshkin, Mark CoatesNeurIPS 2026

TL;DR

Recent zero-shot time-series foundation models often fail at forecasting complex dynamical systems because they rely on surface-level pattern matching rather than learning the underlying physics. The authors introduce DynaPFN, a method that reframes time-series forecasting as a tabular problem over lagged state transitions, allowing pretrained tabular models—which have never seen a single time series—to predict the future. Surprisingly, this approach outperforms specialized time-series foundation models on both chaotic benchmarks and real-world datasets.

What Problem Does This Paper Address?

Predicting the future of dynamical systems—like weather patterns, brain activity, or chaotic circuits—requires understanding the governing rules (the differential equations) that push a system from one state to the next. Recently, researchers have built massive "time-series foundation models" (inspired by LLMs) to forecast signals zero-shot using in-context learning.

However, there is an awkward secret in the field: these massive models often cheat. Instead of inferring the system's underlying dynamics, they rely on shortcuts like context parroting. In fact, a dead-simple baseline called Parrot—which literally looks at the end of a time series, searches earlier in the history for a similar-looking squiggle, and copy-pastes whatever came next—actually beats top foundation models (even those trained specifically on chaotic systems!) on chaotic benchmarks. Generic sequence continuation simply isn't the right inductive bias for physics.

Figure 1: State space plots and predicted trajectories for the Chua system at ten Lyapunov times. DynaPFN preserves the system’s characteristic double-scroll geometry while producing a qualitatively faithful forecast over the horizon. In contrast, competing baselines either parrot local patterns from the context or collapse to incorrect long-range dynamics (See App. B.2 for more details about Parrot’s forecast).

Methods

Instead of treating forecasting as "predict the next token in a sequence," DynaPFN treats it as "infer the transition rule between states." The pipeline combines standard physics-informed representations with an unexpected backbone:

  1. Lagged Input-Output Pairs (Novel framing): Given a historical context window, DynaPFN chops it into tabular rows of input-output pairs separated by a fixed lag $b$: $(\mathbf{x}[i], \mathbf{x}[i+b])$. Under standard mathematical assumptions for autonomous systems, a deterministic transition map connects these states, which can be framed as a Structural Causal Model (SCM).
  2. SINDy-Inspired Feature Library: Because nonlinear differential equations are usually sparse in a higher-dimensional function space, each input row $\mathbf{x}[i]$ is augmented with a library of candidate nonlinear features $\mathbf{G}$ (like polynomials up to degree 4 or trigonometric functions). This makes the complex transition approximately linear in the feature space.
  3. Tabular Prior-Fitted Networks (Standard backbone, novel application): To predict future blocks recursively, DynaPFN feeds this engineered table into a pretrained tabular Prior-Fitted Network (PFN), such as TabPFN or TabICL. PFNs are transformers pretrained on synthetic data generated by SCMs to do one-pass approximate Bayesian inference. Because DynaPFN formats the dynamical system to look like an SCM, the tabular PFN can infer the transition dynamics in-context—despite zero time-series pretraining.

Datasets

Because DynaPFN is strictly zero-shot, no training datasets are used by the authors (relying entirely on off-the-shelf tabular PFNs). Evaluation is performed on:

  • Synthetic Chaotic Benchmark: 54 distinct chaotic dynamical systems (from Gilpin, 2021), with 20 trajectories per system generated from random initial conditions (context length of 1,024 steps; long prediction horizon of 8,976 steps).
  • Real-World Multivariate Datasets: Electronic circuit datasets (High, Mid, Low), Traffic, and ETTh1 (electricity transformer temperatures). No new benchmarks were introduced.

Key Insights and Ideas

  • Sequence models struggle to use true physics features: In a clever "oracle" experiment, the authors fed the exact, ground-truth future features into models at every step to eliminate compounding autoregressive errors. Specialized chaotic foundation models (like Panda) barely improved, proving they aren't genuinely learning the structural transition map. DynaPFN’s error, conversely, dropped dramatically.
  • Temporal order doesn't matter—state coverage does: Tabular PFNs treat rows as exchangeable (shuffling the table doesn't change the output). When the authors compared using the most recent 1,024 contiguous steps versus 1,024 pairs sampled randomly from a 4,000-step history, DynaPFN performed comparably. To learn dynamics, covering the state space matters more than contiguous sequence order.
  • The lag $b$ is a clean tuning knob: Small lags ($b=5$) yield a sharper approximation of the local physics (great for short-term accuracy), while larger lags ($b=100+$) take fewer recursive steps, trading local precision for reduced compounding error over long horizons.

Key Results

Across the 54 chaotic systems, DynaPFN ($b=5$) is the first zero-shot method to beat the Parrot baseline on both short-term accuracy and long-term attractor geometry:

  • Short-term error (MSE at 1 Lyapunov time): DynaPFN achieves an average MSE of 0.07 (ranking 1st on ~63% of systems), beating Parrot (0.26), Chronos2 (0.36), and Panda (0.36).
  • Long-term attractor geometry ($D_{\text{stsp}}^{\text{hist}}$, lower is better): DynaPFN scores 2.35 (ranking 1st or 2nd on 100% of systems), vastly outperforming DynaMix (6.14), Parrot (6.87), and Chronos2 (10.48).
  • Real-world generalization: On Traffic and ETTh1, DynaPFN outperforms chaotic-specific baselines (DynaMix and Panda) across all metrics and remains competitive with Chronos2 (which was pretrained on real-world time series).

Limitations and Future Work

  • Spectral fidelity & high-frequency noise: Because DynaPFN predicts recursively block-by-block without built-in temporal smoothing, compounding errors introduce jittery, high-frequency noise. Consequently, it performs poorly on frequency-domain metrics like the Hellinger distance ($D_H = 0.60$ vs. Parrot's $0.15$). Future work could integrate denoising or temporal filtering.
  • Hand-crafted feature libraries: You must specify the nonlinear feature library $\mathbf{G}$ in advance, which may not scale gracefully to very high-dimensional systems or exotic physics; adaptive or learned libraries are a logical next step.
  • Autonomous assumption: The mathematical framing assumes the system runs on its own without outside interference. Extending the causal framework to handle external inputs or non-stationary environments remains open work.

Summary updated

Abstract

Long-horizon forecasting of dynamical time series remains a fundamental challenge in machine learning, as accurate predictions require learning the underlying dynamics. While recent time-series foundation models leveraging in-context learning (ICL) have shown promise, we show that they fail to genuinely capture the governing dynamics. By rewriting the context of a time series as a collection of lagged input-output pairs, we frame dynamical time-series forecasting as a posterior inference problem over the space of structural causal models (SCMs), arguing that the underlying dynamic structure is a natural inductive bias. We propose DynaPFN, which uses pretrained tabular Prior-Fitted Networks (PFNs) to approximate this posterior through ICL, augmented with a library of dynamical features that permit simpler representations of complex systems. Even though the pretrained models have never seen time series data, DynaPFN outperforms existing zero-shot forecasting baselines on established benchmarks of chaotic time series and real-world datasets, demonstrating that incorporating structural priors over system dynamics is a valid approach for robust long-horizon forecasting.
BibTeX
@inproceedings{roverato2026dynapfn,
  author = {Chiara Roverato and Joseph Cotnareanu and Pablo Piantanida and Boris N. Oreshkin and Mark Coates},
  title = {{DynaPFN: Zero-Shot Dynamical System Forecasting with Tabular Prior-Fitted Networks}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=m581slK2rD},
}
Figure