Abstract
This paper investigates the application of foundation model principles to chaotic physical systems. By pre-training transformers on next-state prediction within a linearized Koopman latent space, we develop "physics-aware" representations that generalize to downstream control tasks. Using the Lorenz system as a benchmark, we demonstrate that these learned embeddings significantly outperform traditional PCA-based methods in accuracy, stability, and computational efficiency. Notably, frozen representations (Koopman F) maintain high performance, suggesting the acquisition of task-agnostic physical structures.
Introduction
Chaotic systems, such as fluid turbulence or atmospheric patterns, are notoriously difficult to control due to their extreme sensitivity to initial conditions—the "butterfly effect." While deep learning models have improved forecasting, they often struggle with generalization across different tasks or long horizons. This research explores whether self-supervised pre-training, similar to the "next-token prediction" used in Large Language Models (LLMs), can produce robust representations for physics. The core hypothesis is that learning to predict the evolution of a chaotic system in a linearized latent space allows a model to capture the underlying "grammar" of the dynamics.
Methodology: The Three-Stage Pipeline
The authors propose a structured approach to bridge the gap between simple prediction and complex control:
- Koopman Autoencoding: Non-linear 3D Lorenz states are mapped into a 32-dimensional "Koopman space." To embed physical inductive biases, the Koopman operator is constrained to be the sum of a diagonal matrix (growth/decay) and a banded skew-symmetric matrix (rotation).
- Transformer Pre-training: A decoder-only transformer is trained to predict the next state in this linearized latent space. This stage builds the foundational understanding of the system's temporal evolution.
- Safety Head Fine-tuning: The transformer is frozen, and a small Multi-Layer Perceptron (MLP) "safety head" is attached. This head is trained to predict a global safety value, quantifying the effort required to keep the system within a safe region.
Experimental Setup and Results
The model was evaluated on the Lorenz system using 2,048 training trajectories. The primary comparison was against standard Principal Component Analysis (PCA) and Physics-Informed PCA (PI) baselines.
Performance and Stability
The Koopman-based models established a clear performance hierarchy. The frozen Koopman model (Koopman F) achieved the highest $R^2$ (0.991) and the lowest Mean Squared Error (MSE). Unlike PCA-based methods, which showed rapid accuracy degradation over time, the Koopman representations remained stable across long forecasting horizons.
Computational Efficiency
Beyond accuracy, the Koopman approach proved highly efficient. During the fine-tuning stage, the Koopman model consumed only 24.6W of peak GPU power, a 50% reduction compared to the 59.8W required by the PCA-PI baseline. This efficiency stems from the model's ability to achieve superior results with a shallower 4-layer architecture compared to the 11-layer baseline.
Discussion and Conclusion
The success of frozen Koopman representations suggests that the model learns genuine physical structures that are task-agnostic. By mapping chaotic dynamics into a space where they evolve linearly, transformers can capture long-range dependencies more effectively than in raw state space.
Future work will focus on scaling these "physics foundation models" to higher-dimensional systems like climate models and integrating them with formal methods like Control Barrier Functions (CBFs) to provide provable safety guarantees. This research marks a significant step toward generalizable and efficient autonomous control in complex, chaotic environments.
Summary updated