Course & textbook · INSA Toulouse, Applied Mathematics & Master Mod'IA - Scientific ML
Data Assimilation, Adjoint Methods and Learning
Inverse Problems for Physics-Based Models, from Optimal Control to Hybrid Machine Learning
How to fuse physics-based models (ODEs, PDEs) with observations? The course covers the estimation of model parameters, initial or boundary conditions and forcing terms; the computation of gradients in large dimension by the adjoint method, and their validation; and the many bridges between data assimilation and machine learning: neural networks as parametric models, learned inversion, PINNs, backpropagation, reinforcement learning, hybrid physics–ML models.
Moodle, open access: login: anonymous pass: insa-assimilation
The course in three pictures
Contents
Ill-posedness (Hadamard), why a naive inversion fails; least squares, SVD, Tikhonov regularization, choice of the parameter (Morozov, L-curve, GCV), Gauss–Newton; neural networks as parametric models, surrogates and learned inversion; the running example: river bathymetry.
Overview of DA and a Lorenz-63 twin experiment; VDA in finite dimension, 3D-Var, preconditioning; optimal control of ODEs: Pontryagin, direct and indirect methods, Riccati, dynamic programming and reinforcement learning, neural ODEs and hybrid models; PINNs vs VDA.
Backpropagation is the adjoint method, a dictionary between VDA and deep learning; automatic differentiation, forward and reverse modes, checkpointing (Lorenz-96 illustration); validating gradients and adjoint codes, twin experiments.
Optimal control of stationary PDEs: Lagrangian, adjoint method, applications to classical PDEs; VDA for time-dependent PDEs: discrete and continuous optimality systems, 4D-Var, incremental 4D-Var.
Bayesian inversion: posterior, MAP, Laplace approximation, MCMC sampling; BLUE, Kalman filters, ensemble methods, equivalence 4D-Var / Kalman in the linear-Gaussian case; modeling background error covariances.
Networks in the model (corrections, parameter maps), instead of the model (emulators), in the prior, as the inverse map; PINNs as hybrids; Lorenz-96 illustration. Appendices: calculus, optimization, statistics, classical PDE models, the two practicals, solutions of the exercises.
Each chapter comes with exercises and Python codes; "learning corners" connect the topic to machine learning.
Practicals
River bathymetry from water-surface data Appendix E
A real-world inverse problem in spatial hydrology, solved by VDA (Python, FEniCS finite elements).
Optimal control, adjoint and learning Appendix F
Controlling a dynamical system, computing and validating the adjoint, and comparing with learning approaches (Python).
Statements, codes and course sessions are on the Moodle page. For research use in hydrology, see the open-source DassHydro platform.
How to cite
Jérôme Monnier. Data Assimilation, Adjoint Methods and Learning. Inverse Problems for Physics-Based Models, from Optimal Control to Hybrid Machine Learning. Lecture notes, INSA Toulouse, 2026. ⟨hal-03040047⟩
BibTeX
@misc{Monnier-DA-course,
author = {Monnier, J{\'e}r{\^o}me},
title = {Data Assimilation, Adjoint Methods and Learning.
Inverse Problems for Physics-Based Models,
from Optimal Control to Hybrid Machine Learning},
howpublished = {Lecture notes, INSA Toulouse},
year = {2026},
note = {HAL: hal-03040047},
url = {https://hal.science/hal-03040047}
}
Prerequisites
Basic approximation methods, differential calculus, numerical optimization, classical PDE models (weak forms are a plus), numerical schemes (finite differences; finite elements are a plus), artificial neural networks, Python programming.
The textbook (485 pages) is a living document (25 November 2026 version), revised as the course progresses. Questions and feedback are welcome by e-mail.