Algorithm Search⌘K

Definitioncore

Sobol indices

Also called Sobol sensitivity indices, variance-based sensitivity indices.

The shares of the output variance due to each input or group of inputs, from the Hoeffding-Sobol decomposition of the model.

Sobol indices measure how much of the uncertainty of a model output comes from each uncertain input, alone or together with other inputs. The output variance is split by the Hoeffding-Sobol decomposition into parts that belong to single inputs and to groups of inputs, and each index is one part, or a sum of parts, divided by the total variance. The first order index of an input is the share it causes alone, and the total index is the share it takes part in. They are global measures, averaged over the whole input law, and they are defined only for independent inputs.

Definition

Let the inputs x=(x1,…,xd)x = (x_1, \ldots, x_d) be independent random variables, and let Y=f(x)Y = f(x) be square integrable with D=Var(Y)>0D = \mathrm{Var}(Y) > 0. Let f=∑ufu(xu)f = \sum_{u} f_u(x_u) be the Hoeffding-Sobol decomposition of ff, with Du=Var(fu)D_u = \mathrm{Var}(f_u), so that D=∑u≠∅DuD = \sum_{u \ne \emptyset} D_u. Write x∼ix_{\sim i} for all inputs except xix_i.

  • The Sobol index of a nonempty set uu of inputs is Su=Du/DS_u = D_u / D. For u={i,j}u = \{i, j\} it is the second order index SijS_{ij}.
  • The first order index, or main effect, of input ii is
Si=D{i}D=Var(E[Y∣xi])Var(Y).S_i = \frac{D_{\{i\}}}{D} = \frac{\mathrm{Var}(\mathbb{E}[Y \mid x_i])}{\mathrm{Var}(Y)}.
  • The closed index of a set uu is Suclo=Var(E[Y∣xu])/D=∑∅≠v⊆uSvS^{\mathrm{clo}}_u = \mathrm{Var}(\mathbb{E}[Y \mid x_u])/D = \sum_{\emptyset \ne v \subseteq u} S_v.
  • The total index of input ii is
STi=∑u∋iSu=E[Var(Y∣x∼i)]Var(Y)=1−Var(E[Y∣x∼i])Var(Y).S_{Ti} = \sum_{u \ni i} S_u = \frac{\mathbb{E}[\mathrm{Var}(Y \mid x_{\sim i})]}{\mathrm{Var}(Y)} = 1 - \frac{\mathrm{Var}(\mathbb{E}[Y \mid x_{\sim i}])}{\mathrm{Var}(Y)}.

The second forms come from the identity E[f∣xu]=∑v⊆ufv\mathbb{E}[f \mid x_u] = \sum_{v \subseteq u} f_v of the decomposition and from the law of total variance, Var(Y)=Var(E[Y∣x∼i])+E[Var(Y∣x∼i)]\mathrm{Var}(Y) = \mathrm{Var}(\mathbb{E}[Y \mid x_{\sim i}]) + \mathbb{E}[\mathrm{Var}(Y \mid x_{\sim i})]. The first form of SiS_i says: if xix_i could be fixed at its true value, the variance would drop by SiDS_i D on average. The form of STiS_{Ti} says: if all inputs except xix_i were fixed, a share STiS_{Ti} of the variance would remain on average.

From the definition, the following facts hold (they are theorems that follow from the decomposition):

  • 0≤Si≤STi≤10 \le S_i \le S_{Ti} \le 1, and STi−SiS_{Ti} - S_i is the share of the interactions of input ii.
  • ∑iSi≤1≤∑iSTi\sum_i S_i \le 1 \le \sum_i S_{Ti}, with equality on either side if and only if ff is additive.
  • STi=0S_{Ti} = 0 if and only if ff does not depend on xix_i for almost every xx, so input ii can be fixed at any value without changing the law of YY. This is the base of factor fixing.

Examples and non-examples

A small model. Let f=x1+2x2+x1x2f = x_1 + 2x_2 + x_1x_2 with x1,x2x_1, x_2 independent and uniform on [−1,1][-1, 1]. The decomposition terms are x1x_1, 2x22x_2 and x1x2x_1x_2, with variances 1/31/3, 4/34/3 and 1/91/9, so D=16/9D = 16/9 and

index value
S1S_1 3/16=0.18753/16 = 0.1875
S2S_2 3/4=0.753/4 = 0.75
S12S_{12} 1/16=0.06251/16 = 0.0625
ST1S_{T1} 1/4=0.251/4 = 0.25
ST2S_{T2} 13/16=0.812513/16 = 0.8125

The first order indices add up to 15/1615/16; the missing 1/161/16 is the interaction, which counts in both total indices.

A linear model. For f=c0+∑icixif = c_0 + \sum_i c_i x_i with independent inputs of variances σi2\sigma_i^2, Si=STi=ci2σi2/∑jcj2σj2S_i = S_{Ti} = c_i^2\sigma_i^2 / \sum_j c_j^2\sigma_j^2. In this case, and in general only for linear models, the indices are the squared standardized regression coefficients.

The Ishigami function. For f=sin⁡x1+7sin⁡2x2+0.1 x34sin⁡x1f = \sin x_1 + 7\sin^2 x_2 + 0.1\, x_3^4 \sin x_1 with xix_i independent and uniform on [−π,π][-\pi, \pi], the variance is D=13.8446D = 13.8446 and the only nonzero terms are f1f_1, f2f_2 and f13f_{13}:

input SiS_i STiS_{Ti}
x1x_1 0.3139 0.5576
x2x_2 0.4424 0.4424
x3x_3 0 0.2437

Input x3x_3 has no effect alone, E[Y∣x3]\mathbb{E}[Y \mid x_3] is constant, but it changes the amplitude of the sin⁡x1\sin x_1 term, so its total index is not zero. Fixing x3x_3 on the basis of S3=0S_3 = 0 would be wrong; the total index is the right measure for factor fixing.

Non-example: a correlation. Let xx be uniform on [−1,1][-1, 1] and Y=x2Y = x^2. The correlation of xx and YY is zero, but S1=1S_1 = 1: all of the variance comes from xx. A correlation or a regression coefficient measures only the linear part of the dependence; the first order index is the squared correlation ratio, which sees every form of dependence.

Non-example: a local derivative. For f=x1x2f = x_1x_2 with inputs uniform on [−1,1][-1, 1], both partial derivatives are zero at the nominal point (0,0)(0, 0), so a local sensitivity study at that point finds no effect. The Sobol indices are S1=S2=0S_1 = S_2 = 0 and S12=1S_{12} = 1: the inputs act only together, and their total indices are 1.

Non-example: dependent inputs. Let x1,x2x_1, x_2 be standard normal with correlation 0.50.5 and Y=x1+x2Y = x_1 + x_2. The ratios Var(E[Y∣xi])/Var(Y)\mathrm{Var}(\mathbb{E}[Y \mid x_i])/\mathrm{Var}(Y) are 0.750.75 each and add up to 1.51.5, so they are not shares of the variance. The Hoeffding-Sobol decomposition is not orthogonal for dependent inputs, and the definition above does not apply.

Non-example: infinite variance. If YY is not square integrable, for example a Cauchy distributed input passed through f(x)=xf(x) = x, then DD is infinite and no index is defined.

  • Elementary effects. The measures μi∗\mu^*_i and σi\sigma_i of the Morris method are cheap screening measures on a grid. They rank inputs, but they are not shares of the variance.
  • Fourier estimates. The Fourier amplitude sensitivity test estimates SiS_i and STiS_{Ti} from the spectrum of the output along a search curve, and the Saltelli sampling scheme estimates them by Monte Carlo from two matrices and their column swaps.
  • Shapley effects. The Shapley effect of input ii is the Shapley value of the game whose value of a set uu is Var(E[Y∣xu])\mathrm{Var}(\mathbb{E}[Y \mid x_u]). For independent inputs it is ∑u∋iSu/∣u∣\sum_{u \ni i} S_u / |u|, between SiS_i and STiS_{Ti}, and it splits each interaction equally among its inputs. Unlike the Sobol indices, the Shapley effects add up to 1 also for dependent inputs, which is why Owen and others proposed them.
  • Derivative-based measures. The measure νi=E[(∂f/∂xi)2]\nu_i = \mathbb{E}[(\partial f/\partial x_i)^2] of Sobol and Kucherenko averages the squared derivative over the input law. For inputs uniform on [0,1][0, 1], they proved the bound STi≤νi/(π2D)S_{Ti} \le \nu_i / (\pi^2 D).
  • Active subspaces. The active subspaces method uses the matrix E[∇f∇f⊤]\mathbb{E}[\nabla f \nabla f^{\top}] to find important directions, which may be combinations of inputs rather than single inputs.
  • Polynomial chaos indices. If ff has a polynomial chaos expansion in orthonormal polynomials of the independent inputs, each DuD_u is the sum of the squared coefficients whose basis terms depend on exactly the inputs in uu.
  • Variance and conditional expectation. The indices are ratios of the variance of a conditional expectation to the total variance. They are the variance-based part of forward uncertainty propagation, which asks for the law of YY; the indices then ask where its variance comes from.

References

  1. Ilya M. Sobol, Sensitivity estimates for nonlinear mathematical models, the definition of the sensitivity indices of single inputs and groups of inputs as ratios of the variances of the decomposition terms (translation of the 1990 Russian paper)
  2. I. M. Sobol, Global sensitivity indices for nonlinear mathematical models and their Monte Carlo estimates, Mathematics and Computers in Simulation 55(1-3), 2001, 271-280, the indices of groups of variables, the total index and the fixing of unessential variables
  3. Toshimitsu Homma and Andrea Saltelli, Importance measures in global sensitivity analysis of nonlinear models, Reliability Engineering and System Safety 52(1), 1996, 1-17, the total sensitivity index
  4. Andrea Saltelli, Marco Ratto, Terry Andres, Francesca Campolongo, Jessica Cariboni, Debora Gatelli, Michaela Saisana and Stefano Tarantola, Global Sensitivity Analysis, The Primer, Wiley, 2008, Chapter 4 (variance-based methods, first order and total effects, factor prioritization and factor fixing)
  5. Tsutomu Ishigami and Toshimitsu Homma, An importance quantification technique in uncertainty analysis for computer models, Proceedings of the First International Symposium on Uncertainty Modeling and Analysis (ISUMA 1990), IEEE, 1990, 398-403, the test function sin x1 + a sin^2 x2 + b x3^4 sin x1

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.

LadderLevelWhat the next level needs
Human proofH0 no proof
  • add a proof in proofs/ (06.5)
LeanL0 no Lean part
  • name a Lean module in the lean field (07)
VisualV0 none
  • add viz/scene.ts or a figure (10)
WritingW4 complete
  • a review of the text: no review record reviews/M61B58/text.yaml