1 / 29

Functional data ?

Global sensitivity analysis of computer models with functional inputs B. Iooss (CEA Cadarache) M. Ribatet (CEMAGREF Lyon) Conference SAMO 2007 Budapest, Hongrie. Functional data ?.

Télécharger la présentation

Functional data ?

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Global sensitivity analysis of computer models with functional inputsB. Iooss(CEA Cadarache)M. Ribatet(CEMAGREF Lyon)Conference SAMO 2007Budapest, Hongrie

  2. Functional data ? • Classical model writes Y = f (X) , where Y is a scalar output variable and X is a vector of scalar input variables. X is considered as a vector of random variables Y is a random variable

  3. Functional data ? • Classical model writes Y = f (X) , where Y is a scalar output variable and X is a vector of scalar input variables. X is considered as a vector of random variables Y is a random variable • The model with functional variables writes Y(v) = f (X1(u1),…, Xp(up)), where • v and ui are some parameters (scalar or multidimensionnal), • Y(v) is an output function, • Xi(ui) is an input function (possibly constant).

  4. Functional data ? • Classical model writes Y = f (X) , where Y is a scalar output variable and X is a vector of scalar input variables. X is considered as a vector of random variables Y is a random variable • The model with functional variables writes Y(v) = f (X1(u1),…, Xp(up)), where • v and ui are some parameters (scalar or multidimensionnal), • Y(v) is an output function, • Xi(ui) is an input function (possibly constant). Ex. for u and v : time t, spatial coordinates (x,y,z), temperature T, … Xi(ui) are considered as random functions Y(v) is a random function.

  5. August 2002 December 2010 Concentrations map An example of a functional input problem Pollutant (90Sr) transport simulation in porous media [ Volkova et al., SERRA 07 ] First study : • 20 random input variables (permeability, porosity, Kd, …), • 20 scalar outputs (concentrations at piezometers), • LH sample (N=300) 300 model evaluations (3 days) • Construction of metamodels, • Global sensitivity analysis (Sobol) via the use of metamodels. Result : permeability of the second layer is the most influent variable.

  6. An example of a functional input problem • Second study : • We want to take into account the spatial heterogeneity of the permeability. • We represent it by a random field e(x,y). • Realisations of this random field are obtained via geostatistical simulation techniques. • Classical methods of global sensitivity analysis or metamodel construction are no more applicable. 2 possible realisations of the permeability

  7. Some recent works(not exhaustive) Functional input : • Tarantola et al., SERRA 02 : environmental assessment problem. Some inputs represent the errors in spatially distributed maps (random fields), obtained by simulations.

  8. Some recent works(not exhaustive) Functional input : • Tarantola et al., SERRA 02 : environmental assessment problem. Some inputs represent the errors in spatially distributed maps (random fields), obtained by simulations. • Ruffo et al., RESS 06 : hydrocarbon exploration risk evaluation. The basin and petroleum system models are very complex random fields. Consider one scenario variable (32 basin models) as a categorical variable.

  9. Some recent works(not exhaustive) Functional input : • Tarantola et al., SERRA 02 : environmental assessment problem. Some inputs represent the errors in spatially distributed maps (random fields), obtained by simulations. • Ruffo et al., RESS 06 : hydrocarbon exploration risk evaluation. The basin and petroleum system models are very complex random fields. Consider one scenario variable (32 basin models) as a categorical variable. • Zabalza-Mezghani et al., JPSE 04 : hydrocarbon production optimization. The random field is considered as an uncontrollable input variable (« Stochastic uncertainty parameter » ). The other scalar inputs are the controllable variables.

  10. Our problem and some possible solutions Compute the Sobol indices when some input variables e are functional.

  11. Our problem and some possible solutions Compute the Sobol indices when some input variables e are functional. • Complete discretization : unrealizable (several thousands of parameters).

  12. Our problem and some possible solutions Compute the Sobol indices when some input variables e are functional. • Complete discretization : unrealizable (several thousands of parameters). • Expansion in an appropriate basis function : impracticable in some cases (for ex. if the functional input is a temporal white noise).

  13. Our problem and some possible solutions Compute the Sobol indices when some input variables e are functional. • Complete discretization : unrealizable (several thousands of parameters). • Expansion in an appropriate basis function : impracticable in some cases (for ex. if the functional input is a temporal white noise). • Consider the functional input as an unique multi-dimensional parameter. Multidimensional sensitivity indices (Sobol, MCS 01, Jacques et al., RESS 06) via algorithms which use some independent samples (simple Monte-Carlo). FAST, RBD and quasi-MC methods are not applicable.

  14. Our problem and some possible solutions Compute the Sobol indices when some input variables e are functional. • Complete discretization : unrealizable (several thousands of parameters). • Expansion in an appropriate basis function : impracticable in some cases (for ex. if the functional input is a temporal white noise). • Consider the functional input as an unique multi-dimensional parameter. Multidimensional sensitivity indices (Sobol, MCS 01, Jacques et al., RESS 06) via algorithms which use some independent samples (simple Monte-Carlo). FAST, RBD and quasi-MC methods are not applicable. • Replace the functional input by a scalar parameter x ~ U[0,1] : it governs the simulation (or not) of the functional input e(Tarantola et al., SERRA 02). Calculate the Sobol index of x by any methods. It leads to a quantification of the sensitivity of the output due to the presence/absence of e, but not due to the variability of e.

  15. Moreover, in our case, we need metamodels We deal with complex computer codes : non linear effects, time consuming, large number of inputs (>10). The Sobol indices estimation cannot be made via the direct use of the code, but via the intermediate use of a metamodel.

  16. Moreover, in our case, we need metamodels We deal with complex computer codes : non linear effects, time consuming, large number of inputs (>10). The Sobol indices estimation cannot be made via the direct use of the code, but via the intermediate use of a metamodel. Zabalza-Mezgani et al., JPSE 04, propose to consider the functional input as an uncontrollable parameter. With scalar inputs X and functional input e(u), the metamodel becomes a mean component Ee(Y|X) and a variance component Vare(Y|X). Uncertainty propagation via this joint model. Y E(Y|X) + s(Y|X) E(Y|X) X

  17. Sobol indices of the joint model Var[Y(X ,e) ] = Var[ Ee(Y |X ) ] + E[ Vare(Y |X) ] = Var[ Ym(X) ] + E[ Yd (X) ] Variance decomposition of Y : Variance decomposition of Ym : Then, Sobol indices of Xon Yare obtained by : E[Yd (X) ] contains all the terms including effects of e. Total Sobol indice of e :

  18. Modeling the mean Ym and dispersion Yd Dual modeling by 2 polynomials (Taguchi 86, Vining & Myers, JQT 90). Joint modeling by 2 Generalized Linear Models (McCullagh & Nelder 89) • more general theoretical framework (exponential family distribution), • modelize simultaneously the mean and variance: iterative fits, • no replications needed (require less computations). • For the dispersion d, we take the deviance contribution. • Deviance analysis, Student and Fisher tests, residuals analyses, … allow to perform terms selection and to choose functions g and v. dispersion mean

  19. Joint modeling with Generalized Additive Models The drawback of GLM is its parametric form which leads to limitations when modeling complex computer codes. Replace it by popular non parametric models : GAM (Hastie & Tibshirani) si’s are obtained by fitting a smoother to the data : penalized regression splines (integrated model selection via Generalized Cross Validation). Deviance analysis, statistical tests on coefficients, residuals analyses, … allow to perform terms selection. Compared to other metamodels (kriging, neural networks) : • GAM offers a direct interpretation of the model • the drawback stands in the additive effect hypothesis.

  20. Simple example : Ishigami function with Xi ~ U[-, ] To test our joint models, X3 is considered as an uncontrollable input. Models are fitted on 1e3 data. Predictivity coef. Q2 is computed on 1e4 test data.

  21. Simple example : Ishigami function with Xi ~ U[-, ] To test our joint models, X3 is considered as an uncontrollable input. Models are fitted on 1e3 data. Predictivity coef. Q2 is computed on 1e4 test data. Joint GLM (Q2 = 61 %) : Simple GAM (Q2 = 75 %) : Joint GAM Q2 (mean) =76 %, Explained deviance : 93% (mean), 37% (dispersion)

  22. Simple example : Ishigami function with Xi ~ U[-, ] To test our joint models, X3 is considered as an uncontrollable input. Models are fitted on 1e3 data. Predictivity coef. Q2 is computed on 1e4 test data. Joint GLM (Q2 = 61 %) : Simple GAM (Q2 = 75 %) : Joint GAM Q2 (mean) =76 %, Explained deviance : 93% (mean), 37% (dispersion)

  23. An hydrogeological application Pollutant (90Sr) transport simulation in porous media • 16 scalar input variables : sorption coef. (kd) and permeabilities (per) of different hydrogeologic layers, porosity, infiltration rate, … • 1 functional input : the permeability • LH sample (N=300) for the 16 inputs 300 model evaluations (8 days) • 1 output : the concentration at a specified location

  24. An hydrogeological application Pollutant (90Sr) transport simulation in porous media • 16 scalar input variables : sorption coef. (kd) and permeabilities (per) of different hydrogeologic layers, porosity, infiltration rate, … • 1 functional input : the permeability • LH sample (N=300) for the 16 inputs 300 model evaluations (8 days) • 1 output : the concentration at a specified location • Joint GAM : Devexp(mean) = 98%, Devexp(dispersion) = 29% Explanatory terms : mean [ s(kd1) , s(kd2) , s(per3) , s(per2,kd2) ] dispersion [ kd1 , kd2 ]

  25. An hydrogeological application Pollutant (90Sr) transport simulation in porous media • 16 scalar input variables : sorption coef. (kd) and permeabilities (per) of different hydrogeologic layers, porosity, infiltration rate, … • 1 functional input : the permeability • LH sample (N=300) for the 16 inputs 300 model evaluations (8 days) • 1 output : the concentration at a specified location • Joint GAM : Devexp(mean) = 98%, Devexp(dispersion) = 29% Explanatory terms : mean [ s(kd1) , s(kd2) , s(per3) , s(per2,kd2) ] dispersion [ kd1 , kd2 ] S(kd2)=52%,S(per2)=8%,S(kd2,per2)=6%,S(kd1)=4% ST(e)=28%,S(kd1,e) > 0 and S(kd2,e) > 0

  26. Conclusions • This approach, based on joint models to compute Sobol sensitivity indices, is useful in the following situations : • model with « complex » functional inputs, • time consuming model (so a metamodel is needed), • heteroscedasticity (functional input interacts with scalar inputs),

  27. Conclusions • This approach, based on joint models to compute Sobol sensitivity indices, is useful in the following situations : • model with « complex » functional inputs, • time consuming model (so a metamodel is needed), • heteroscedasticity (functional input interacts with scalar inputs), • Another great interest : uncertainty propagation.

  28. Conclusions • This approach, based on joint models to compute Sobol sensitivity indices, is useful in the following situations : • model with « complex » functional inputs, • time consuming model (so a metamodel is needed), • heteroscedasticity (functional input interacts with scalar inputs), • Another great interest : uncertainty propagation. • Actual limitations : • It cannot distinguish the effects of different functional inputs. • we obtain qualitative sensitivity indices of the interactions between functional input and other inputs.

  29. Useful SOFTWARE R Packages : “JointModeling” “sensitivity” of G. Pujol

More Related