Physics-Based Deep Learning Book
physicsbaseddeeplearning.org
physicsbaseddeeplearning.org
Imagine all the beauty of .Rmd (easily generate books by combining markdown explanations with executable cells), but adapted for the Python ecosystem (jupyter notebooks).
Jupyuter-book is a really well thought-out project. You create the book with a _toc.yml file: https://github.com/tum-pbs/pbdl-book/blob/main/_toc.yml and all the config is in one file: https://github.com/tum-pbs/pbdl-book/blob/main/_config.yml (the build system leverages Sphinx which is the docs workhorse in the Python world)
One of the coolest things is the "Launcher" option which gives readers the options to "run" any notebook interactively (using the rocket button in the top right). It's a one-line config https://github.com/tum-pbs/pbdl-book/blob/main/_config.yml#L... A similar config would enable the "Launch in Pybinder" option which is a free ephemeral jupyter provider, see https://mybinder.org/
This "execute anywhere" option is nicely abstracted away as the `thiebe` library, and there is even POC work to run a pyodide kernel (https://github.com/executablebooks/thebe/issues/465) so soon all of this goodness will work offline in your browser!
As an educator, it's hard not to get excited about the future, given the pace at which learning/teaching tooling is developing!
https://mitmath.github.io/18337/lecture3/sciml.html
https://diffeqflux.sciml.ai/dev/
https://www.youtube.com/watch?v=HKJB0Bjo6tQ (Interpretable Deep Learning for Physics - I don't think there's any Julia in the video itself, but Miles Cranmer uses Julia for this work - he created SymbolicRegression.jl)
(see https://www.stochasticlifestyle.com/useful-algorithms-that-a... but also other reasons such as composability )
Does anyone know if I could approximate a closed form solution with a simple MLP network?
But what about statistical thermodynamics and information theory? What about thin film?
What are some applications for PINNs and for {DL, RL,} in physics?
[Edit: by "this approach" I mean what the article is calling "differentiable physics" -- but I don't love that moniker. The "physics informed neural network" approach doesn't seem that great to me. It's much slower than doing an actual simulation, the resulting errors are larger, and you can't re-use results -- it's a one-off solution. The fact that you can use it to interpolate isn't that much of a selling point. The only nice thing is that you can throw any system of equations you want at it without having to design a numerical solver.]
> This document contains a practical and comprehensive introduction of everything related to deep learning in the context of physical simulations. ... Beyond standard supervised learning from data, we’ll look at physical loss constraints, more tightly coupled learning algorithms with differentiable simulations,...