NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Universal Physics Transformers: A Framework For Efficiently Scaling Neural Operators

Benedikt Alkin, Andreas Fürst, Simon Lucas Schmid, Lukas Gruber, Markus Holzleitner, Johannes Brandstetter

Deep learning models known as "neural operators" have recently emerged as fast, capable surrogates for traditional, compute-heavy physics simulators like computational fluid dynamics (CFD) solvers. However, as simulation complexity grows, a significant challenge arises: how can we efficiently scale these models to handle larger, more intricate datasets across different physical domains?

Currently, neural operators are highly specialized. Grid-based (Eulerian) simulations typically rely on Convolutional Neural Networks (CNNs) or Fourier Neural Operators (FNOs), while particle-based (Lagrangian) simulations lean on Graph Neural Networks (GNNs). Furthermore, as simulations scale up to require larger meshes or millions of particles, the internal memory and compute requirements of these existing models grow proportionally, quickly maxing out GPU memory.

To address this, researchers have introduced Universal Physics Transformers (UPTs), a unified learning paradigm designed to efficiently simulate both Eulerian and Lagrangian physical systems without being bottlenecked by input resolution.

The UPT Framework: A Unified Approach

The core innovation of the UPT framework is its ability to decouple heavy computational lifting from the input resolution. It achieves this by compressing inputs into a fixed-size latent space and propagating dynamics entirely within that space.

The Universal Physics Transformer (UPT) architecture, demonstrating how both Eulerian and Lagrangian data are encoded into a fixed-size latent space, propagated through time, and decoded at arbitrary query positions.

The architecture consists of three main components:

  1. Hierarchical Encoder: Instead of processing every single mesh node or particle through a massive network, UPT groups input points into a smaller set of "supernodes" using local message passing. A Perceiver block then compresses these supernodes into a fixed-size latent space (e.g., 512 tokens).
  2. Approximator: A standard Transformer operates only on these fixed-size latent tokens to step the simulation forward in time. Because the latent space is small and fixed, this temporal stepping is incredibly fast and memory-efficient.
  3. Decoder: A Perceiver-like cross-attention layer queries the latent space at any arbitrary spatial coordinate to extract the physical values (like velocity or pressure) at that exact location.

Key Innovations

True Modality Independence

UPT is agnostic to the underlying spatial discretization. Whether the input is a regular grid, an irregular mesh, or a cloud of moving particles, the supernode sampling and radius graphs adapt to the geometry naturally. This makes UPT a truly "universal" physics model.

Latent Rollouts

Traditionally, autoregressive models predict the next time step, decode it back to physical space, and then re-encode it to predict the subsequent step. UPT introduces a training technique using inverse encoding and decoding losses. This forces the latent space to capture the complete physical state, allowing the model to step forward in time repeatedly—purely in the latent space—skipping the expensive decode/encode loop entirely.

Performance and Scaling

The authors evaluated UPTs across a wide variety of modalities, including 3D steady-state aerodynamic flows (ShapeNet-Car), large-scale 2D Navier-Stokes transient flows, and particle-based Taylor-Green vortex datasets (LagrangeBench).

Memory scaling comparison and feature table. UPT maintains a significantly lower memory footprint as simulation scale increases while uniquely supporting irregular grids, learned fields, and latent rollouts.

By bottlenecking the architecture through a fixed-size latent space, the heavy lifting runs in constant time. In memory stress tests, UPT successfully handled up to 4.2 million input points on a single GPU, whereas standard GNNs and Transformers ran out of memory almost immediately.

Other standout results include:

  • Massive Speedups: On the transient flow dataset, simulating a full trajectory via UPT's latent rollout took just 0.3 seconds on a single GPU. This compares to 1.2s for the GINO baseline and 120 seconds for the traditional pisoFoam numerical solver—a roughly 400x speedup.
  • Accuracy vs. Cost: On the ShapeNet-Car dataset, UPT achieved a 2.31 MSE using only 64 latent tokens, outperforming the state-of-the-art GINO model (2.34 MSE), which required 110,000 tokens. Consequently, UPT trained in just 4 seconds per epoch compared to GINO's 900 seconds.
  • Lagrangian Performance: On the TGV2D particle dataset, UPT modeled the velocity field roughly 100x faster than a classical Smoothed Particle Hydrodynamics (SPH) solver and nearly 10x faster than baseline GNNs.

Limitations and Future Directions

While UPTs offer massive inference speedups, enabling the ultra-fast "latent rollout" requires training the model with inverse encoding and decoding objectives. This adds a non-negligible computational overhead during the training phase.

Looking forward, the flexibility of Universal Physics Transformers opens the door to domains beyond fluid dynamics, such as weather forecasting and plasma physics. Ultimately, UPTs lay the groundwork for scaling up to massive Lagrangian simulations (10 million+ particles) and training single, multi-modal foundation models that can simultaneously ingest and understand both Eulerian and Lagrangian data.

Summary updated

BibTeX
@inproceedings{alkin2024universal,
  author = {Benedikt Alkin and Andreas Fürst and Simon Lucas Schmid and Lukas Gruber and Markus Holzleitner and Johannes Brandstetter},
  title = {{Universal Physics Transformers: A Framework For Efficiently Scaling Neural Operators}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2024},
  url = {https://openreview.net/forum?id=oUXiNX5KRm},
}
Figure