# 基于方差的敏感性分析

基于方差的敏感性分析是一类统计方法，用于量化数学模型各输入的不确定性对输出方差的贡献，通常产生被称为Sobol'指数的一阶指数和总效应指数。由于这些指数与模型无关且能捕捉输入间的交互作用，该方法在敏感性分析中得到广泛应用。<sup>[1](https://centaur.reading.ac.uk/93976/1/Variance-based_sensitivity_analysis-The_quest_for_better_estimators_and_designs_between_explorativity_and_economy.pdf)</sup><sup> • </sup><sup>[2](https://www.sciencedirect.com/science/article/pii/S1364815221000037)</sup> 其目标是将输出不确定性归因于输入因子的不确定性。<sup>[1](https://centaur.reading.ac.uk/93976/1/Variance-based_sensitivity_analysis-The_quest_for_better_estimators_and_designs_between_explorativity_and_economy.pdf)</sup>

| 关键事实 | 详情 |
| --- | --- |
| 输出 | 每个不确定输入的一阶指数 \( S_{i} \) 和总效应指数 \( S_{T_{i}} \)<sup>[1](https://centaur.reading.ac.uk/93976/1/Variance-based_sensitivity_analysis-The_quest_for_better_estimators_and_designs_between_explorativity_and_economy.pdf)</sup> |
| 一阶指数 | \( S_{u} = \mathbb{V}[\mathbb{E}[y \mid u]] / \mathbb{V}[y] \)，即若将输入 \( u \) 固定，输出方差预期的减少百分比<sup>[3](https://ar5iv.labs.arxiv.org/html/2006.08232)</sup> |
| 总阶指数 | \( S_{T_{v}} = \mathbb{E}[\mathbb{V}[y \mid u]] / \mathbb{V}[y] \)；\( S_{u} + S_{T_{v}} = 1 \)，因此 \( S_{T_{v}} = 0 \) 意味着输入 \( v \) 毫无贡献<sup>[3](https://ar5iv.labs.arxiv.org/html/2006.08232)</sup> |
| 分解规模 | 含 \( k \) 个因子的模型的ANOVA分解包含 \( 2^{k} \) 项，所有指数之和为一<sup>[4](https://doi.org/10.1016/j.cpc.2009.09.018)</sup> |
| 计算成本 | 含 \( d \) 个输入时，计算全部一阶和总阶指数需 \( N \cdot (d+2) \) 次模型调用；在10%不确定性下估计单个指数约需 \( 10^{4} \) 次调用<sup>[3](https://ar5iv.labs.arxiv.org/html/2006.08232)</sup><sup> • </sup><sup>[5](https://ar5iv.labs.arxiv.org/html/1404.2405)</sup> |
| 采样 | Sobol' LP-tau准随机序列比普通蒙特卡洛收敛更快，有时快达十倍<sup>[6](https://arxiv.org/html/2509.09078)</sup><sup> • </sup><sup>[5](https://ar5iv.labs.arxiv.org/html/1404.2405)</sup> |
| 主要假设 | 输入必须相互独立；若不独立，蒙特卡洛估计量将产生偏差<sup>[7](https://arxiv.org/html/2506.11471)</sup> |

## 工作原理

该方法基于ANOVA-Hoeffding分解，即将单位超立方体上的模型输出 \( f(x) \) 正交展开为常数项、单输入函数、双输入交互函数，直至完整的联合函数。<sup>[8](https://perso.math.univ-toulouse.fr/lagnoux/files/2023/01/lecture_GSA_CC.pdf)</sup><sup> • </sup><sup>[4](https://doi.org/10.1016/j.cpc.2009.09.018)</sup> 对于含 \( k \) 个输入的模型，该分解包含 \( 2^{k} \) 项，每项对应一个输入子集。<sup>[4](https://doi.org/10.1016/j.cpc.2009.09.018)</sup>

一阶指数是条件期望的方差除以总方差，即 \( \mathbb{V}[\mathbb{E}[y \mid X_{i}]] / \mathbb{V}[y] \)；而总效应指数则对补集输入使用期望条件方差，即 \( \mathbb{E}[\mathbb{V}[y \mid X_{-i}]] / \mathbb{V}[y] \)。输入组 \( u \) 的一阶指数为 \( S_{u} = \mathbb{V}[\mathbb{E}[y \mid u]] / \mathbb{V}[y] \)，补集组 \( v \) 的总阶指数为 \( S_{T_{v}} = \mathbb{E}[\mathbb{V}[y \mid u]] / \mathbb{V}[y] \)。<sup>[3](https://ar5iv.labs.arxiv.org/html/2006.08232)</sup> 偏方差通过条件期望定义，各指数之和为一：\( \sum_{i} S_{i} + \sum_{i}\sum_{j>i} S_{ij} + \cdots + S_{12\ldots k} = 1 \)。<sup>[4](https://doi.org/10.1016/j.cpc.2009.09.018)</sup>

一阶指数用于因子优先级排序，而总阶指数用于筛选和因子固定：\( S_{T_{i}} \) 度量因子 \( X_{i} \) 的一阶及高阶效应，始终满足 \( S_{T_{i}} \geq S_{i} \)，且 \( \sum_{i} S_{T_{i}} \geq 1 \)。一阶指数满足 \( \sum_{i=1}^{d} S_{i} \leq 1 \)，仅当无交互作用贡献于输出方差时取等号。<sup>[3](https://ar5iv.labs.arxiv.org/html/2006.08232)</sup><sup> • </sup><sup>[6](https://arxiv.org/html/2509.09078)</sup><sup> • </sup><sup>[4](https://doi.org/10.1016/j.cpc.2009.09.018)</sup> Sobol'指数等价于相关比的平方，该量在统计学中作为方差分析的一部分而为人所知。<sup>[8](https://perso.math.univ-toulouse.fr/lagnoux/files/2023/01/lecture_GSA_CC.pdf)</sup>

## 实施方法

标准工作流使用选取-冻结估计量，它依赖于随机输入向量的两个独立实现。<sup>[9](https://openturns.github.io/openturns/1.24/theory/reliability_sensitivity/sensitivity_sobol.html)</sup> 同时计算一阶和总阶指数最流行的设计需要每次试验三个样本，\( (y^{A}, y^{B}, y^{A_{u}}) \)，其中第三个样本将组 \( u \) 的输入冻结在样本A的取值上。<sup>[3](https://ar5iv.labs.arxiv.org/html/2006.08232)</sup> 后续方案在同时计算所有一阶和总阶指数时，将每次试验的需求从 \( 2n+1 \) 次模型评估降至 \( n+2 \) 次，且同样的评估还能产出所有二维指数 \( S_{ij} \)。<sup>[10](https://www.broda.co.uk/gsa/sobol_global_sa.pdf)</sup>

采样至关重要。Sobol' LP-tau序列，也称基2的 \( (t,s) \)-序列或Sobol序列，通常用于拟蒙特卡洛实现，收敛速度快于普通蒙特卡洛。<sup>[11](https://doi.org/10.1016/s0378-4754%2800%2900270-6)</sup> Homma和Saltelli发现，在计算基于方差的指数时，LP-tau序列优于拉丁超立方采样等其他策略。<sup>[12](https://informs-sim.org/wsc97papers/0261.PDF)</sup>

成本随维度增长：全套一阶和总阶指数需要 \( N \cdot (d+2) \) 次模型调用，而在10%不确定性下估计单个指数可能需要约 \( 10^{4} \) 次调用。<sup>[3](https://ar5iv.labs.arxiv.org/html/2006.08232)</sup><sup> • </sup><sup>[5](https://ar5iv.labs.arxiv.org/html/1404.2405)</sup>

## 起源

其统计学前身是相关比，作为方差分析的一部分被引入；在敏感性分析语境中，该指数早先在针对单输入的应用论文中出现，之后Sobol'才在一般框架下加以处理。<sup>[8](https://perso.math.univ-toulouse.fr/lagnoux/files/2023/01/lecture_GSA_CC.pdf)</sup> 基于方差的敏感性分析也始于一种傅里叶实现，即傅里叶振幅敏感性检验（FAST）。<sup>[4](https://doi.org/10.1016/j.cpc.2009.09.018)</sup><sup> • </sup><sup>[12](https://informs-sim.org/wsc97papers/0261.PDF)</sup>

他证明了一个关于将可积函数分解为不同维度的加项的定理，并提出了一种蒙特卡洛算法，用于估计关于任意变量组的敏感性。<sup>[13](https://www.mathnet.ru/php/archive.phtml?jrnid=mm&option_lang=eng&paperid=2320&wshow=paper)</sup> Sobol'的英文阐述《非线性数学模型的全局敏感性指数及其蒙特卡洛估计》于2001年发表在《数学与计算机模拟》上。<sup>[11](https://doi.org/10.1016/s0378-4754%2800%2900270-6)</sup>

后来的贡献塑造了当前实践。Homma和Saltelli 1996年发表于《可靠性工程与系统安全》的论文《非线性模型全局敏感性分析中的重要度量》包含了总效应指数。<sup>[14](https://doi.org/10.1016/0951-8320%2896%2900002-6)</sup> Saltelli、Tarantola和Chan 1999年发表于《技术计量学》的论文提出了扩展FAST，可计算每个输入的总贡献——与Sobol'指数相同的敏感性度量——且在低样本量下具有稳健性。<sup>[15](https://doi.org/10.1080/00401706.1999.10485594)</sup> Jansen 1999年发表于《计算机物理通信》的论文分析了模型输出的方差设计。<sup>[16](https://doi.org/10.1016/s0010-4655%2898%2900154-4)</sup> Andrea Saltelli及其同事2009年发表于《计算机物理通信》的论文给出了总敏感性指数的设计与估计量。<sup>[4](https://doi.org/10.1016/j.cpc.2009.09.018)</sup>

## 变体

Python库SALib中实现的命名变体包括Sobol分析、Morris、FAST、RBD-FAST、Delta矩独立度量、基于导数的全局敏感性度量（DGSM）、Shapley效应、HDMR和PAWN。<sup>[17](https://salib.readthedocs.io/en/stable/index.html)</sup> OpenTURNS实现了选取-冻结估计量及其多种估计量变体：Saltelli、Jansen、Mauntz-Kucherenko和Martinez。<sup>[9](https://openturns.github.io/openturns/1.24/theory/reliability_sensitivity/sensitivity_sobol.html)</sup> 元模型和仿真器方法，如高斯过程，已被提出用于计算这些指数，其中通过仿真器估计主效应尤为高效，且对输入数量的依赖较弱。<sup>[4](https://doi.org/10.1016/j.cpc.2009.09.018)</sup>

近期工作致力于解决成本障碍。基于数据的分箱估计量通过在固定的输入-输出样本上操作，消除了成本随输入数量的线性增长，代价是只能计算一阶指数；其扩展涵盖流式处理和并行处理以及非等概率划分，动机来自具有 \( 10^{4} \) 至 \( 10^{5} \) 个输入的神经网络模型。<sup>[6](https://arxiv.org/html/2509.09078)</sup>

## 应用

该方法用于数学模型的质量保证、校准、验证、不确定性缩减和模型简化。<sup>[1](https://centaur.reading.ac.uk/93976/1/Variance-based_sensitivity_analysis-The_quest_for_better_estimators_and_designs_between_explorativity_and_economy.pdf)</sup> 用全局敏感性指数解决的第一个问题是一个依赖于由计算机代码定义的35个变量的技术模型，其中设计者假设12个变量不重要；该方法对该不重要子集给出 \( S_{T} = 0.02 \)。<sup>[10](https://www.broda.co.uk/gsa/sobol_global_sa.pdf)</sup>

## 局限与替代方法

若干局限性制约着该方法。这些指数依赖于函数型ANOVA分解，要求输入独立，且可能需要大量模型运行，在资源有限时必须使用仿真器。<sup>[7](https://arxiv.org/html/2506.11471)</sup> 当独立性假设被违反时，蒙特卡洛估计量产生偏差，这推动了Rosenblatt变换或Shapley效应的使用。<sup>[18](https://journals.plos.org/ploscompbiol/article?id=10.1371%2Fjournal.pcbi.1013312)</sup> 该方法仅通过方差概括不确定性，因此高阶矩可能提供额外信息。<sup>[7](https://arxiv.org/html/2506.11471)</sup> 指数数量随维度 \( d \) 以 \( 2^{d} - 1 \) 增长，因此实践者不应估计高于二阶的指数。<sup>[5](https://ar5iv.labs.arxiv.org/html/1404.2405)</sup>

替代方法在成本与信息量之间作出权衡。Morris方法将输入筛选为三组——可忽略效应、无交互的大线性效应、以及大非线性或交互效应——使用重复进行的每次只改变一个因子的设计所产生的初等效应，建议重复次数在4到10之间。<sup>[5](https://ar5iv.labs.arxiv.org/html/1404.2405)</sup> FAST降低了成本但仍然昂贵，且当输入数量超过约10时不稳定且有偏。<sup>[5](https://ar5iv.labs.arxiv.org/html/1404.2405)</sup> Shapley值与Sobol'指数不同，允许输入相关的同时仍求和为总方差，且当输入独立时，其值介于Sobol主指数和总指数之间。<sup>[7](https://arxiv.org/html/2506.11471)</sup> 相比之下，Sobol'总指数多次计算交互作用而丧失可解释性，而Shapley值在涉及的输入之间公平分配交互效应。<sup>[7](https://arxiv.org/html/2506.11471)</sup>

## References

1. [Variance-based sensitivity analysis: the quest for better estimators and designs between explorativity and economy (Reliability Engineering & System Safety, 2021; repository copy)](https://centaur.reading.ac.uk/93976/1/Variance-based_sensitivity_analysis-The_quest_for_better_estimators_and_designs_between_explorativity_and_economy.pdf)
2. [Is VARS more intuitive and efficient than Sobol' indices? (Environmental Modelling & Software)](https://www.sciencedirect.com/science/article/pii/S1364815221000037)
3. [Monte Carlo estimators of first- and total-orders Sobol' indices (arXiv:2006.08232)](https://ar5iv.labs.arxiv.org/html/2006.08232)
4. [Andrea Saltelli and colleagues (2009). Variance based sensitivity analysis of model output. Design and estimator for the total sensitivity index. Computer Physics Communications.](https://doi.org/10.1016/j.cpc.2009.09.018)
5. [A review on global sensitivity analysis methods (arXiv:1404.2405)](https://ar5iv.labs.arxiv.org/html/1404.2405)
6. [Scalable extensions to given-data Sobol' index estimators (arXiv:2509.09078)](https://arxiv.org/html/2509.09078)
7. [A Review and Comparison of Different Sensitivity Analysis Techniques in Practice (arXiv:2506.11471)](https://arxiv.org/html/2506.11471)
8. [Lecture notes on variance-based sensitivity analysis (Klein/Lagnoux, Toulouse)](https://perso.math.univ-toulouse.fr/lagnoux/files/2023/01/lecture_GSA_CC.pdf)
9. [OpenTURNS 1.24 documentation, Sobol' indices theory](https://openturns.github.io/openturns/1.24/theory/reliability_sensitivity/sensitivity_sobol.html)
10. [Sobol' & Kucherenko, "Global Sensitivity Indices for Nonlinear Mathematical Models. Review"](https://www.broda.co.uk/gsa/sobol_global_sa.pdf)
11. [Global sensitivity indices for nonlinear mathematical models and their Monte Carlo estimates (Mathematics and Computers in Simulation, 2001)](https://doi.org/10.1016/s0378-4754%2800%2900270-6)
12. [Sensitivity Analysis of Model Output: Variance-Based Methods Make the Difference (Winter Simulation Conference 1997)](https://informs-sim.org/wsc97papers/0261.PDF)
13. [I. M. Sobol', "On sensitivity estimation for nonlinear mathematical models", Mat. Model., 2:1 (1990), 112–118](https://www.mathnet.ru/php/archive.phtml?jrnid=mm&option_lang=eng&paperid=2320&wshow=paper)
14. [Importance measures in global sensitivity analysis of nonlinear models (Reliability Engineering & System Safety, 1996)](https://doi.org/10.1016/0951-8320%2896%2900002-6)
15. [A. Saltelli, S. Tarantola, K. P.-S. Chan (1999). A Quantitative Model-Independent Method for Global Sensitivity Analysis of Model Output. Technometrics.](https://doi.org/10.1080/00401706.1999.10485594)
16. [Analysis of variance designs for model output (Computer Physics Communications, 1999)](https://doi.org/10.1016/s0010-4655%2898%2900154-4)
17. [SALib, Sensitivity Analysis Library in Python](https://salib.readthedocs.io/en/stable/index.html)
18. [Bayesian-calibrated global sensitivity analysis for mathematical models using generative AI (PLOS Computational Biology)](https://journals.plos.org/ploscompbiol/article?id=10.1371%2Fjournal.pcbi.1013312)

---
*Initially written Sep 29, 2026 · Edited: Oct 15, 2026; Oct 21, 2026*

Topic: 物质世界与数学 › 数学与统计学 › 统计学与概率论 › Multivariate association and dimension reduction › Titles Mo to W

Copyright 2026 Edgepedia

License: Edgepedia Community License 1.0, https://www.edgepedia.org/edgepedia/license

Source: https://www.edgepedia.org/zh/variance-based-sensitivity-analysis

English original: https://www.edgepedia.org/variance-based-sensitivity-analysis
