Live data from Hacker News

Physics-Based Deep Learning Book

physicsbaseddeeplearning.org

11–20 of 26 posts

Re: Physics-Based Deep Learning Book

#12
post #6

Why python? Doesn't Julia compose traditional ODE solvers with differential programming better?

Because the python/numpy/tensorflow/Pytorch ecosystem is the deep learning ecosystem. You write a book on what you know, and what the audience wants. And everything they do here has tools that work just fine in python, no need to switch to Julia. And as someone who does this sort of work as my job, I can tell you the tool chains we use for what could be considered “industrial-scale” applications do not yet have appro…

That's because it's keeping things fairly simple. Implementing the more involved/advanced techniques would quickly outpace what's possible in python, now and for the foreseeable future

(see https://www.stochasticlifestyle.com/useful-algorithms-that-a... but also other reasons such as composability )

Re: Physics-Based Deep Learning Book

#13

"Physics-based" Deep Learning seems like a misnomer. From the abstract "Deep Learning Applications for Physics" sounds more apt. There definitely is value in transferring standard terminology and methods from physics to deep learning. But from the preview it's unclear if that is the focus.

This does not appear to be the usual approach of training the neural network on tons of data from the physics simulation. Instead they use the actual physics equations to form the loss function, which is a far more robust way of creating such an emulator. So physics based deep learning title is appropriate.

Re: Physics-Based Deep Learning Book

#14
post #13

"Physics-based" Deep Learning seems like a misnomer. From the abstract "Deep Learning Applications for Physics" sounds more apt. There definitely is value in transferring standard terminology and methods from physics to deep learning. But from the preview it's unclear if that is the focus.

This does not appear to be the usual approach of training the neural network on tons of data from the physics simulation. Instead they use the actual physics equations to form the loss function, which is a far more robust way of creating such an emulator. So physics based deep learning title is appropriate.

Indeed. I see where everyone on HN is coming from. But if you're a physicist, and you've come across a lot of "deep learning applied to physics but the model has no physics in it" (and there's plenty of that), then the title may make perfect sense.

Re: Physics-Based Deep Learning Book

#15

"Physics-based" Deep Learning seems like a misnomer. From the abstract "Deep Learning Applications for Physics" sounds more apt. There definitely is value in transferring standard terminology and methods from physics to deep learning. But from the preview it's unclear if that is the focus.

Indeed, “Deep Learning Based Physics” seems a little more correct.

The common terminology is Physics Informed Neural Networks (PINNs)

Re: Physics-Based Deep Learning Book

#16
meta comment: the website you're viewing when you click that link is generated using Jupyter Book , which is like the best thing ever https://jupyterbook.org/intro.html

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!

Re: Physics-Based Deep Learning Book

#17
post #13

"Physics-based" Deep Learning seems like a misnomer. From the abstract "Deep Learning Applications for Physics" sounds more apt. There definitely is value in transferring standard terminology and methods from physics to deep learning. But from the preview it's unclear if that is the focus.

This does not appear to be the usual approach of training the neural network on tons of data from the physics simulation. Instead they use the actual physics equations to form the loss function, which is a far more robust way of creating such an emulator. So physics based deep learning title is appropriate.

Eh, they may put more emphasis on that technique, but its only a subset of the scope:

> 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,...

Re: Physics-Based Deep Learning Book

#18

Why python? Doesn't Julia compose traditional ODE solvers with differential programming better?

None of the guts of these packages is written in Python anyways. C mostly, maybe with some Cython or Fortran. Python is where the API is presented, because that makes it easily accessible to lots of users.

Re: Physics-Based Deep Learning Book

#19

Earlier quoted context omitted.

Indeed, “Deep Learning Based Physics” seems a little more correct.

The common terminology is Physics Informed Neural Networks (PINNs)

The question of that is it target the network. But if it is for physics … should it be neural network using physics for physics (by physics scientist).

Re: Physics-Based Deep Learning Book

#20

meta comment: the website you're viewing when you click that link is generated using Jupyter Book , which is like the best thing ever https://jupyterbook.org/intro.html 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 _…

Need another thread on this. It is a major learning tool when I first encountered Jupyter.
Post reply on HN