Written by Ben Moseley, October 2025.
In this 1-day workshop our goal is to design efficient and scalable physics-informed neural networks (PINNs) for solving PDEs.
By the end of the workshop, you should:
- Understand why standard PINNs can be a slow and inaccurate method to solve PDEs
- Be able to code a PINN in JAX from scratch
- Be able to use domain decomposition to improve the efficiency and accuracy of PINNs, and
- further improve efficiency by using least-squares solvers to train the PINN
- Understand the basics of JAX and gain experience writing performant scientific machine learning code.
The workshop is split into three sessions:
-
Session 1:
-
Session 2:
-
Session 3:
Each practical session involves you completing a notebook with missing code. Each task is labelled like this:
Task: do this!
The notebooks are designed for you to go at your own pace, and also contain extension exercises to stretch those with previous experience.
If you get stuck, please ask the instructors for help, and the completed notebooks are available in this repository for your reference.
This workshop primarily builds upon our papers on FBPINNs and ELM-FBPINNs:
Finite Basis Physics-Informed Neural Networks (FBPINNs): a scalable domain decomposition approach for solving differential equations, B. Moseley, T. Nissen-Meyer and A. Markham, Advances in Computational Mathematics, 2023.
Local Feature Filtering for Scalable and Well-Conditioned Domain-Decomposed Random Feature Methods, J. W. van Beek, V. Dolean & B. Moseley, arXiv/under review, 2025.
Check out our highly performant
fbpinnsGitHub library if you want to build on FBPINNs further.
Check out our ETH Zurich AI in the Sciences and Engineering YouTube course if you want to learn more about scientific machine learning.
Here are two of the seminal papers introducing PINNs:
Artificial neural networks for solving ordinary and partial differential equations, I. Lagaris, A. Likas, D. Fotiadis, IEEE Transactions on Neural Networks, 1998.
Physics-informed neural networks: A deep learning framework for solving forward and inverse problems involving nonlinear partial differential equations, M. Raissi, P. Perdikaris, G. E. Karniadakis, Journal of Computational Physics, 2019.


