Progressively Refined Differentiable Physics (PRDP) is a method to reduce the computational cost of learning pipelines (e.g. training of neural networks) that contain expensive iterative physics solvers.
This repo provides the code and examples that accompany the paper linked below published in ICLR 2025. The project page linked below provides a comprehensive overview of PRDP, including key concepts and visual explanations.
The implementation of PRDP is available in the file experiments/src/prdp.py
.
- Python 3.10
- JAX
- Jaxopt
- Equinox
- Optax
- Numpy
- Matplotlib
- ipykernel
- lineax
- pdequinox
cd ./pdequinox && pip install -e .
Experiments are implemented as jupyter notebooks in the folder experiments/
.
List of experiments:
poisson_1_param.ipynb
- Inverse problem with 1 parameterheat_1d.ipynb
- Linear neural emulator learningheat_2d.ipynb
- Linear neural emulator learningnavier_stokes.ipynb
- Non-linear neural-hybrid corrector learning