Techniquecore
Polynomial chaos expansion
Also called Wiener chaos expansion, PCE, Hermite chaos expansion.
Expands a random model output in polynomials orthogonal for the input distribution, so the mean and variance come from the coefficients.
A polynomial chaos expansion (PCE) writes a random model output , a function of a vector of independent random inputs with law , as a series
in polynomials that are orthonormal for : if and 0 otherwise. Each is a product of one dimensional orthogonal polynomials, , so is a multi-index of degrees. Because , the mean is and the variance is . A truncated expansion is a cheap surrogate of the model, and grouping the squared coefficients by the inputs they involve gives the Sobol indices. Wiener introduced the expansion for Gaussian inputs in 1938, with Hermite polynomials; Cameron and Martin proved its mean square convergence in 1947; Ghanem and Spanos made it a tool of engineering in 1991. The technique has two choices: the polynomial family, which generalized polynomial chaos matches to the input law, and the way to compute the coefficients, which gives the methods listed below.
In plain words
An uncertain input makes the output uncertain. Instead of running the model thousands of times and looking at the spread of results, write the output as a sum of simple polynomials of the input, chosen so that they do not overlap on average. Then each coefficient is the part of the output that its polynomial explains. The first coefficient is the average output. The squares of the others add up to the variance, and the ones that involve only one input tell you how much that input matters. For a smooth model a few dozen terms are often enough, and once you know them, the polynomial replaces the model.
When it applies
- The inputs are finitely many independent random variables , or have been reduced to such variables, for example by the Karhunen-Loeve theorem for a random field. Dependent inputs are mapped to independent ones first.
- The output has finite variance, , so it lies in the Hilbert space where the expansion lives.
- The polynomials must be dense in , or the series converges to the wrong function. For a Gaussian law this is the theorem of Cameron and Martin. For one input with all moments finite, Ernst, Mugler, Starkloff and Ullmann relate density to the determinacy of the moment problem: it holds for the uniform, Gaussian, gamma and beta laws, and it fails for polynomials in a lognormal variable.
- The output is a smooth function of the inputs. Then the coefficients decay fast and a low degree is enough. Kinks, jumps and bifurcations make the coefficients decay slowly.
- The number of inputs is moderate: the total degree basis of degree in inputs has terms.
The template
Notation. is the orthonormal polynomial of degree for the law of . is a finite set of multi-indices that contains 0. The truncated expansion is .
POLYNOMIAL-CHAOS(q, ρ, 𝒜)- 1
for each input k, choose the orthonormal family ψ^(k) for the law of ξ_k ▷ hole: the family (Askey scheme) - 2
choose the index set 𝒜 ▷ hole: total degree, hyperbolic, adaptive - 3
compute c_α ≈ E[q Ψ_α] for α in 𝒜 ▷ hole: Galerkin, projection, regression, l1 - 4
mean ← c_0; variance ← Σ_{α ≠ 0} c_α^2 - 5
S_k ← Σ over α that involve only ξ_k of c_α^2 / variance ▷ first-order Sobol indices - 6
return the surrogate Σ c_α Ψ_α, the moments and the indices
Line L1 is the choice that generalized polynomial chaos makes by the Askey scheme: Hermite polynomials for Gaussian inputs, Legendre for uniform, Laguerre for gamma, Jacobi for beta. Line L2 fixes the truncation; the total degree set is the default. Line L3 is the main hole, and the methods below fill it. Lines L4 and L5 need no more model runs.
Best approximation (proved). In , the truncated expansion with the exact coefficients is the orthogonal projection of onto , so it is the best approximation there:
Proof. For , is orthogonal to every with , so by Pythagoras . If the are complete, Parseval's identity gives the tail sum.
The moments of line L4 follow because for , so and .
Classic examples
The exponential of a Gaussian. Let and , a lognormal output. With the orthonormal Hermite polynomials , the generating function at gives . The mean is and the variance is . The relative error of the degree truncation, , is
| relative error | ||
|---|---|---|
| 1 | 1.6487 | 0.646 |
| 2 | 1.1658 | 0.356 |
| 3 | 0.6731 | 0.173 |
| 4 | 0.3365 | 0.0761 |
| 6 | 0.06144 | 0.0115 |
| 8 | 0.008211 | 0.00133 |
The coefficients decay faster than any geometric rate because is an entire function.
A kink. For with the same input, every odd coefficient is 0 and the relative error is 0.352, 0.226, 0.139, 0.084 and 0.050 at , so it falls only like . A function that is not smooth needs many terms, and a quantity such as the probability of computed from the surrogate is worse.
Intrusive coefficients. The stochastic Galerkin method puts the expansion into the model equations and asks the residual to be orthogonal to every , which gives one coupled system for all coefficients.
Projection by quadrature. Non-intrusive spectral projection computes each by a Gaussian quadrature rule on the input law, with one model run per node.
Regression. Regression polynomial chaos fits the coefficients by least squares to random model runs, and sparse polynomial chaos uses minimization when there are fewer runs than terms.
Sensitivity. The Sobol indices of the output come from the coefficients: the total index of is the sum of over all with , divided by the variance (Sudret 2008).
Variations
- Generalized polynomial chaos. Use the family orthogonal for the actual input law, from the Askey scheme or computed numerically.
- Arbitrary polynomial chaos. Build orthonormal polynomials from the moments of data, by Gram-Schmidt or a three-term recurrence, when the law is known only through samples.
- Index sets. Hyperbolic sets with keep high degrees in one input and drop high order interactions.
- Multi-element and local expansions. Split the input space into cells and use a separate expansion in each, for outputs with jumps.
- Wiener chaos for random fields and processes. The original setting: a functional of Brownian motion expanded in Hermite polynomials of countably many Gaussian variables.
- Vector outputs. Expand each output, or the leading modes of a principal component decomposition of the outputs, with the same basis.
Pitfalls
- Wrong family. Hermite polynomials of a uniform input, or of a Gaussian input mapped from a uniform one, converge more slowly than the matched Legendre family; see generalized polynomial chaos.
- Polynomials in a lognormal variable. They are not dense in , so a series in them need not converge to the output. Expand in the underlying Gaussian variable instead, as in the first example.
- The curse of dimension. grows fast: 10 inputs at degree 5 give 3003 terms. Use sparse index sets or sparse recovery.
- Non-smooth outputs. Kinks and jumps give slow convergence and oscillations, as in the second example.
- Tails. Mean square convergence does not control the tails. A probability of read from a surrogate can be wrong even when the variance is right; check with a reliability method on the true model.
- Dependent inputs. The product basis is orthonormal only for independent inputs. Map dependent inputs to independent ones first.
Exercises
- Show that the orthonormal Hermite coefficients of are , and find the variance from them.
- Prove that and for every in when the basis is complete.
- For inputs and total degree , count the multi-indices with and show that the count is .
- Compute the first-order Sobol indices of with independent standard normal inputs from its expansion.
- Explain why the odd coefficients of vanish, and estimate the decay of the even coefficients from the error table.
References
- Norbert Wiener, The homogeneous chaos, American Journal of Mathematics 60(4), 1938, the homogeneous chaos, the expansion of functionals of a Gaussian random measure in multiple Wiener integrals
- Robert H. Cameron and William T. Martin, The orthogonal development of non-linear functionals in series of Fourier-Hermite functionals, Annals of Mathematics 48(2), 1947, the mean square convergence of the Fourier-Hermite series of every square integrable functional of Brownian motion
- Roger G. Ghanem and Pol D. Spanos, Stochastic Finite Elements, A Spectral Approach, revised edition, Dover, 2003, the Hermite polynomial chaos as a basis for the random solution of a finite element model, with the Karhunen-Loeve expansion of the random inputs
- Oliver G. Ernst, Antje Mugler, Hans-Jorg Starkloff and Elisabeth Ullmann, On the convergence of generalized polynomial chaos expansions, ESAIM Mathematical Modelling and Numerical Analysis 46(2), 2012, 317-339, the density of polynomials in the space of square integrable functions of a random variable and its relation to the determinacy of the moment problem, with the lognormal counterexample
- Bruno Sudret, Global sensitivity analysis using polynomial chaos expansions, Reliability Engineering and System Safety 93(7), 2008, 964-979, the Sobol sensitivity indices computed as sums of squared chaos coefficients
Where this leads
About this page
The build computes these levels from the evidence in the repository. Each row says what the next level needs. Read what the levels mean.
| Ladder | Level | What the next level needs |
|---|---|---|
| Human proof | H0 no proof |
|
| Lean | L0 no Lean part |
|
| Visual | V0 none |
|
| Writing | W2 basic |
|
Tag 1VF7N4 Edit this page History Report an error Markdown