Generalizing Dynamics Modeling More Easily from Representation Perspective

Yiming Wang, Zhengnan Zhang, Genghe Zhang, Jiawen Dan, Changchun Li, Chenlong Hu, Chris Nugent, Jun Liu, Ximing Li, Bo YangarXiv 2026

TL;DR

PDEDER introduces a generalized Pre-trained Dynamics EncoDER that maps complex system observations into a well-structured latent space where dynamics are easier to model. By leveraging a novel Lyapunov exponent minimization objective during pre-training, it tames chaotic behaviors, enabling superior cross-system generalization and forecasting performance.

What Problem Does This Paper Address?

Modeling the dynamics of complex systems—such as fluid dynamics, climate patterns, or traffic flows—using neural methods like Neural Ordinary Differential Equations (ODEs) typically requires training a specific model from scratch for every single system. This leads to poor generalization across different environments.

Existing attempts at creating generic models rely on multi-task learning, which assumes systems share the same underlying parametric equation form (just with different coefficients). However, in the real world, governing equations are rarely known, and the gap between different systems is massive. The authors address this by asking a fundamental question: Can we build a universal representation layer that makes learning dynamics easier for any downstream model, regardless of the system?

Methods

The authors propose PDEDER (Pre-trained Dynamics EncoDER). Instead of trying to learn a universal physics simulator, it focuses on learning a better latent space where downstream models can succeed.

The pipeline consists of the following steps:

  1. Tokenization & Projection: Raw time-series data is patched and normalized (similar to modern time-series transformers), then passed through system-specific projection layers to handle varying input dimensions.
  2. PLM Backbone: They adapt Pre-trained Language Models (PLMs), specifically T5 architectures, as the core encoder-decoder framework to leverage their sequential modeling capabilities.
  3. Lyapunov Exponent Minimization: This is the key innovation. The Lyapunov exponent measures the chaotic nature (exponential divergence) of a system. By minimizing this exponent in the latent space during pre-training, PDEDER forces the latent dynamics to be locally stable and well-structured.
  4. Auxiliary Losses: To prevent the latent space from collapsing or becoming "over-smoothed," they incorporate standard reconstruction and forecasting losses.
  5. Downstream Fine-tuning: For a new system, the pre-trained encoder embeds the initial states, a GNN-based Neural ODE evolves the states in the latent space, and the pre-trained decoder maps them back to the original space.
Fig. 1: The overall pipeline of pre-training (top) and fine-tuning (bottom) PDEDER. (1) Pre-training of PDEDER on large- scale dynamics observations: The sequences are first tokenized and normalized, followed by projection with system-specific data projection layers to align the dimension. The projected sequences are then encoded into latent space and decoded for reconstruction and forecasting. To pre-train PDEDER, we employ a maximal Lyapunov exponent objective on sequence embeddings along with reconstruction and forecasting objectives. (2) Fine-tuning PDEDER to approximate specific dynamics: The first token of an observation sequence is taken as the initial state and encoded into the latent space via the pre-trained encoder of PDEDER. Then we approximate governing dynamics by integrating using the embedded initial states within the latent space through a GNN-based ODE module. Finally, we decode the integrated solutions by the pre-trained decoder and fine-tuning PDEDER by minimizing the forecasting objective against the ground-truth observation sequence.

Datasets

The authors curated a massive pre-training corpus consisting of 152 sets of observations across 23 complex systems, spanning physics, fluid dynamics, biology, climate, and traffic:

  • Synthetic Data: 121 sets from 13 systems (e.g., Navier-Stokes, Burgers' equation, Heat Diffusion, Spring systems) with varying parameters.
  • Real-World Data: 31 sets from 10 systems (e.g., NOAA climate data, NYC Taxi, T-Drive, PEMS traffic sensors).

Evaluation was performed on 12 distinct dynamic systems under both in-domain and cross-domain (Leave-One-Out) settings.

TABLE I: Statistics of collected dynamics. Ns,h,m is the number of objects; Ts,h,m is the length of observation sequence; Vs is the feature dimension; Ms,h is the number of generated samples; Hs is the number of different parameter settings.

Key Insights and Ideas

  • Taming Chaos via Representation: The core "aha moment" is that we don't need to learn a universal physics equation. Instead, we just need a universal translator that maps chaotic raw observations into a mathematically well-behaved, low-chaos latent space.
  • LLMs as Dynamics Embedders: Pre-trained language models possess strong sequence-modeling capabilities that can be successfully repurposed for physical time-series data when paired with the right inductive biases (like the Lyapunov constraint).
  • Backbone Size Matters by Domain: Interestingly, a smaller backbone (T5-small) performed better on clean, synthetic datasets, while the larger backbone (standard T5) excelled at capturing the noisy, non-stationary patterns of real-world data.

Key Results

  • State-of-the-Art Forecasting: PDEDER consistently outperformed single-agent (LatentODE) and multi-agent baselines (GNS, NDCN, TREAT) across short- and long-term forecasting tasks.
  • Substantial Error Reduction: It achieved up to a 14% and 17% reduction in MAPE (Mean Absolute Percentage Error) for the 2D-CFD (fluid dynamics) and NYCTaxi datasets, respectively.
  • Zero-Shot/Cross-Domain Generalization: In Leave-One-System-Out cross-domain testing, PDEDER performed nearly on par with its in-domain counterparts, proving it can generalize to entirely unseen physical systems.

Limitations and Future Work

  • Catastrophic Forgetting: As with many pre-trained models, sequential training on diverse systems risks erasing previously learned dynamics representations.
  • Data Imbalance: The dataset contains significantly more synthetic data samples than real-world ones, which could bias the pre-training phase.
  • Graph Integration: The current framework handles system-specific interaction graphs during downstream fine-tuning, but how to natively integrate these structural graphs directly into the pre-training phase remains an open question.

Summary updated

BibTeX
@misc{wang2026generalizing,
  author = {Yiming Wang and Zhengnan Zhang and Genghe Zhang and Jiawen Dan and Changchun Li and Chenlong Hu and Chris Nugent and Jun Liu and Ximing Li and Bo Yang},
  title = {{Generalizing Dynamics Modeling More Easily from Representation Perspective}},
  year = {2026},
  eprint = {2603.22655},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2603.22655},
}
Figure