SetPINN
Set-based physics-informed network: a mixer network, Transformer set processor and PDE probe over point sets.
Physics and weather · 35 operations Checked
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
- Task
- Physics and weather
- Parameters
- 26.1K
- Operations
- 35
- Framework
- PyTorch
- Recurrent
- No
- Published
- 2024
- Cited by
- 6 (as of 16 November 2026)
- Authors
- Mayank Nagda, Phil Ostheimer, Thomas Specht and others
- License
- MIT
- Checked
- Passed: the trace was replayed operation by operation and matched the model's own output for this input.
Files
The file opened in a new tab. Use your browser's Save command there to keep it.
The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.
Details
- Stable ID
- m20364
- Graph hash
- e9a1a317ac35023b77e5fba41c66c02d0d0d84e6d28fb324607280bae0b74663
- Skeleton hash
- 3bef2a11cfedfa065704927690b0df9616801ee1a774298747e9293d3f4bbfc3
- Architecture hash
- 5b77b3eb102977358816a83890c5b7a82a17cc9c5896d472d1d7473ec34c4c17
- Diagram SHA-256
- 938f41fbf5e2aa754bee41cf74a00e8db1df857ce5be6a0427e2feaef23e5218
- 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
SetPINNs are a set-based form of physics-informed neural networks (PINNs), which solve partial differential equations using deep learning. The paper's starting point is that conventional PINNs predict point by point and so neglect dependencies within the domain. SetPINNs instead partition the domain into elements, in a scheme inspired by finite element methods, and process the points of each element together.
Each set of points passes through three components: a Mixer Network, an attention-based Set Processor and a PDE Probe. The Mixer Network is a pointwise embedding that maps each input coordinate into a higher-dimensional space. The Set Processor is an attention module implemented as a Transformer encoder block. It uses no positional encodings, so that it stays equivariant under permutations of the points in a set. The PDE Probe is a shallow MLP applied to each point separately to decode the solution.
In the paper's benchmark setup each domain is discretized into a 50 × 50 grid partitioned into 2 × 2 square elements, with 4 points sampled per element. Its white-box benchmarks include reaction-diffusion, wave, convection, Navier-Stokes and 3D Helmholtz equations. The paper also gives a theoretical analysis showing unbiased, lower-variance estimates of the residual energy and its gradients.
Key idea. SetPINNs partition the domain into sets with a finite element-inspired sampling scheme and predict jointly over each set, modeling local dependencies while enforcing physical laws.
- SetPINNs
- SetPINN
- Set-based Physics-informed Neural Networks
- set-based PINN
- physics-informed neural network
- PDE solver
- partial differential equations
- element-aware sampling
- finite element-inspired sampling
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
Cite the paper
@misc{nagda2025setpinnssetbasedphysicsinformedneural,
title={SetPINNs: Set-based Physics-informed Neural Networks},
author={Mayank Nagda and Phil Ostheimer and Thomas Specht and Frank Rhein and Fabian Jirasek and Stephan Mandt and Marius Kloft and Sophie Fellenz},
year={2025},
eprint={2409.20206},
archivePrefix={arXiv},
primaryClass={cs.LG},
url={https://arxiv.org/abs/2409.20206},
}