A Toolbox for Comprehensive, Efficient, and Robust ...

Post on 18-Dec-2021

12 views 0 download

transcript

A Toolbox for Comprehensive, Efficient, and Robust Sensitivity and Uncertainty Analysis

Saman Razavi, First Annual General MeetingSaman Razavi, July 18-19, 2018

Uncertainty in Output Space

Model/Process Response Surface

(Uncertain)

Co

rrelatio

n

Effects

Inte

raction

s Effe

cts

Uncertainty in Input Space

ฮธ1ฮธ2

๐‘

uses information in the mismatch betweenmodel predictions and data to identify โ€œgoodโ€values for the model โ€œparametersโ€, and tocharacterize their posterior uncertainty.

(2) Inverse-Problem Approach

propagates assumptions on uncertainties ininputs and other system properties throughthe model to obtain some understanding onuncertainties in model predictions.

(1) Forward-Problem Approach

Joint Probability Distribution

Uncertainty in Input Space

Uncertainty in Output Space

Co

rrelatio

n

Effects

Joint Probability Distribution

Inte

raction

s Effe

cts

attributes the uncertainty in a modelprediction to the uncertainties in inputs, andseeks to answer the critical question:

when does uncertainty matter?

illuminates the controls on model behavior,thereby characterizing the dominant controlson predictive uncertainty.

guides research towards reducing theuncertainties that matter, as it points to themost important aspects of the problem.

ฮธ1ฮธ2

๐‘

(3) Sensitivity Analysis Approach

Model/Process Response Surface

(Uncertain)

A comprehensive, multi-approach, multi-algorithm software toolbox for sensitivity analysis of anycomputer simulation model, including Earth and environmental systems models.

Razavi, S., Sheikholeslami, R., Gupta, H., Haghnegahdar, A., VARS-TOOL: A Toolbox for Comprehensive, Efficient,and Robust Sensitivity and Uncertainty Analysis, submitted to Environmental Modelling & Software.

Important Features:

โ€ข Multi-Method Approach to Sensitivity Analysis

โ€ข Sensitivity Analysis of Dynamical Systems Models (NEW)

โ€ข Various Sampling Strategies, e.g., Progressive Latin Hypercube Sampling (NEW)

โ€ข Handling High-Dimensional Problems: A Grouping Solution to Curse of Dimensionality (NEW)

โ€ข Characterizing Confidence, Convergence, and Robustness

โ€ข Reporting and Visualization: Monitoring Stability and Convergence (NEW)

โ€ข Handling Model Crashes via Model Emulation (NEW)

โ€ข Interface with Any Computer Model and Linkage to OSTRICH toolkit (NEW)

โ€ข A Comprehensive Test Bed for Training and Research (NEW)

Most approaches to SA of Earth systems models ignore or, at best, do not adequately account for the

dynamical nature of such models. These approaches handle problems with only a single response.

0

5

10

15

20

20

05

-10

-01

20

05

-10

-08

20

05

-10

-15

20

05

-10

-22

20

05

-10

-29

20

05

-11

-05

20

05

-11

-12

20

05

-11

-19

20

05

-11

-26

20

05

-12

-03

20

05

-12

-10

20

05

-12

-17

20

05

-12

-24

20

05

-12

-31

20

06

-01

-07

20

06

-01

-14

20

06

-01

-21

20

06

-01

-28

20

06

-02

-04

20

06

-02

-11

20

06

-02

-18

20

06

-02

-25

20

06

-03

-04

20

06

-03

-11

20

06

-03

-18

20

06

-03

-25

20

06

-04

-01

20

06

-04

-08

20

06

-04

-15

20

06

-04

-22

20

06

-04

-29

20

06

-05

-06

20

06

-05

-13

20

06

-05

-20

20

06

-05

-27

20

06

-06

-03

20

06

-06

-10

20

06

-06

-17

20

06

-06

-24

20

06

-07

-01

20

06

-07

-08

20

06

-07

-15

20

06

-07

-22

20

06

-07

-29

20

06

-08

-05

20

06

-08

-12

20

06

-08

-19

20

06

-08

-26

20

06

-09

-02

20

06

-09

-09

20

06

-09

-16

20

06

-09

-23

20

06

-09

-30

-30-20-10

0102030

20

05

-10

-01

20

05

-10

-08

20

05

-10

-15

20

05

-10

-22

20

05

-10

-29

20

05

-11

-05

20

05

-11

-12

20

05

-11

-19

20

05

-11

-26

20

05

-12

-03

20

05

-12

-10

20

05

-12

-17

20

05

-12

-24

20

05

-12

-31

20

06

-01

-07

20

06

-01

-14

20

06

-01

-21

20

06

-01

-28

20

06

-02

-04

20

06

-02

-11

20

06

-02

-18

20

06

-02

-25

20

06

-03

-04

20

06

-03

-11

20

06

-03

-18

20

06

-03

-25

20

06

-04

-01

20

06

-04

-08

20

06

-04

-15

20

06

-04

-22

20

06

-04

-29

20

06

-05

-06

20

06

-05

-13

20

06

-05

-20

20

06

-05

-27

20

06

-06

-03

20

06

-06

-10

20

06

-06

-17

20

06

-06

-24

20

06

-07

-01

20

06

-07

-08

20

06

-07

-15

20

06

-07

-22

20

06

-07

-29

20

06

-08

-05

20

06

-08

-12

20

06

-08

-19

20

06

-08

-26

20

06

-09

-02

20

06

-09

-09

20

06

-09

-16

20

06

-09

-23

20

06

-09

-30

0

20

40

60

80

100

20

05

-10

-01

20

05

-10

-08

20

05

-10

-15

20

05

-10

-22

20

05

-10

-29

20

05

-11

-05

20

05

-11

-12

20

05

-11

-19

20

05

-11

-26

20

05

-12

-03

20

05

-12

-10

20

05

-12

-17

20

05

-12

-24

20

05

-12

-31

20

06

-01

-07

20

06

-01

-14

20

06

-01

-21

20

06

-01

-28

20

06

-02

-04

20

06

-02

-11

20

06

-02

-18

20

06

-02

-25

20

06

-03

-04

20

06

-03

-11

20

06

-03

-18

20

06

-03

-25

20

06

-04

-01

20

06

-04

-08

20

06

-04

-15

20

06

-04

-22

20

06

-04

-29

20

06

-05

-06

20

06

-05

-13

20

06

-05

-20

20

06

-05

-27

20

06

-06

-03

20

06

-06

-10

20

06

-06

-17

20

06

-06

-24

20

06

-07

-01

20

06

-07

-08

20

06

-07

-15

20

06

-07

-22

20

06

-07

-29

20

06

-08

-05

20

06

-08

-12

20

06

-08

-19

20

06

-08

-26

20

06

-09

-02

20

06

-09

-09

20

06

-09

-16

20

06

-09

-23

20

06

-09

-30

๐‘„๐‘ก

incm

s๐‘‡๐‘ก

inยฐ๐ถ

๐‘ƒ๐‘ก

inm

m

References:Razavi, S., Gupta, H., A General Approach to Multi-Method Sensitivity Analysis of Dynamical Systems Models, submitted to Environmental Modelling & Software.

Gupta, H.V., and Razavi, S., Rethinking the Fundamental Basis of Sensitivity Analysis for Dynamical Earth Systems Models, submitted to Water Resources Research.

โ€œTime-varyingโ€ sensitivity indices:

time series that reveals time-dependent

sensitivities of model responses to factors.

โ€œTime-aggregateโ€ sensitivity indices:

summary statistics that aggregate the

dynamical sensitivity information.

VARS-TOOL includes โ€œGeneralized Global Sensitivity Matrixโ€ approach to account for modelsโ€™ thedynamical nature and generate:

0.01

0.1

1

10

100

1000

10000

2005

-10

-01

2005

-10

-08

2005

-10

-15

2005

-10

-22

2005

-10

-29

2005

-11

-05

2005

-11

-12

2005

-11

-19

2005

-11

-26

2005

-12

-03

2005

-12

-10

2005

-12

-17

2005

-12

-24

2005

-12

-31

2006

-01

-07

2006

-01

-14

2006

-01

-21

2006

-01

-28

2006

-02

-04

2006

-02

-11

2006

-02

-18

2006

-02

-25

2006

-03

-04

2006

-03

-11

2006

-03

-18

2006

-03

-25

2006

-04

-01

2006

-04

-08

2006

-04

-15

2006

-04

-22

2006

-04

-29

2006

-05

-06

2006

-05

-13

2006

-05

-20

2006

-05

-27

2006

-06

-03

2006

-06

-10

2006

-06

-17

2006

-06

-24

2006

-07

-01

2006

-07

-08

2006

-07

-15

2006

-07

-22

2006

-07

-29

2006

-08

-05

2006

-08

-12

2006

-08

-19

2006

-08

-26

2006

-09

-02

2006

-09

-09

2006

-09

-16

2006

-09

-23

2006

-09

-30

Time (daily)

0.01

0.1

1

10

100

1000

10000

2005

-10

-01

2005

-10

-15

2005

-10

-29

2005

-11

-12

2005

-11

-26

2005

-12

-10

2005

-12

-24

2006

-01

-07

2006

-01

-21

2006

-02

-04

2006

-02

-18

2006

-03

-04

2006

-03

-18

2006

-04

-01

2006

-04

-15

2006

-04

-29

2006

-05

-13

2006

-05

-27

2006

-06

-10

2006

-06

-24

2006

-07

-08

2006

-07

-22

2006

-08

-05

2006

-08

-19

2006

-09

-02

2006

-09

-16

2006

-09

-30

Time (daily)

TTETFPMK2

IVARS 5

0๐‘„

๐‘กRevisiting the Fundamental Basis of Global Sensitivity Analysis

for Dynamical Environmental Models

๐‘ผ๐’• = ๐‘ผ๐’•๐Ÿ, โ€ฆ , ๐‘ผ๐’•

๐‘ซ๐’–Sequences of Inputs:

๐‘ฟ๐ŸŽ = ๐‘ฟ๐ŸŽ๐Ÿ, โ€ฆ , ๐‘ฟ๐ŸŽ

๐‘ซ๐’™Initial State: ๐’€๐’•(๐šฏ) = ๐’€๐’•๐Ÿ(๐šฏ),โ€ฆ , ๐’€๐’•

๐‘ซ๐’š(๐šฏ)

Sequences of Fluxes:

Time Step:

๐‘ฟ๐’•(๐šฏ) = ๐‘ฟ๐’•๐Ÿ(๐šฏ),โ€ฆ , ๐‘ฟ๐’•

๐‘ซ๐’™(๐šฏ)Sequences of States:

๐šฏ = ๐œฝ๐Ÿ, โ€ฆ , ๐œฝ๐‘ต๐šฏParameter Set:

๐‘ซ๐’– , ๐‘ต๐šฏ , ๐‘ซ๐’™ and ๐‘ซ๐’š are the

dimensions of the input, parameter,state, and flux vectors, respectively.

๐’• = ๐Ÿ to ๐‘ป

๐‘ญ๐’‹ = ๐‘ญ ๐’€|๐’, ๐šฏ๐’‹ =๐Ÿ

๐‘ป

๐’•=๐Ÿ

๐‘ป

๐’‡๐’๐’• โˆ’ ๐’‡๐’€๐’• ๐šฏ๐’‹

๐Ÿ

TransformationFunction

Performance Metric: ๐’€๐’Œ ๐šฏ๐’‹ = ๐’€๐Ÿ๐’Œ ๐šฏ๐’‹ , โ€ฆ , ๐’€๐‘ป

๐’Œ ๐šฏ๐’‹

Simulated Time Series

๐’ = ๐’1, โ€ฆ , ๐’๐‘ปObserved Time Series

flux k for point j in parameter space

ฮค๐’…๐‘ญ๐’‹ ๐’…๐œฝ๐’Š =โˆ’2

๐‘ป

๐’•=1

๐‘ป

๐’‡๐’๐’• โˆ’ ๐’‡๐’€๐’• ๐šฏ๐’‹ โˆ™ แ‰ค

๐’…๐’‡

๐’…๐’€๐’• ๐šฏ๐’‹โˆ™ แ‰ค๐’…๐’€๐’•๐’…๐œฝ๐’Š ๐šฏ๐’‹

๐‘ญ๐’‹ =๐Ÿ

๐‘ป

๐’•=๐Ÿ

๐‘ป

๐’‡๐’๐’• โˆ’ ๐’‡๐’€๐’• ๐šฏ๐’‹

๐Ÿ

The critical issue is that the result is obscured by mix effects of the residual term (โ€œgoodness ofmodel fitโ€ at that time step), the nature of transformation function, and sensitivity coefficient.

Unjustified insensitivity of the time steps and parameter locations at which the model fits data well

(i.e., where ๐ซ๐ญ ๐šฏ๐ฃ ~ zero). Counter-intuitively, the result is biased to represent time steps and

parameter locations where the model performance is not good (where ๐ซ๐ญ ๐šฏ๐ฃ is far from zero).

Such approaches depend on availability of system state/output observational data, and therefore,the analysis they provide is necessarily incomplete.

Residual(Error)

SensitivityCoefficient

TransformationEffect

๐›ป๐‘ญ๐’‹ = ฮค๐’…๐‘ญ๐’‹ ๐’…๐œฝ1 , โ€ฆ , เต—๐’…๐‘ญ๐’‹ ๐’…๐œฝ๐‘ต๐œฝ

Magnitude and Sign of โ€˜Local Sensitivityโ€™

Gradient Vector Representing

ฮค๐’…๐‘ญ๐’‹ ๐’…๐œฝ๐’Š =โˆ’2

๐‘ป

๐’•=1

๐‘ป

๐’“๐’• ๐šฏ๐’‹ โˆ™ ๐œท๐’• ๐šฏ

๐’‹ โˆ™ แ‰ค๐’…๐’€๐’•๐’…๐œฝ๐’Š ๐šฏ๐’‹

(1) โ€˜Sensitivityโ€™ Analysis versus โ€˜Identifiabilityโ€™ Analysis: The Need for a Clear Distinction

o The former is a specific attribute of the โ€˜forwardโ€™ problem to establish which parameters exertstronger (or weaker) controls on the modelsโ€™ dynamical input-state-output behavior.

o The latter is an attribute of the โ€˜inverseโ€™ problem to establish which parameters are morereadily identifiable when observational data regarding the system behavior is available.

(2) Methodological Focus on Single-Response Problems: Weakly Informative on Dynamics

o Most sensitivity analysis approaches are primarily designed for applications where thesensitivity of only a single model output to factor perturbations is of interest.

o Sensitivity analysis of models with time series outputs is mainly handled by computing someโ€˜performance metricโ€™ that measures the goodness-of-fit to observed data.

o The performance metric-based approach is typically extended (e.g., by a moving windowapproach) to account for the time-evolving nature dynamical models.

VARS-TOOL is home to the novel โ€œVariogram Analysis of Response Surfacesโ€ or VARS framework, which

can be seen as a โ€œunifying theoryโ€ for SA and encompasses the pre-existing, widely used derivative-

based and variance-based methods as special/limiting cases.

๐ถโ„Ž๐‘–

๐›พโ„Ž๐‘–

or

Derivative-Based Approach

โ„Ž๐‘– โ†’ โˆž

โ„Ž๐‘–

Variance-based Approach

๐›พ โ„Ž๐‘– =1

2๐‘‰ ๐‘ ๐œฝ + โ„Ž๐‘– โˆ’ ๐‘ ๐œฝ

๐ถ โ„Ž๐‘– = ๐ถ๐‘‚๐‘‰ ๐‘ ๐œฝ + โ„Ž๐‘– , ๐‘ ๐œฝ

โ„Ž๐‘– โ†’ 0

Variogram

Covariogram

Summary Derivations:

๐‘†๐‘–๐‘‡๐‘‚ =

๐›พ โ„Ž๐‘– + ๐ธ ๐ถ๐œฝ~๐‘–(โ„Ž๐‘–)

๐‘‰(๐‘)

If โ„Ž๐‘– โ†’ โˆžึœ๐›พ โ„Ž๐‘– = ๐‘‰(๐‘)

If โ„Ž๐‘– โ†’ 0ึœ

๐›พ โ„Ž๐‘– โˆ ๐‘‰๐‘‘๐‘

๐‘‘๐œƒ๐‘–โˆ ๐ธ

๐‘‘๐‘

๐‘‘๐œƒ๐‘–

2

โ€œElementary Effectsโ€ based Metrics of Morris

Variance of Response Surface

โ€œTotal-Order Effectsโ€ of Sobolโ€™

References:Razavi, S., and H. V. Gupta, (2015), What do we mean by sensitivity analysis? The need for comprehensive characterization of โ€˜โ€˜globalโ€™โ€™ sensitivity in Earth and Environmental systems models, Water Resources Research.

Razavi, S., and Gupta, H. V., (2016), A new framework for comprehensive, robust, and efficient global sensitivity analysis: 1. Theory, Water Resources Research.

Razavi, S., and Gupta, H. V., (2016), A new framework for comprehensive, robust, and efficient global sensitivity analysis: 2. Application, Water Resources Research.

VARS-TOOL includes other derivative-based (Morris), variance-based (Sobolโ€™), and Monte-Carlo Filtering

methods.

Sampling strategies are necessary fundamental components of any algorithm forsensitivity and uncertainty analysis of computer simulation models.

VARS-TOOL includes a variety of sampling strategies, including Latin Hypercube Sampling(LHS), Symmetric LHS, Progressive LHS (PLHS), Halton and Sobol Sequences, STAR, etc.

PLHS sequentially generates sample points while progressively preserving importantdistributional properties (Latin hypercube, space-filling, etc.), as the sample size grows.

Progressive Sample Size = 4, 8, 12, โ€ฆ

#1 #1 + #2 #1 + #2 + #3

References:Sheikholeslami, R., and Razavi, S., (2017), Progressive Latin Hypercube Sampling: An efficient approach for robust sampling-based analysis of environmental models, Environmental Modelling & Software.

Approximately, 70 percent of GSA applications in the environmental modelling literaturefocused on models with less than 20 parameters, suggesting GSA is paradoxically under-utilized where it should prove most useful.

References:Sheikholeslami, R., Razavi, S., Gupta, H., Becker, W., Haghnegahdar, A., Global Sensitivity Analysis of High-Dimensional Problems: How to Objectively Group Factors and Measure Robustness and Convergence of the Results?, subm. to Environmental Modelling & Software.

g7

g1

g2

g3

g4

g5

g6

VARS-TOOL includes an innovative bootstrap-based โ€œfactor groupingโ€strategy that employs a clustering mechanism to handle high-dimensional problems, involving tens to hundreds of factors. It:

o Estimates Optimal Numberof Groups

o Measures and Maximizesโ€œRobustnessโ€

VARS-TOOL is a comprehensive, multi-approach, multi-algorithm toolbox equipped with a set of tools to enable GSA for any application.