PDE-MAE
A masked autoencoder that learns representations of PDE solutions by reconstructing masked patches.
Physics and weather · 278 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
- 4.8M
- Operations
- 278
- Framework
- PyTorch
- Recurrent
- No
- Published
- Transactions on Machine Learning Research 2024
- Cited by
- 2 (as of 27 October 2026)
- Authors
- Anthony Zhou, Amir Barati Farimani
- 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
- m19074
- Graph hash
- c21ea577579e04f5d318e00a19e9dfc00662e5b47f19b3e1c4724ac6e8ed38e4
- Skeleton hash
- b3ef7bfa870aa8793871a804cd721b115ee5400228e2a0118ccda86af3bbdb63
- Architecture hash
- 705adf4e6d5ecae1e4ddb2c5064663659d0a79b990790233a91f807fcc9b6709
- Diagram SHA-256
- 85baaafaed3469eae81be29dff2deb7a58f5ed3285472a79796b8a3b03e7697f
- 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 model is a masked autoencoder trained on solutions of partial differential equations (PDEs): a ViT is trained to reconstruct 1D and 2D PDE data after part of it has been masked. The motivation given in the paper is that neural PDE solvers are held back by how well they generalize.
The data are cut into non-overlapping patches and a random subset of them is masked. The encoder embeds only the unmasked patches, through a series of transformer blocks. A decoder then reconstructs the data from the latent encodings and learned mask tokens. The decoder can be shallower and narrower than the encoder because it is discarded in downstream tasks.
After pretraining, the paper evaluates the learned representations on three downstream tasks: regressing or classifying PDE features, and conditioning neural solvers for time-stepping and for super-resolution. In 1D the models are pretrained on the KdV-Burgers equation only, and in 2D on the Heat, Advection and Burgers equations together. The paper reports that for PDEs with new equation terms or boundary conditions, the extrapolation performance of the masked autoencoder is limited.
Key idea. The paper adapts masked autoencoder pretraining to PDE data and shows the learned encodings can regress PDE coefficients and improve neural solvers' time-stepping and super-resolution.
- PDE-MAE
- Masked Autoencoders are PDE Learners
- masked autoencoder
- masked pretraining
- partial differential equations
- PDE
- neural PDE solver
- self-supervised learning
- physics pretraining
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
Cite the paper
@misc{zhou2024maskedautoencoderspdelearners,
title={Masked Autoencoders are PDE Learners},
author={Anthony Zhou and Amir Barati Farimani},
year={2024},
eprint={2403.17728},
archivePrefix={arXiv},
primaryClass={cs.LG},
url={https://arxiv.org/abs/2403.17728},
}