Foundations to Frontier
Tests
J. Scientific Machine Learning › J5 Surrogate Modeling and Reduced-Order Models

Proper orthogonal decomposition and Galerkin reduced-order models

Proper orthogonal decomposition (POD) finds, from snapshots of a simulation, the orthonormal basis that captures the most energy with the fewest functions: the leading singular vectors of the snapshot matrix. Projecting the governing equations onto a few POD modes gives a Galerkin reduced-order model with tens of unknowns instead of thousands. This page builds POD bases for diffusion and for advection, shows why moving features need many modes, and tests a parametric reduced model inside and outside its training range.

Level 0: Foundation

★☆☆☆☆ Introductory⏱ 5 minGeneral audience. No mathematics required.

A few patterns that make up every snapshot

Watch a simulation of heat spreading through a bar and save the temperature at many moments. All those snapshots turn out to be mixtures of a handful of shapes. POD finds those shapes, ordered from most to least important. Describe the system by how much of each shape it contains, write the physics for those few numbers, and you have a model that runs hundreds of times faster. The catch: if something moves across the domain, like a pulse carried by a current, many more shapes are needed.

Surrogate and reduced-order model lab
A drifting, spreading pulse at t = 0.75 (black) and its rank-3 POD reconstruction (green). Bars: singular values on a log scale, used modes in green. energy captured 91.35% · relative reconstruction error 23.24%. Moving features need many modes.
Why engineers care

POD reduced-order models are used for flow control, structural dynamics, digital twins of machines and fast parameter studies in engineering design.

📝 Quick check (Level 0)
0/3 answered
  1. 1. POD modes are found from…
  2. 2. A Galerkin reduced model solves for…
  3. 3. POD needs many modes when…

Level 1: Beginner

★★☆☆☆ Basic⏱ 20 minSecondary-school mathematics: arithmetic and elementary algebra.

By hand

  • Snapshots: S has rows u(t_k; μ_j) for times and parameters; the POD modes are the right singular vectors of S, ordered by singular value σ_1 ≥ σ_2 ≥ ….
  • Optimality (Eckart–Young): among all r-dimensional bases, the first r POD modes minimise the projection error of the snapshots, and that error is √(Σ_(k > r) σ_k² / Σ_k σ_k²).
  • Method of snapshots (Sirovich, 1987): for m snapshots of size N ≫ m, solve the m × m eigenproblem of S Sᵀ instead.
  • Galerkin ROM: write u ≈ V a with V the N × r mode matrix; for u_t = A u, the reduced system is a_t = Vᵀ A V a. Nonlinear terms need hyper-reduction (DEIM, gappy POD) to avoid N-sized work.
  • Parametric ROMs: collect snapshots at several parameter values and build one basis; accuracy holds inside the sampled range.
  • Kolmogorov n-width: transport and sharp moving fronts make the best linear r-dimensional approximation decay slowly, the main limitation of linear ROMs.
📝 Quick check (Level 1)
0/3 answered
  1. 1. The projection error with r POD modes equals…
  2. 2. The method of snapshots solves an eigenproblem of size…
  3. 3. Nonlinear terms in a ROM need…

Level 2: Intermediate

★★★☆☆ Intermediate⏱ 25 minUndergraduate students and practising engineers.

Snapshots, singular values and projection

Exercise 1.

  • A full model u_t = κ u_xx − c u_x on 128 interior points with zero ends, implicit Euler, 400 steps; checked against exp(−κπ²t) decay of sin(πx).
  • POD modes by SVD; orthonormality; projection error equal to the discarded singular-value energy.
  • Method of snapshots: the snapshot correlation matrix has the same singular values.

Practice.

  • Subtract a mean or lift the boundary conditions before POD when the snapshots share a large common part.
  • Choose r by energy or by projection error on held-out snapshots, not by a fixed rule such as 99%.
  • Sample parameters to cover the range of use and test the ROM at new parameter values.
  • Use hyper-reduction for nonlinear terms; otherwise the reduced model still costs O(N) per step.
  • Tools: NumPy/SciPy SVD, modred, pyMOR, RBniCS, PySINDy for data-driven alternatives, and the ROM tools in libROM.
import numpy as np

U, s, Vt = np.linalg.svd(S, full_matrices=False)       # S: snapshots as rows (m × N)
energy = np.cumsum(s**2) / np.sum(s**2)
r = int(np.searchsorted(energy, 1 - 1e-4) + 1)         # projection error below 1%
V = Vt[:r].T                                           # N × r POD basis
Ar = V.T @ A @ V                                       # Galerkin reduced operator (r × r)
a = V.T @ u0                                           # reduced initial state; step a with Ar, then u ≈ V a
🐍 Exercise 1: snapshots and POD
Simulate advection–diffusion, compute POD modes by SVD and by the method of snapshots, and check the projection-error formula.
📝 Quick check (Level 2)
0/3 answered
  1. 1. A library for parametric reduced models:
  2. 2. Before POD, it often helps to…
  3. 3. Choose r using…

Level 3: Advanced

★★★★☆ Advanced⏱ 25 minGraduate level, with full derivations and proofs.

Theory

Why diffusion compresses well. Under diffusion, the k-th sine mode decays like exp(−κ(kπ)²t), so snapshots quickly become combinations of a few smooth shapes and singular values fall fast. A pulse carried by advection instead occupies different places at different times; each position needs its own combination of modes, and the singular values fall slowly.

Why Galerkin error exceeds projection error. The projection error is the best a basis can do for given snapshots. The Galerkin ROM also has to evolve the coefficients with the projected dynamics, and errors made at one step are carried to the next, so its error is larger, most of all when the basis misses parts of the true solution.

Results in the exercise. For 1% projection error, pure diffusion needed 4 modes and advection 12. A ROM trained on κ ∈ 0.002, 0.008 and c ∈ 0.3, 0.7 had Galerkin error 0.03 with 10 modes and below 0.001 with 20 at the new parameters κ = 0.004, c = 0.5. At c = 1.0, outside the training range, the errors were 0.3 and 0.04: the pulse travelled where no training snapshot had seen it. The full model has 128 unknowns; the ROM 10 or 20. The study is deterministic (no random numbers).

📝 Quick check (Level 3)
0/3 answered
  1. 1. Under diffusion, high sine modes…
  2. 2. Galerkin error is usually…
  3. 3. Outside the training parameter range, the ROM…

Level 4: Expert

★★★★★ Expert⏱ 30 minResearchers: original papers and open problems.

How many POD modes does a problem need, and does a Galerkin reduced model stay accurate at new parameters?

History.

  • K. Karhunen (1946) and M. Loève (1955) introduced the expansion now behind POD; J. Lumley (1967) used it to find coherent structures in turbulence.
  • L. Sirovich (1987) introduced the method of snapshots.
  • P. Holmes, J. Lumley and G. Berkooz (1996) set out POD–Galerkin models for fluids.
  • S. Chaturantabut and D. Sorensen (2010) introduced DEIM for nonlinear terms; P. Benner, S. Gugercin and K. Willcox (2015) surveyed parametric model reduction.

Exercise 2. u_t = κ u_xx − c u_x on 128 points, Gaussian pulse at x = 0.2, implicit Euler, 400 steps to t = 1. (a) Modes for given projection errors. (b) Basis from 4 training runs (κ = 0.002, 0.008; c = 0.3, 0.7), tested at (0.004, 0.5) and (0.004, 1.0). Relative errors over all snapshots (projection / Galerkin).

POD modes inside: c = 0.5 outside: c = 1.0
5 0.2 / 0.2 0.3 / 0.5
10 0.01 / 0.03 0.1 / 0.3
20 below 0.001 / below 0.001 0.009 / 0.04
  • Modes for 1% and 0.1% error: diffusion 4 and 6, advection 12 and 15.
  • Inside the range the ROM was excellent; outside, errors were 10 to 40 times larger.
  • Galerkin error exceeded projection error, most where the basis was poor.
🐍 Exercise 2 (research): how many POD modes does a problem need, and does a Galerkin reduced model stay accurate at new parameters?
Build POD bases for diffusion and advection, then a parametric Galerkin ROM, and test it inside and outside its training parameter range.

POD and reduced-order models in practice

  • Fluid dynamics: POD of wakes and jets; ROMs for flow control and design.
  • Structures and digital twins: reduced finite-element models running in real time beside machines.
  • Parameter studies: reduced models for many-query optimisation and uncertainty quantification (J5-1).
  • Nonlinear and transport problems: hyper-reduction, shifted or registered POD, and nonlinear manifolds learned with autoencoders.

References

  1. L. Sirovich (1987). “Turbulence and the dynamics of coherent structures. Part I: coherent structures.” Quarterly of Applied Mathematics.
  2. P. Holmes, J. L. Lumley and G. Berkooz (1996). Turbulence, Coherent Structures, Dynamical Systems and Symmetry. Cambridge University Press.
  3. S. Chaturantabut and D. C. Sorensen (2010). “Nonlinear model reduction via discrete empirical interpolation.” SIAM Journal on Scientific Computing.
  4. P. Benner, S. Gugercin and K. Willcox (2015). “A survey of projection-based model reduction methods for parametric dynamical systems.” SIAM Review.
  5. J. S. Hesthaven, G. Rozza and B. Stamm (2016). Certified Reduced Basis Methods for Parametrized Partial Differential Equations. Springer.