Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

The six-step cycle, written in probabilities

esmax · ocean · 1 · The simulate, infer, emulate, amortize and improve loop as statements about distributions, with linear and nonlinear examples under each step

Abstract

The six-step figure is usually read with functions: a model ff, an observation operator hh and an emulator f(⋅;θemu)f(\cdot; \gvect{\theta}_\text{emu}). In this page, we rewrite every box as a statement about distributions, which means a prior, a likelihood, a posterior, and learned densities that approximate them. So a deterministic model becomes one special case instead of the starting point. Nothing here assumes linearity. Linear and nonlinear instances only appear as worked examples underneath each step, to show where the closed forms come from and why they stop.

Keywords:six-step cycleprobabilistic modelposterioremulatoramortized inferencesimulation-based inference

Open the full page

Where it sits. Start here. Every later page is one box of this cycle, written for the ocean. The full page is a self-contained document with operator boxes (inputs, outputs, shapes and units), figures and code sketches, which opens on its own and links back here.

TL;DR: Six boxes, six distributions

Here x∈RDx\vect{x} \in \mathbb{R}^{D_x} is the state, y∈RDy\vect{y} \in \mathbb{R}^{D_y} the observations and θ∈RDθ\gvect{\theta} \in \mathbb{R}^{D_\theta} the physical parameters.

On the page

  1. The pipeline: train once, use per window

  2. Why distributions instead of functions

  3. Notation

  4. Step 1 · The simple model is a joint distribution

  5. Step 2 · Model-based inference is the posterior of that joint

  6. Step 3 · The emulator is a learned conditional density

  7. Step 4 · Emulator-based inference: the same posterior, one density swapped

  8. Step 5 · Amortized inference: learn the posterior as a function of the data

  9. Using a posterior: estimate, forecast, predict

  10. Step 6 · Improve: compare distributions, then change the structure

  11. Linear versus nonlinear, side by side

  12. Bridge to ocean state estimation