All models

LatentPINN

A physics-informed neural network that takes a latent code of the PDE parameters as an extra input.

Physics and weather · 70 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 (32 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
6.3M
Operations
70
Framework
PyTorch
Recurrent
No
Published
Artificial Intelligence in Geosciences (arXiv 2023)
Cited by
9 (as of 31 October 2026)
Authors
Mohammad H. Taufik, Tariq Alkhalifah
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
m17873
Graph hash
13660f5a41201a03e81f3afa613704b36ceda5adfc906d3bb3ae8a5d96691c3b
Skeleton hash
19d5aa9290120ccc07d093fd09a288376c814343b174741ec5f8fc4720f7234e
Architecture hash
7deae2a6d0513cc58884c5389ac9aa4c2479f28636a10a331e387e4bd1a3d069
Diagram SHA-256
247921084ca667df5ec6d094e54412e1aeb9ad9bab6b9cdc9df696e9046494f0
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

LatentPINN is a framework for physics-informed neural networks (PINNs) that feeds latent representations of the PDE parameters into the network in addition to the coordinates, which allows training over the distribution of these parameters. The limitation it targets is that PINNs are hampered by relatively slow convergence and by the need for additional, potentially expensive, training for different PDE parameters.

Training has two stages, and the first learns the latent representations for the distribution of PDE parameters. For that stage the paper promotes latent diffusion models, which learn compressed latent representations of the PDE parameters distribution. The second stage trains a PINN on randomly drawn samples from the coordinate space within the solution domain together with samples from the learned latent representation.

The paper tests the approach on the nonlinear Eikonal equation, with three different sets of Eikonal parameters (velocity models). It reports that the method performs well on new phase velocity models without any additional training. The code repository has scripts for autoencoder training and for PINN training to solve the eikonal and scattered Helmholtz equations.

Key idea. LatentPINN adds latent representations of the PDE parameters to the coordinate inputs of a PINN, so that one network is trained over the distribution of those parameters.

  • latentpinn
  • latentpinns
  • latent pinn
  • physics-informed neural network
  • pinn
  • eikonal equation
  • helmholtz equation
  • pde solver
  • latent representation
  • velocity model

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

Cite the paper

@misc{taufik2023latentpinnsgenerativephysicsinformedneural,
      title={LatentPINNs: Generative physics-informed neural networks via a latent representation learning}, 
      author={Mohammad H. Taufik and Tariq Alkhalifah},
      year={2023},
      eprint={2305.07671},
      archivePrefix={arXiv},
      primaryClass={cs.LG},
      url={https://arxiv.org/abs/2305.07671}, 
}