MORPH: PDE Foundation Models with Arbitrary Data Modality

Mahindra Singh Rautela, Alexander Most, Siddharth Mansingh, Bradley C. Love, Alexander Scheinker, Diane Oyen, Nathan Debardeleben, Earl Lawrence, Ayan BiswasarXiv 2025

TL;DR

MORPH is a new modality-agnostic foundation model for partial differential equations (PDEs) that can seamlessly handle 1D, 2D, and 3D spatiotemporal data with mixed scalar and vector fields. By combining component-wise convolutions, inter-field cross-attention, and 4D axial attention, MORPH eliminates the need for task-specific architectural reconfigurations and delivers state-of-the-art data efficiency and prediction accuracy across diverse physical systems.

What Problem Does This Paper Address?

While foundation models have revolutionized natural language processing and computer vision, scientific machine learning has lagged behind due to a major bottleneck: data heterogeneity.

Physical systems are messy. Simulations and experimental observations generate data across different spatial dimensions (1D curves, 2D planes, 3D volumes), varying resolutions, and mixed field types (such as scalar pressure fields combined with vector velocity fields). Existing PDE foundation models typically assume near-homogeneous inputs—usually 2D Cartesian grids with fixed components. Forcing 1D data into these 2D pipelines wastes compute, while scaling them to 3D triggers a quadratic explosion in transformer attention costs ($O(L_{seq}^2)$).

MORPH addresses this gap by introducing a shape-agnostic architecture capable of learning universally across diverse scientific modalities and dimensions without requiring custom padding, tiling, or task-specific redesigns.

Methods

The authors built MORPH on a convolutional vision transformer backbone incorporating three core architectural mechanisms:

  1. Unified Physics Tensor Format (UPTF-7): To avoid massive storage and compute overhead from naive padding, MORPH converts mini-batches on the fly into a standardized 7D shape: (Batch-size, Time-steps, Fields, Components, Depth, Height, Width).
  2. Component-wise Convolutions: This operator jointly processes scalar and vector channels to capture local spatial interactions, adding a helpful convolutional inductive bias that improves sample efficiency.
  3. Inter-field Cross-Attention: Instead of statically mixing different physical fields (which often evolve at different scales and rates), MORPH uses content-based pooling via a learned query to selectively fuse features across fields into a single representation.
  4. 4D Axial Attention: To make high-dimensional tracking computationally viable, full spatiotemporal self-attention is factorized into separate 1D attention operations along individual axes (time, depth, height, and width). This reduces the attention cost from $O((TDHW)^2)$ to a highly manageable $O(t^2 + D^2 + H^2 + W^2)$.

Additionally, the authors adapted Low-Rank Adaptation (LoRA) to PDE foundation models for the first time, enabling parameter-efficient fine-tuning.

Figure 1. An illustration of the model architecture. MORPH is a shape-agnostic design that seamlessly handles heterogeneous datasets. The design consists of (a) 3D convolution operation performed along the component (C) dimension providing filters× feature maps, (b) multi-head cross-attention is performed across fields (F) resulting in a fused field, (c) 4D factorized axial attention is performed along space-time dimension (T, D, H, W), (d) simple decoder maps back to the data space.

Datasets

MORPH was evaluated using a massive, heterogeneous suite of datasets compiled from three public benchmarks: PDEBENCH, THE WELL, and PDEGYM.

  • Pretraining Datasets: 1D Compressible Navier-Stokes (CNS), 2D Diffusion-Reaction, 2D Incompressible Navier-Stokes, 2D Shallow Water, 3D Magnetohydrodynamics (MHD), and 3D Compressible Navier-Stokes.
  • Fine-tuning / Downstream Datasets: 1D Burgers', 1D Diffusion-Reaction, 2D Compressible Navier-Stokes, 2D Gray-Scott Diffusion-Reaction, 2D Kolmogorov Flow (FNS-KF), 3D Turbulent Navier-Stokes, and 3D Turbulent Cooling Gravity.

Key Insights and Ideas

  • Cross-Modality Zero-Shot Transfer: In a striking experiment, MORPH was pretrained exclusively on 2D incompressible fluid dynamics and evaluated zero-shot on 1D and 3D datasets. It demonstrated consistent positive transfer across all fluid-specific targets, proving that the model successfully learns reusable physical operators that transcend spatial dimensions.
  • The Power of Axial Factorization: The ablation studies revealed that 4D axial attention provides a near-Pareto-optimal trade-off. At large patch-token counts, it yields massive FLOP savings while actually improving test loss compared to full or sparse self-attention mechanisms.
  • Extreme Data Efficiency: When fine-tuning on downstream tasks, a pretrained MORPH model utilizing only 25% of the available training trajectories was able to outperform standalone models trained from scratch on 100% of the data.

Key Results

  • Zero-Shot Dominance: The largest model variant, MORPH-FM-L (480M parameters), achieved the best zero-shot performance on 11 out of 12 evaluation datasets.
  • Outperforming Existing FMs: In full-shot fine-tuning comparisons on 2D fluid dynamics, MORPH substantially outperformed prominent PDE foundation models like DPOT and Poseidon. For example, on the 2D-CFD benchmark, MORPH achieved a Normalized Root Mean Squared Error (NRMSE) of 0.0423, compared to DPOT's 0.6325 and Poseidon's 0.5993.
  • LoRA Performance: Fine-tuning MORPH-FM-L using LoRA (updating only 77M of its 480M parameters) matched or exceeded the performance of full-parameter fine-tuning on smaller model variants, establishing a scalable path forward for massive physical foundation models.

Limitations and Future Work

Despite its versatility, the authors note several limitations:

  • Domain Concentration: MORPH is currently pretrained primarily on fluid-related datasets. A truly general-purpose PDE foundation model must expand into elasticity, fracture mechanics, and wave propagation in solids.
  • Grid Geometry: The underlying convolutional preprocessing and patching schemes are designed for regular Cartesian grids, meaning the model cannot yet be directly applied to unstructured meshes or irregular complex geometries.
  • Lifting Overhead: The UPTF-7 format relies on scalar-to-vector lifting, which introduces additional batch-level memory and computational overhead that could be optimized in future iterations.

Summary updated

BibTeX
@misc{rautela2025morph,
  author = {Mahindra Singh Rautela and Alexander Most and Siddharth Mansingh and Bradley C. Love and Alexander Scheinker and Diane Oyen and Nathan Debardeleben and Earl Lawrence and Ayan Biswas},
  title = {{MORPH: PDE Foundation Models with Arbitrary Data Modality}},
  year = {2025},
  eprint = {2509.21670},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2509.21670},
}
Figure