All models

U-Net PDE surrogate

A modern U-Net that predicts the next state of gridded physical fields, used as a neural PDE surrogate.

Physics and weather · 221 operations Checked

100%

Showing the top corner; full diagram not loaded yetShowing a small copy; full diagram not loaded yetLarge diagram, not loaded yet

Open SVG

Loading diagram (66 KB)

Open in a new tab

Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.

At a glance

Parameters
144.3M
Operations
221
Framework
PyTorch
Recurrent
No
Published
Transactions on machine learning research (arXiv 2022)
Cited by
280 (as of 29 November 2026)
Authors
Jayesh K. Gupta, Johannes Brandstetter
License
MIT
Checked
Passed: the trace was replayed operation by operation and matched the model's own output for this input.

Files

The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.

Details
Stable ID
m3208
Graph hash
5f186919a3972c81ccdf31dd55f01dfe05bba1405b4a6bcb55dfba928a11c55b
Skeleton hash
d78535ec1ae8ab10d65fc58f568d3d2e5979d5e8e2453fa17d99ccce896ca749
Architecture hash
fa95e77ab620a1e50a3c07121ccd531aa5e5ea2ebabe9ce71224d061e49ac0ea
Diagram SHA-256
9658b133f4eb9d9beecf1f7ee76b6b00b4419e44d6511bcf826412c6ef67d779
TorchLens version
2.36.0
Renderer
graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
Check
Forward pass replayed in PyTorch

What it is

This is a U-Net used as a PDE surrogate: a neural network that stands in for the expensive solution techniques of partial differential equations by predicting how physical fields evolve. It comes from PDEArena, the code that accompanies the paper Towards Multi-spatiotemporal-scale Generalized PDE Modeling. That paper compares FNO, ResNet and U-Net like approaches on fluid mechanics problems. This model is the modern variant, which the paper terms U-Netmod.

A U-Net is a spatial downsampling pass followed by a spatial upsampling pass, with skip connections between the downsampling activations and the corresponding upsampling layers. The paper carries over changes from recent computer vision U-Nets, among them Wide ResNet style 2D convolutional blocks and downsampling layers in place of max-pooling. U-Netmod uses channel multipliers of (1, 2, 2, 4) and residual connections in each down- and upsampling block.

The paper's shallow water data sits on a grid with spatial resolution of 192 × 96. On the velocity form of those equations it reports that U-Nets in general perform best among the tested models. It also found that the original 2015 U-Net, with only an additional down- and upsample layer, already outperforms FNOs on the presented tasks.

Key idea. The paper compares FNO, ResNet and U-Net like architectures as PDE surrogates side by side and brings modern U-Net design updates from computer vision to the task.

  • U-Net PDE surrogate
  • PDEArena
  • Modern U-Net
  • Unetmod
  • neural PDE surrogate
  • operator learning
  • shallow water equations
  • Navier-Stokes
  • fluid dynamics surrogate
  • PDE modeling

AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.

Cite the paper

@misc{gupta2022multispatiotemporalscalegeneralizedpdemodeling,
      title={Towards Multi-spatiotemporal-scale Generalized PDE Modeling}, 
      author={Jayesh K. Gupta and Johannes Brandstetter},
      year={2022},
      eprint={2209.15616},
      archivePrefix={arXiv},
      primaryClass={cs.LG},
      url={https://arxiv.org/abs/2209.15616}, 
}