Euler vs Bilinear Discretization

Chapter 20 Dynamics & diffusion

Chapter 20: ODE, SDE, and Continuous Limits of Algorithms — Euler and Bilinear (Tustin) Discretization

From the book

Chapter 20: ODE, SDE, and Continuous Limits of Algorithms. In the chapter mind map this icon labels Euler and Bilinear (Tustin) Discretization. The discussion below is excerpted and lightly edited from § Euler and Bilinear (Tustin) Discretization in Mathematics for AI and Machine Learning.

Many machine learning algorithms are discrete iterations $k = 0, 1, 2, \ldots$:

  • Gradient descent: $\mathbf{x}_{k+1} = \mathbf{x}_k - \eta \nabla f(\mathbf{x}_k)$
  • Langevin dynamics: $\mathbf{x}_{k+1} = \mathbf{x}_k + \eta \mathbf{s}(\mathbf{x}_k) + \sqrt{2\eta} \boldsymbol\epsilon_k$
  • SGD: $\boldsymbol\theta_{k+1} = \boldsymbol\theta_k - \eta_k \tilde{\nabla} \mathcal{L}(\boldsymbol\theta_k)$
  • Diffusion samplers: Multi-step denoising processes

Each is a time-discretized dynamical system: with continuous time $t = k\eta$ and step size $\eta \to 0$, the iterates become a continuous-time process, an ODE or an SDE. Different algorithms can share one limit, the limit is analyzed with the theory of differential equations (convergence, stability, long-run behavior), and discretizing it in other ways gives new algorithms.

What this drawing shows

What you see. Red forward-Euler points fade as the green bilinear (Tustin) discretization builds point by point along the reference decay.

In the mind map. Chapter 20 — Euler and Bilinear (Tustin) Discretization. See From the book above for definitions, figures, and worked examples.

Where to read next

Open Chapter 20 companion →

Read the full definitions, figures, and worked examples in Chapter 20: ODE, SDE, and Continuous Limits of Algorithms — see the mind-map node Euler and Bilinear (Tustin) Discretization.

PNG Icons

Textless (256×256 px)
PNG 256×256 px Copy PNG URL
Textless (64×64 px)
PNG 64×64 px Copy PNG URL
Textless (32×32 px)
PNG 32×32 px Copy PNG URL

Animated GIFs

Animated GIF (256×256 px)
GIF 256×256 px Copy GIF URL
Animated GIF (128×128 px)
GIF 128×128 px Copy GIF URL
Animated GIF (64×64 px)
GIF 64×64 px Copy GIF URL