Vectorized Conditional Neural Fields: A Framework for Solving Time-dependent Parametric Partial Differential Equations

Jan Hagnberger, Marimuthu Kalimuthu, Daniel Musekamp, Mathias Niepert
6/1/2024
14 citations
transformer-attention

Official code: jhagnberger/vcnef (18 stars, Python, MIT, last commit 2024-08-01).

Abstract

Transformer models are increasingly used for solving Partial Differential Equations (PDEs). Several adaptations have been proposed, all of which suffer from the typical problems of Transformers, such as quadratic memory and time complexity.

Show full abstract

Furthermore, all prevalent architectures for PDE solving lack at least one of several desirable properties of an ideal surrogate model, such as (i) generalization to PDE parameters not seen during training, (ii) spatial and temporal zero-shot super-resolution, (iii) continuous temporal extrapolation, (iv) support for 1D, 2D, and 3D PDEs, and (v) efficient inference for longer temporal rollouts. To address these limitations, we propose Vectorized Conditional Neural Fields (VCNeFs), which represent the solution of time-dependent PDEs as neural fields. Contrary to prior methods, however, VCNeFs compute, for a set of multiple spatio-temporal query points, their solutions in parallel and model their dependencies through attention mechanisms. Moreover, VCNeF can condition the neural field on both the initial conditions and the parameters of the PDEs. An extensive set of experiments demonstrates that VCNeFs are competitive with and often outperform existing ML-based surrogate models.

View on arXivView PDF

Code Implementations(1)

jhagnberger/vcnefOfficial100%
MIT

[ICML 2024] Official PyTorch implementation of the Vectorized Conditional Neural Field.

180PythonApr 19, 20242 years agoMIT
deep-learningmachine-learningpartial-differential-equationstransformer-architecture

Similar Papers

Cite this paper

@article{hagnberger2024vectorized,
  title  = {Vectorized Conditional Neural Fields: A Framework for Solving Time-dependent Parametric Partial Differential Equations},
  author = {Jan Hagnberger and Marimuthu Kalimuthu and Daniel Musekamp and Mathias Niepert},
  year   = {2024},
  eprint = {2406.03919},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2406.03919},
  journal = {ICML 2024 2024}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2406.03919.svg)](https://codeofpaper.com/paper/2406.03919)

Discussion