Preprint
Large Language Models

Towards a Physics Foundation Model

Florian Wiesner, Matthias Wessling, Stephen Baek
September 17, 2025arXiv.org12 citations

12

Citations

1

Influential Citations

arXiv.org

Venue

2025

Year

Abstract

Foundation models have revolutionized natural language processing through a ``train once, deploy anywhere''paradigm, where a single pre-trained model adapts to countless downstream tasks without retraining. Access to a Physics Foundation Model (PFM) would be transformative - democratizing access to high-fidelity simulations, accelerating scientific discovery, and eliminating the need for specialized solver development. Yet current physics-aware machine learning approaches remain fundamentally limited to single, narrow domains and require retraining for each new system. We present the General Physics Transformer (GPhyT), trained on 1.8 TB of diverse simulation data, that demonstrates foundation model capabilities are achievable for physics. Our key insight is that transformers can learn to infer governing dynamics from context, enabling a single model to simulate fluid-solid interactions, shock waves, thermal convection, and multi-phase dynamics without being told the underlying equations. GPhyT achieves three critical breakthroughs: (1) superior performance across multiple physics domains, outperforming specialized architectures by more than 7x, (2) plausible zero-shot generalization to entirely unseen physical systems through in-context learning, and (3) more stable long-term predictions through long-horizon rollouts. By establishing that a single model can learn generalizable physical principles from data alone, this work opens the path toward a universal PFM that could transform computational science and engineering.

Analysis

Why This Paper Matters

This paper tackles a fundamental limitation of current physics-aware machine learning: narrow domain specificity. While foundation models have transformed NLP and vision, physics simulation has remained fragmented, with each system requiring custom solvers or retrained models. The authors propose that a single transformer can learn generalizable physical principles from diverse simulation data, potentially eliminating the need for specialized solver development. If validated, this could democratize access to high-fidelity simulations for researchers and engineers without deep domain expertise.

The significance extends beyond convenience. A Physics Foundation Model could accelerate scientific discovery by enabling rapid exploration of new physical regimes, coupling of multi-physics phenomena, and transfer of knowledge between domains. The paper's claim of zero-shot generalization to unseen systems is particularly striking, as it suggests the model learns underlying physical laws rather than memorizing training data.

Technical Contributions

  • GPhyT Architecture: A transformer trained on 1.8 TB of simulation data covering fluid-solid interactions, shock waves, thermal convection, and multi-phase dynamics.
  • In-Context Learning for Physics: The model infers governing dynamics from context alone, without being told the underlying equations, enabling adaptation to new systems at inference time.
  • Long-Horizon Rollouts: Demonstrates more stable long-term predictions compared to specialized architectures, a critical requirement for practical simulation.
  • Zero-Shot Generalization: Shows plausible performance on entirely unseen physical systems, suggesting emergent understanding of physical principles.

Results

The paper reports three key quantitative results: (1) GPhyT outperforms specialized architectures by more than 7x across multiple physics domains, (2) it achieves plausible zero-shot generalization to unseen physical systems through in-context learning, and (3) it provides more stable long-term predictions via long-horizon rollouts. The 7x improvement over specialized models is a strong claim, though the paper does not specify which architectures were compared or the exact metrics used. The zero-shot generalization result is particularly notable, as it suggests the model has learned transferable physical concepts rather than domain-specific patterns.

Significance

This work represents a significant step toward a universal Physics Foundation Model, potentially transforming computational science and engineering. If the approach scales, it could enable rapid prototyping of simulations, coupling of multi-physics phenomena, and knowledge transfer between domains. However, the paper lacks details on computational cost, data requirements for scaling, and failure modes on highly nonlinear or chaotic systems. The 7x improvement claim needs careful scrutiny, as it may depend on the specific baselines and tasks chosen. Nevertheless, the core insight—that transformers can learn generalizable physical principles from diverse data—opens a promising research direction that could eventually lead to a true PFM.