The Classical Formulation of Inverse Problems#
Definition of inverse problems#
Suppose that you have scientific model that predicts a quantity of interest.
Let’s assume that this model has parameters that you do not know.
These parameters could be simple scalars (mass, spring constant, dumping coefficients, etc.) or it could be also be functions (initial conditions, boundary values, spatially distributed constitutive relations, etc.)
In the case of the latter, we assume that you have already reduced the dimensionality of the parameterization with, for example, the Karhunen-Lo`eve expansion.
Let’s denote all these parameters with the vector
Now, let’s say we perform an experiment that measures a noisy vector:
Assume that, you can use your model model to predict
The inverse problem, otherwise known as the model calibration problem is to find the best
Formulation of inverse problems as optimization problems#
Saying that
such that
The Square Loss#
The choice of the loss metric is somewhat subjective. However, a very common assumption is that to take the square loss:
For this case, the inverse problem can be formulated as:
Solution methodologies#
We basically have to solve an optimization problem.
For the square loss function, if
Case 1: Good for ODEs and simple PDEs#
Implement your model from scratch in a differential programming framework like JAX.
Use automatic differentiation to compute the gradient of the loss function.
Use a gradient-based optimization algorithm like L-BFGS-B to solve the optimization problem.
Case 2: Good for legacy codes#
Build a computationally inexpensive surrogate model for
.Make sure the surrogate modeling is done in a differentiable programming framework.
Use automatic differentiation to compute the gradient of the loss function.
Use a gradient-based optimization algorithm like L-BFGS-B to solve the optimization problem.