1 of 44

Machine learning for Physics

Mehdi Bennani

Jan 27th 2026

Confidential - Google DeepMind

2 of 44

Agenda

  • Introduction to Physics Informed Deep Learning

  • Discovery of unstable singularities with Physics Informed Neural Networks

Confidential - Google DeepMind

3 of 44

Introducing Physics Informed Neural Networks

Confidential - Google DeepMind

4 of 44

Let’s start with a toy physics problem

Confidential - Google DeepMind

5 of 44

A falling tennis ball

A governing equation :

This equation can be solved analytically :

Confidential - Google DeepMind

6 of 44

The experimental data

Confidential - Google DeepMind

7 of 44

A naive model may not generalize beyond the training domain

Confidential - Google DeepMind

8 of 44

Enforcing the governing equation during training may lead to better OOD generalization.

Confidential - Google DeepMind

9 of 44

How ?

Confidential - Google DeepMind

10 of 44

Physics Informed Neural Networks are optimized wrt the governing equations

Neural Network

Input

Model

Output

Loss

The governing equation is written as a differentiable loss function

M. Raissi, P. Perdikaris, G.E. Karniadakis, Physics-informed neural networks: A deep learning framework for solving forward and inverse problems involving nonlinear partial differential equations.

Journal of Computational Physics, Volume 378, 2019

Confidential - Google DeepMind

11 of 44

Discovery of Unstable Singularities

Confidential - Google DeepMind

12 of 44

Joint work with

T. Buckmaster

G. Cao-Labora

J. Gomez Serrano

Y. Lai

T. Leger

Y. Wang

Confidential - Google DeepMind

13 of 44

Google DeepMind Team

Confidential - Google DeepMind

14 of 44

The Clay Millennium Problem

Open problem

Importance

Do the incompressible 3D Navier-Stokes’ equations develop singularities in finite time?

- 200 year old open problem

- One of the seven Clay Millennium Problems

Impactful related problems

- Incompressible 3D Euler equations

- Incompressible Porous Media equations

- Boussinesq equations

- Córdoba-Córdoba-Fontelos equation

Confidential - Google DeepMind

15 of 44

Singularities

Situations, such as when quantities like velocity or pressure become infinite, are called ‘singularities’ or ‘blow ups’.

They help mathematicians identify fundamental limitations in the equations of fluid dynamics, and help improve our understanding of how the physical world functions.

Confidential - Google DeepMind

16 of 44

Unstable

Stable

Unstable states are much more difficult to converge to

Higher unstable

Confidential - Google DeepMind

17 of 44

Stable vs Unstable Solutions

Finding unstable solutions is very challenging

  • Classical methods are not applicable

Blow-up solutions for 3D Euler and Navier-Stokes are expected to be unstable

Confidential - Google DeepMind

18 of 44

Stable vs Unstable Solutions

Let us take the linearization of the equation at a stationary solution:

where

    • r is the perturbation to the stationary solution
    • L is a linear operator.

A self-similar solution is unstable if L has a portion of its spectrum in the positive real half plane.

Confidential - Google DeepMind

19 of 44

Córdoba-Córdoba-Fontelos (CCF)

IPM with boundary

Boussinesq

Stable solution

Lushnikov et al, ‘21, [JNS]

Ours, ‘25

Wang et al, ‘23, [PRL]

1st unstable solution

Wang et al, ‘23, [PRL]

Ours, ‘25

Ours, ‘25

2nd unstable solution

Ours, ‘25

Ours, ‘25

Ours, ‘25

3rd unstable solution

Ours, ‘25

Ours, ‘25

4th unstable solution

Ours, ‘25

Simpler

Complex

Our recent results

Confidential - Google DeepMind

20 of 44

Quick Sketch of one of the problems

Confidential - Google DeepMind

21 of 44

The Incompressible Porous Media (IPM) Equations

where the 2D vector is the velocity and the scalar is the density.

Confidential - Google DeepMind

22 of 44

Evaluation

Confidential - Google DeepMind

23 of 44

Metrics

We track the maximum residuals and their derivatives over the domain

For example, for the following equation :

The residuals are defined as :

Then, we track the following derivatives :

Confidential - Google DeepMind

24 of 44

Maximum residuals over a fine eval grid below 10-13

Success Criteria

Confidential - Google DeepMind

25 of 44

Methods

Confidential - Google DeepMind

26 of 44

  • Coordinates transformation

  • Optimizing wrt the derivatives of the residuals

  • Second order optimization

  • Sampling training points adaptively wrt the errors

  • Multi-stage training

Some Important Ingredients

Confidential - Google DeepMind

27 of 44

Methods

Coordinates transformation

Confidential - Google DeepMind

28 of 44

The limitations of unbounded domains

In the cartesian coordinates, x1 and x2 are defined over the R2

The cartesian coordinates introduce the following limitations :

  • Intractable for sampling
  • Non normalized inputs to the neural network

Confidential - Google DeepMind

29 of 44

We design a coordinate transformation that maps the infinite domain to a finite one

  • These new (q, β) coordinates lie in the [0, 1]2 domain

Confidential - Google DeepMind

30 of 44

Methods

Higher order residuals optimization

Confidential - Google DeepMind

31 of 44

The solutions may have subtle features in their higher derivatives

Wang, Yongji, et al. "Asymptotic Self-Similar Blow-up Profile for Three-Dimensional Axisymmetric Euler Equations Using Neural Networks." arXiv, 2023,

Confidential - Google DeepMind

32 of 44

We add higher order derivatives of the residuals to the optimization objective

Recall that, for one of the equations, the residuals are defined as :

Then, we optimize the following objective for the given equation:

Czarnecki, Wojciech M. et al. “Sobolev Training for Neural Networks.” Neural Information Processing Systems (2017).

Confidential - Google DeepMind

33 of 44

Methods

Second order optimization

Confidential - Google DeepMind

34 of 44

Second-order Optimization : Newton’s method

  • Approximate h(θ) by its 2nd-order Taylor series around current θ :

  • Minimize this local approximation to obtain:

  • Update current iterate with this:

Confidential - Google DeepMind

35 of 44

Second-order Optimization : Gauss-Newton

Nice properties:

    • always positive semi-definite (stable curvature)

Following J. Martens, JMLR, 2020:

    • The Generalized Gauss-Newton matrix (GGN) is defined as

where

Hl is the Hessian of l w.r.t. θ

and Jf is the Jacobian f w.r.t. θ.

    • For the square loss Hl is equal to the identity matrix

Confidential - Google DeepMind

36 of 44

Second order optimization converges to significantly lower errors

Confidential - Google DeepMind

37 of 44

Methods

Adaptive sampling

Confidential - Google DeepMind

38 of 44

Adaptive sampling to capture the error spikes

In order to capture fine error spikes, we sample the collocation points wrt the a distribution, defined as the absolute max residuals across equations.

Confidential - Google DeepMind

39 of 44

Methods

Multi-stage training

Confidential - Google DeepMind

40 of 44

Optimization steps

Wang et al, Multi-stage neural networks: Function approximator of machine precision

Journal of Computational Physics, 2024

  • Second-order methods improve errors up to O(1e-8)

  • Then, multi-staging methods lead to O(1e-13) errors.

Confidential - Google DeepMind

41 of 44

Second stage training enables 10-13 errors

Confidential - Google DeepMind

42 of 44

Multi-stage training algorithm (simplified)

Wang et al, Multi-stage neural networks: Function approximator of machine precision

Journal of Computational Physics, 2024

  1. Train the first neural network u₀(x) with weight initialization
  2. Calculate the residual r1(x, u₀)
  3. Estimate the dominant frequency and scale of r1
  4. Define u1(x) = u0(x) + ε₁ u1(x, k1)
  5. Plug u1(x) into the governing equations
  6. Train the neural network to fit u1(x, k1).

Confidential - Google DeepMind

43 of 44

Several other methods on the preprint

“Discovery of Unstable Singularities”

Preprint

Blog

Confidential - Google DeepMind

44 of 44

Thank you !

Confidential - Google DeepMind