Dr. Chris Rackauckas Profile picture
Lead dev of @sciml_org, VP of Modeling and Simulation @JuliaHubInc, Director of Scientific Research @pumas_ai, and Research Staff @mit_csail. #julialang #sciml

Mar 31, 2023, 9 tweets

#sciml #machinelearning in chemical engineering using prior scientific knowledge of chemical processes? New paper: we dive deep into using universal differential equation hybrid models and see how well gray boxes can recover the dynamics.
arxiv.org/abs/2303.13555 #julialang

For learning these cases, we used neural networks mixed with known physical dynamics, and mixed it with orthogonal collocation on finite elements (OCFEM) to receive a stable simulation simulation and estimation process.

We looked into learning reaction functions embedded within diffusion-advection equations. This is where you have spatial data associated with a chemical reaction but generally know some properties of the spatial movement, but need to learn the (nonlinear) reaction dynamics

We found in multiple instances the method could extrapolate to non-trivial behaviors outside of the training data.

This was mixed with a sparse regression for automating the discovery of the missing reaction terms. @MilesCranmer's SymbolicRegression.jl outperformed the sparse regression techniques commonly used by SINDy.

In cases where the exact polynomial was not found, we were able to show that it found missing terms in the model whose first two terms of the Taylor series matched the original one. So not an exact recovery, but clearly recovering behavior of note!

Thus the symbolic regression was finding simplified models of the phenomena! Together this shows in some non-trivial chemical engineering cases that autocompleting models via Universal Differential Equations leads to some nice results.

If you want more information on the general method, check out the original UDE paper.

arxiv.org/abs/2001.04385

If you're curious about how the training process works and the interactions of stiffness with the adjoint method, see this tweet thread:

Share this Scrolly Tale with your friends.

A Scrolly Tale is a new way to read Twitter threads with a more visually immersive experience.
Discover more beautiful Scrolly Tales like this.

Keep scrolling