2021-01-04 09:36:09 +01:00
Welcome ...
============================
2021-09-03 11:14:53 +02:00
```{figure} resources/logo-xl.jpg
---
name: pbdl-logo-large
---
```
2022-04-24 13:59:09 +02:00
Welcome to the _Physics-based Deep Learning Book_ (v0.2) 👋
2021-01-04 09:36:09 +01:00
2021-03-15 14:05:20 +01:00
**TL;DR**:
2021-09-09 10:34:36 +02:00
This document contains a practical and comprehensive introduction of everything
2021-08-28 16:52:40 +02:00
related to deep learning in the context of physical simulations.
2021-09-09 10:34:36 +02:00
As much as possible, all topics come with hands-on code examples in the
form of Jupyter notebooks to quickly get started.
2021-04-11 14:17:03 +02:00
Beyond standard _supervised_ learning from data, we'll look at _physical loss_ constraints,
2022-04-24 13:59:09 +02:00
more tightly coupled learning algorithms with _differentiable simulations_ ,
training algorithms tailored to physics problems,
as well as
2021-08-28 16:52:40 +02:00
reinforcement learning and uncertainty modeling.
2021-09-09 10:34:36 +02:00
We live in exciting times: these methods have a huge potential to fundamentally
change what computer simulations can achieve.
2021-01-04 09:36:09 +01:00
2022-04-24 13:59:09 +02:00
```{note}
_What's new in v0.2?_
2022-06-01 17:21:33 +02:00
For readers familiar with v0.1 of this text, the extended section {doc}`diffphys-examples` and the
brand new chapter on improved learning methods for physics problems (starting with {doc}`physgrad`) are highly recommended starting points.
2022-04-24 13:59:09 +02:00
```
2021-01-04 12:34:34 +01:00
---
2021-01-31 05:13:00 +01:00
## Coming up
2021-01-04 12:34:34 +01:00
2021-08-28 16:52:40 +02:00
As a _sneak preview_ , the next chapters will show:
2021-01-04 09:36:09 +01:00
2021-07-06 17:43:16 +02:00
- How to train networks to infer a fluid flow around shapes like airfoils, and estimate the uncertainty of the prediction. This gives a _surrogate model_ that replaces a traditional numerical simulation.
2021-01-04 09:36:09 +01:00
2021-04-11 07:51:16 +02:00
- How to use model equations as residuals to train networks that represent solutions, and how to improve upon these residual constraints by using _differentiable simulations_ .
2021-01-04 09:36:09 +01:00
2021-04-11 07:51:16 +02:00
- How to more tightly interact with a full simulator for _inverse problems_ . E.g., we'll demonstrate how to circumvent the convergence problems of standard reinforcement learning techniques by leveraging simulators in the training loop.
2021-01-04 09:36:09 +01:00
2022-04-21 15:48:16 +02:00
- We'll also discuss the importance of _inversion_ for the update steps, and how higher-order information can be used to speed up convergence, and obtain more accurate neural networks.
2021-08-28 16:52:40 +02:00
Throughout this text,
we will introduce different approaches for introducing physical models
2021-07-06 17:43:16 +02:00
into deep learning, i.e., _physics-based deep learning_ (PBDL) approaches.
These algorithmic variants will be introduced in order of increasing
2021-08-28 16:52:40 +02:00
tightness of the integration, and the pros and cons of the different approaches
2021-05-06 13:38:11 +02:00
will be discussed. It's important to know in which scenarios each of the
different techniques is particularly useful.
2021-02-15 09:04:09 +01:00
```{admonition} Executable code, right here, right now
2021-01-04 12:34:34 +01:00
:class: tip
2021-08-28 16:52:40 +02:00
We focus on Jupyter notebooks, a key advantage of which is that all code examples
2021-05-04 04:49:53 +02:00
can be executed _on the spot_ , from your browser. You can modify things and
2022-04-21 15:48:16 +02:00
immediately see what happens -- give it a try by
[[running this teaser example in your browser]](https://colab.research.google.com/github/tum-pbs/pbdl-book/blob/main/intro-teaser.ipynb).
2021-08-28 16:52:40 +02:00
Plus, Jupyter notebooks are great because they're a form of [literate programming ](https://en.wikipedia.org/wiki/Literate_programming ).
2021-01-04 12:34:34 +01:00
```
2021-09-06 12:01:56 +02:00
## Comments and suggestions
This _book_ , where "book" stands for a collection of digital texts and code examples,
is maintained by the
2021-09-16 16:58:30 +02:00
[Physics-based Simulation Group ](https://ge.in.tum.de ) at [TUM ](https://www.tum.de ).
Feel free to contact us if you have any comments, e.g., via [old fashioned email ](mailto:i15ge@cs.tum.edu ).
2021-09-06 12:01:56 +02:00
If you find mistakes, please also let us know! We're aware that this document is far from perfect,
2021-09-16 16:58:30 +02:00
and we're eager to improve it. Thanks in advance 😀!
Btw., we also maintain a [link collection ](https://github.com/thunil/Physics-Based-Deep-Learning ) with recent research papers.
2021-09-06 12:01:56 +02:00
```{figure} resources/divider-mult.jpg
---
height: 220px
name: divider-mult
---
Some visual examples of numerically simulated time sequences. In this book, we explain how to realize algorithms that use neural networks alongside numerical solvers.
```
2021-01-04 12:34:34 +01:00
2021-01-04 09:36:09 +01:00
## Thanks!
2021-04-11 09:08:07 +02:00
This project would not have been possible without the help of many people who contributed. Thanks to everyone 🙏 Here's an alphabetical list:
2021-01-04 09:36:09 +01:00
2021-06-07 21:23:01 +02:00
- [Philipp Holl ](https://ge.in.tum.de/about/philipp-holl/ )
2021-04-26 08:12:34 +02:00
- [Maximilian Mueller ](https://ge.in.tum.de/ )
2021-01-26 06:04:57 +01:00
- [Patrick Schnell ](https://ge.in.tum.de/about/patrick-schnell/ )
2021-04-26 08:12:34 +02:00
- [Felix Trost ](https://ge.in.tum.de/ )
2021-01-26 06:04:57 +01:00
- [Nils Thuerey ](https://ge.in.tum.de/about/n-thuerey/ )
- [Kiwon Um ](https://ge.in.tum.de/about/kiwon/ )
2021-01-12 04:50:42 +01:00
2021-08-03 21:55:42 +02:00
Additional thanks go to
Georg Kohl for the nice divider images (cf. {cite}`kohl2020lsim`),
Li-Wei Chen for the airfoil data image,
and to
Chloe Paillard for proofreading parts of the document.
2021-06-11 20:57:46 +02:00
% future:
2021-05-06 13:38:11 +02:00
% - [Georg Kohl ](https://ge.in.tum.de/about/georg-kohl/ )
2021-05-04 04:49:53 +02:00
## Citation
2021-01-04 12:34:34 +01:00
2021-05-06 13:38:11 +02:00
If you find this book useful, please cite it via:
2021-05-04 04:49:53 +02:00
```
2021-06-29 14:47:59 +02:00
@book {thuerey2021pbdl,
2021-05-04 04:49:53 +02:00
title={Physics-based Deep Learning},
2021-06-07 21:23:01 +02:00
author={Nils Thuerey and Philipp Holl and Maximilian Mueller and Patrick Schnell and Felix Trost and Kiwon Um},
2021-08-28 16:52:40 +02:00
url={https://physicsbaseddeeplearning.org},
2021-05-04 04:49:53 +02:00
year={2021},
2021-06-29 14:47:59 +02:00
publisher={WWW}
2021-05-04 04:49:53 +02:00
}
```
2021-05-06 13:38:11 +02:00