OmniArch: Building Foundation Model for Scientific Computing

Tianyu Chen, Haoyi Zhou, Ying Li, Hao Wang, Chonghan Gao, Rongye Shi, Shanghang Zhang, Jianxin Li

TL;DR

OmniArch is the first foundation model designed to solve scientific computing problems across 1D, 2D, and 3D spatial dimensions within a single unified architecture. By combining Fourier-based spatial encoding with a Transformer backbone and a novel physics-alignment mechanism, it achieves state-of-the-art performance on diverse Partial Differential Equations (PDEs) and demonstrates emergent zero-shot and in-context learning capabilities.

The Challenge of Scientific Computing

Scientific computing relies heavily on solving PDEs to model complex physical phenomena, from weather patterns to aircraft aerodynamics. Traditional numerical methods, such as Finite Element Methods (FEM), are computationally expensive and require manual, case-specific coding.

While "Neural Operators" (like the Fourier Neural Operator) have emerged as fast, data-driven surrogates, they typically suffer from three major limitations:

  1. Multi-Scale Disharmony: Models are usually locked into a specific spatial dimension (e.g., only 2D) or a fixed grid resolution.
  2. Multi-Physics Complexity: Real-world systems involve multiple interacting variables (velocity, pressure, density) that are difficult to couple effectively in a single model.
  3. Physical Alignment: Purely data-driven models often "hallucinate" solutions that violate fundamental laws of physics, such as the conservation of energy.
OmniArch addresses multi-physics, multi-scale, and physics alignment challenges, outperforming prior models across 1D, 2D, and 3D PDEs.

OmniArch aims to bridge the gap between specialized solvers and general-purpose foundation models, effectively creating a "Large Language Model (LLM) for Physics."

OmniArch Architecture

To handle the immense complexities of scientific data, the authors propose a three-pillar architecture:

The OmniArch architecture featuring a Fourier Encoder-Decoder and a Transformer backbone with Temporal Masking.
  • Fourier Encoder-Decoder: To process different dimensions (1D-3D) and resolutions, OmniArch maps spatial data into the frequency domain. By selecting the "Top-K" most significant frequency modes, the model creates a uniform token representation regardless of the input's original shape or grid size. This frequency domain mapping acts as a great equalizer, allowing a 1D wave and a 3D turbulent flow to be processed by the same backbone.
  • Transformer Backbone with Temporal Masking: The model uses a Transformer to learn temporal dynamics. A key innovation here is the Temporal Mask. Unlike standard causal masks in NLP that prevent tokens from seeing anything at the same or future positions, OmniArch’s mask allows all physical quantities at a specific timestep $t$ to "see" each other (intra-timestep attention) while maintaining causal order across time (inter-timestep attention). This simultaneity is crucial for modeling coupled variables like pressure and velocity that interact instantaneously.
  • PDE-Aligner: During fine-tuning, a physics-informed component is introduced. It uses a contrastive learning approach to align the model's internal representations with textual descriptions (captions) of the governing equations. This ensures the model's predictions remain consistent with known physical laws, acting as a form of equation-based supervision.

Datasets and Evaluation

The model was pre-trained and evaluated on a massive collection of data from PDEBench and PDEArena, covering 1D, 2D, and 3D PDEs. The physics domains included Compressible Navier-Stokes (CFD), Burgers’ equation, Advection, Diffusion-Sorption, Reaction-Diffusion, Shallow Water Equations (SWE), and Maxwell’s equations.

Furthermore, OmniArch was subjected to zero-shot evaluation on out-of-domain scenarios like the Orszag-Tang Vortex, 2D Shock waves, and Kelvin-Helmholtz (KH) instability.

Key Results

  • State-of-the-Art Performance: OmniArch outperformed task-specific expert models (like FNO and U-Net) and previous pre-trained models (like MPP and Poseidon) across almost all benchmarks.
  • Massive Error Reduction: In Computational Fluid Dynamics (CFD) tasks, the model achieved a one to two orders of magnitude reduction in normalized root mean squared error (nRMSE).
  • Extreme Speedup: Compared to traditional Finite Difference Methods (FDM), OmniArch provides an exponential speedup—up to 155x faster for high-resolution ($512 \times 512$) simulations.
  • Emergent Capabilities: The model demonstrated zero-shot generalization to entirely new physical systems it hadn't seen during training. It also exhibited in-context learning, where it could "learn" a new operator simply by being shown a few initial observation steps (a "PDE prompt").

Limitations and Future Work

While highly capable and physics-aligned, OmniArch remains fundamentally data-driven; its performance is bounded by the diversity and quality of its pre-training data. Additionally, while it supports 3D systems, these are significantly more complex and resource-intensive, leaving room for further architectural optimization. Finally, handling sudden discontinuities, such as extreme shock waves, remains a challenging frontier for neural surrogates, and the inherent "black box" nature of Transformer backbones poses interpretability hurdles for high-stakes engineering applications.

Summary updated

BibTeX
@inproceedings{chen2025omniarch,
  author = {Tianyu Chen and Haoyi Zhou and Ying Li and Hao Wang and Chonghan Gao and Rongye Shi and Shanghang Zhang and Jianxin Li},
  title = {{OmniArch: Building Foundation Model for Scientific Computing}},
  booktitle = {International Conference on Machine Learning},
  year = {2025},
  url = {https://openreview.net/forum?id=UlprLwWYKP},
}
Figure