OmniArch: Building Foundation Model For Scientific Computing

Tianyu Chen, Haoyi Zhou, Ying Li, Hao Wang, Chonghan Gao, Shanghang Zhang, Jianxin Li, Li, Jianxin · DOI

Abstract

Foundation models have revolutionized language modeling, while whether this success is replicated in scientific computing remains unexplored. We present OmniArch, the first prototype aiming at solving multi-scale and multi-physics scientific computing problems with physical alignment. We addressed all three challenges with one unified architecture. Its pre-training stage contains a Fourier Encoder-decoder fading out the disharmony across separated dimensions and a Transformer backbone integrating quantities through temporal dynamics, and the novel PDE-Aligner performs physics-informed fine-tuning under flexible conditions. As far as we know, we first conduct 1D-2D-3D united pre-training on the PDEBench, and it sets not only new performance benchmarks for 1D, 2D, and 3D PDEs but also demonstrates exceptional adaptability to new physics via in-context and zero-shot learning approaches, which supports realistic engineering applications and foresight physics discovery.

Introduction

Partial Differential Equations (PDEs) are the cornerstone of scientific and engineering simulations, from fluid dynamics to electromagnetics. While traditional numerical solvers are accurate, their high computational cost limits real-time application. Neural operators have emerged as a promising alternative, yet they often struggle with generalization across different scales and physical domains.

OmniArch is introduced as a foundation model designed to overcome three primary "disharmonies" in scientific computing: Multi-Physics (coupling of variables like velocity and pressure), Multi-Scale (handling 1D, 2D, and 3D data within a single model), and Physical Alignment (ensuring predictions adhere to governing laws).

OmniArch addresses the three core challenges of multi-physics, multi-scale, and physics alignment, achieving superior performance across 1D, 2D, and 3D PDEs.

The OmniArch Architecture

OmniArch employs a unified architecture that processes diverse physical data through a frequency-domain lens, ensuring both resolution invariance and cross-dimensional compatibility.

Fourier Encoder-Decoder

To handle varying spatial resolutions and dimensions, OmniArch utilizes a Fourier Encoder-Decoder. By applying Fast Fourier Transforms (FFT) and selecting the most significant "Top-K" frequency modes, the model creates a fixed-length latent representation. This allows the same Transformer backbone to learn from 1D, 2D, and 3D datasets simultaneously, effectively "fading out" the disharmony across separated dimensions.

Transformer Backbone with Temporal Masking

The core processing is handled by a Transformer backbone. To capture the instantaneous coupling of multi-physics variables, OmniArch uses a specialized Temporal Mask. This mask allows variables within the same time step to attend to each other, while maintaining a causal relationship across time steps, preventing the model from "seeing" the future during training.

The OmniArch architecture utilizes a Fourier Encoder-Decoder for resolution invariance and a Transformer backbone with temporal masking for multi-physics coupling.

Physics-Text Alignment via PDE-Aligner

Beyond data-driven patterns, OmniArch incorporates physical principles through the PDE-Aligner. This module uses contrastive learning to align the model's internal representations with textual descriptions of governing equations (e.g., Navier-Stokes or Burgers' equations). This alignment enables the model to perform zero-shot transfer to unseen physics by "reading" the equation as a prompt.

Experimental Results

OmniArch was evaluated on the extensive PDEBench and PDEArena datasets, demonstrating significant improvements over existing specialized models.

  • State-of-the-Art Performance: OmniArch consistently outperformed expert models like FNO and U-Net across 1D, 2D, and 3D benchmarks. In 1D tasks, it achieved error reductions of one to two orders of magnitude.
  • Computational Efficiency: The model provides a 155× speedup over traditional numerical solvers for high-resolution simulations, with inference times remaining nearly constant regardless of grid size due to its frequency-domain operations.
  • Generalization and In-Context Learning: OmniArch successfully generalizes to unseen phenomena (e.g., Kelvin-Helmholtz instabilities) and demonstrates in-context learning, where its predictive accuracy improves as more initial state snapshots are provided.

Conclusion

OmniArch represents a paradigm shift in scientific computing, moving from task-specific models to a unified foundation model. By addressing multi-scale and multi-physics challenges through a spectral Transformer architecture and physical alignment, it provides a robust framework for engineering simulation and physics discovery. Future research will explore scaling the model to even more complex 3D systems and improving interpretability for high-stakes applications.

Summary updated

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