Introduction
Modeling chaotic dynamical systems presents a fundamental challenge in computational physics due to their inherent sensitivity to initial conditions, commonly known as the "Butterfly Effect." In such systems, infinitesimal errors in state estimation grow exponentially, causing traditional regression-based models to diverge rapidly from the true trajectory. Furthermore, many models fail to respect the global geometric structure of the system, drifting off the "attractor"—the invariant set where the system naturally resides. This paper explores a novel approach: treating trajectory prediction as a sequence modeling task using the GPT-2 architecture.
Methodology: Trajectories as Language
The authors propose a "black-box" learning framework that transforms continuous physical trajectories into discrete sequences, analogous to sentences in natural language processing.
The process involves three key steps:
- Spatial Discretization: The $d$-dimensional state space is partitioned into a uniform grid. Each cell is assigned a unique integer ID, creating a "vocabulary" of size $n^d$.
- Temporal Sampling: Continuous trajectories are sampled at fixed intervals $\tau$.
- Autoregressive Modeling: A standard 12-layer GPT-2 model is trained to predict the probability distribution of the next "token" (grid cell) given a sequence of previous states. By utilizing cross-entropy loss, the model treats prediction as a multiclass classification task, allowing it to capture the probabilistic nature of chaotic evolution.
Key Insights
A central finding is that spatial discretization acts as a form of implicit regularization. By reducing resolution, the model avoids overfitting to micro-scale noise and instead learns the macro-scale transitions between regions of the attractor. Furthermore, the self-attention mechanism is uniquely suited for capturing the long-term dependencies inherent in complex dynamical systems. Because chaotic systems are fundamentally unpredictable over long horizons, predicting a distribution of possible next states is significantly more robust than attempting to predict a single exact coordinate.
Key Results
The model was evaluated on the Lorenz, Rossler, and Henon systems. Despite the inevitable divergence of individual trajectories due to chaos, the model successfully captures the global statistical properties of the systems.
- Attractor Fidelity: As shown in the Lorenz attractor visualization, the generated trajectories remain strictly within the invariant set. The statistical distribution of states, measured via Wasserstein distance, shows that the model's output is indistinguishable from true system data.
- Chaotic Characteristics: For the Henon map, the model estimated the largest Lyapunov exponent at 0.4161, remarkably close to the theoretical value of 0.4192.
- Divergence Dynamics: The time scale at which the model's trajectory deviates from the ground truth matches the physical characteristic time of the system ($1/\lambda$), indicating that the model has internalized the underlying physics of the chaos.
Limitations and Future Work
The primary bottleneck is the "curse of dimensionality," as the vocabulary size grows exponentially ($n^d$) with the system's dimensions. While effective for 3D systems, scaling to high-dimensional problems like fluid dynamics will require more efficient encoding schemes beyond uniform grids. Future research may also explore varying sampling temperatures to better navigate the system's state space and improve exploration.
Summary updated