Aslett LJM Durham Risk Day Talk

Embed Size (px)

Citation preview

  • 7/29/2019 Aslett LJM Durham Risk Day Talk

    1/19

    Inference on Phase-type Models via MCMCwith application to repairable redundant systems

    Louis J. M. Aslett and Simon P. Wilson

    Trinity College, University of Dublin

    Durham Risk Day, 24th November 2011

    http://www.sfi.ie/http://www.tcd.ie/
  • 7/29/2019 Aslett LJM Durham Risk Day Talk

    2/19

    Introduction Phase-type Distributions Bayesian Inference for PHT Computational Speedup

    Reliability Theory

    Simplest situation: single component modelled withlifetime distribution.

    Redundant collection of components: e.g. components inparallel.

    Often assume no repair. Once component goes down, itstays down.

    Repairable redundant collection of components = nowneed to consider a general stochastic process.

    http://www.sfi.ie/http://www.tcd.ie/
  • 7/29/2019 Aslett LJM Durham Risk Day Talk

    3/19

    Introduction Phase-type Distributions Bayesian Inference for PHT Computational Speedup

    Toy Example : Redundant Repairable Components

    C1

    C2

    State Meaning1 both C1 and C2 work2 C1 failed, C2 working3 C1 working, C2 failed4 system failed

    a general stochastic process, e.g.

    1

    2

    3

    4

    System Failed

    Y(t)

    t

    http://www.sfi.ie/http://www.tcd.ie/
  • 7/29/2019 Aslett LJM Durham Risk Day Talk

    4/19

    Introduction Phase-type Distributions Bayesian Inference for PHT Computational Speedup

    Continuous-time Markov Chain Model

    State Meaning

    1 both C1 and C2 work2 C1 failed, C2 working

    3 C1 working, C2 failed4 system failed

    C1 down

    C2 up

    C1 up

    C2 down

    C1 down

    C2 down

    C1 upC2 up

    f f

    f f

    r r

    u

    = =

    100

    , T =

    2f f f 0

    r r f 0 fr 0 r f f

    0 0 0 0

    http://www.tcd.ie/http://www.tcd.ie/http://www.tcd.ie/http://www.tcd.ie/http://www.sfi.ie/http://www.tcd.ie/
  • 7/29/2019 Aslett LJM Durham Risk Day Talk

    5/19

    Introduction Phase-type Distributions Bayesian Inference for PHT Computational Speedup

    Definition of Phase-type Distributions

    An absorbing continuous time Markov chain is one in whichthere is a state that, once entered, is never left. That is, then + 1 state intensity matrix can be written:

    T = S s0 0

    where S is n n, s is n 1 and 0 is 1 n, with

    s = Se

    Then, a Phase-type distribution (PHT) is defined to be thedistribution of the time to entering the absorbing state.

    Y PHT(, S) = FY(y) = 1

    T exp{yS}e

    fY(y) =

    T

    exp{yS}s

    I d Ph D b B I f f PH C l S d

    http://www.sfi.ie/http://www.tcd.ie/
  • 7/29/2019 Aslett LJM Durham Risk Day Talk

    6/19

    Introduction Phase-type Distributions Bayesian Inference for PHT Computational Speedup

    Relating to the Toy Example

    State Meaning

    1 both PS working2 1 failed, 2 working

    3 1 working, 2 failed4 subsystem failed

    C1 down

    C2 up

    C1 up

    C2 down

    C1 down

    C2 down

    C1 upC2 up

    f f

    f f

    r r

    u

    = T =

    2f f f 0r r f 0 f

    r 0 r f f

    0 0 0 0

    f f fr r f 0 f

    r 0 r f f

    0 0 0 0

    S s

    fY(y) = T exp{yS}s FY(y) = 1 T exp{yS}e

    I t d ti Ph t Di t ib ti B i I f f PHT C t ti l S d

    http://www.tcd.ie/http://www.tcd.ie/http://www.tcd.ie/http://www.tcd.ie/http://www.sfi.ie/http://www.tcd.ie/
  • 7/29/2019 Aslett LJM Durham Risk Day Talk

    7/19

    Introduction Phase-type Distributions Bayesian Inference for PHT Computational Speedup

    Inferential Setting

    Cano & Rios (2006) provide conjugate posterior calculations inthe context of analysing repairable systems when stochasticprocess leading to absorption is observed.

    Data

    For each system failure time, one has: Starting state

    Length of time in each state

    Number of transitions between each state

    Ultimate system failure time

    I t d ti Ph s t Dist ib ti s B si I f f PHT C m t ti l S d

    http://www.sfi.ie/http://www.tcd.ie/
  • 7/29/2019 Aslett LJM Durham Risk Day Talk

    8/19

    Introduction Phase-type Distributions Bayesian Inference for PHT Computational Speedup

    Inferential Setting

    Cano & Rios (2006) provide conjugate posterior calculations inthe context of analysing repairable systems when stochasticprocess leading to absorption is observed.

    Data

    For each system failure time, one has: Starting state

    Length of time in each state

    Number of transitions between each state

    Ultimate system failure timeReduced information scenario = Bladt et al. (2003) providea Bayesian MCMC algorithm, or Asmussen et al. (1996) providea frequentist EM algorithm.

    Introduction Phase type Distributions Bayesian Inference for PHT Computational Speedup

    http://www.sfi.ie/http://www.tcd.ie/
  • 7/29/2019 Aslett LJM Durham Risk Day Talk

    9/19

    Introduction Phase-type Distributions Bayesian Inference for PHT Computational Speedup

    Slide for Statisticians!

    Strategy is a top-level Gibbs step which achieves the goal ofsimulating from

    p(, S | y)

    by sampling fromp(, S, paths | y)

    through the iterative process

    p(,S | paths ,y)

    p(paths |,S,y)

    where p(paths |, S, y) is achieved by a rejection samplingwithin Metropolis-Hastings algorithm.

    Introduction Phase-type Distributions Bayesian Inference for PHT Computational Speedup

    http://www.sfi.ie/http://www.tcd.ie/
  • 7/29/2019 Aslett LJM Durham Risk Day Talk

    10/19

    Introduction Phase-type Distributions Bayesian Inference for PHT Computational Speedup

    High-level Description of Bladt et al.

    The following are key points to note about the MCMC scheme: fully dense rate matrix with separate parameters, e.g.

    T = S12 S13 s1

    S21 S23 s2

    S31 S32 s30 0 0 0

    no censored data

    slow computational speed in some common scenarios

    focused on distribution fitting

    Introduction Phase-type Distributions Bayesian Inference for PHT Computational Speedup

    http://www.tcd.ie/http://www.tcd.ie/http://www.sfi.ie/http://www.tcd.ie/
  • 7/29/2019 Aslett LJM Durham Risk Day Talk

    11/19

    Introduction Phase type Distributions Bayesian Inference for PHT Computational Speedup

    High-level Description of Bladt et al.

    The following are key points to note about the MCMC scheme: fully dense rate matrix with separate parameters, e.g.

    T = S12 S13 s1

    S21 S23 s2

    S31 S32 s30 0 0 0

    we extend to allow structure to be imposed

    no censored data

    we accommodate censoring

    slow computational speed in some common scenarios we provide novel sampling scheme

    focused on distribution fitting

    all together shifts focus to stochastic modelling

    Introduction Phase-type Distributions Bayesian Inference for PHT Computational Speedup

    http://www.tcd.ie/http://www.tcd.ie/http://www.sfi.ie/http://www.sfi.ie/http://www.tcd.ie/
  • 7/29/2019 Aslett LJM Durham Risk Day Talk

    12/19

    t oduct o ase type st but o s ayes a e e ce o Co putat o a Speedup

    Statistical -vs- Stochastic

    In other words, we adapt the MCMC algorithm to be fit forperforming inference when PHTs used for stochastic ratherthan statistical modelling.

    Stochastic Model Aslett & Wilson

    Stochastic models seek to represent an underlying physicalphenomenon of interest, albeit often in a highly idealised way,and have parameters that are physically interpretable. Isham

    Statistical Model Bladt et al

    In contrast, statistical models are descriptive, and representthe statistical properties of data and their dependence oncovariates, without aiming to encapsulate the physicalmechanisms involved. Isham

    Introduction Phase-type Distributions Bayesian Inference for PHT Computational Speedup

    http://www.sfi.ie/http://www.tcd.ie/
  • 7/29/2019 Aslett LJM Durham Risk Day Talk

    13/19

    yp y p p p

    Toy Example Results

    100 uncensoredobservations simulated

    from PHT with

    S =

    3.6 1.8 1.89.5 11.3 09.5 0 11.3

    = f = 1.8, r = 9.5

    Parameter Value

    Densit

    y

    0.0

    0.5

    1.0

    1.5

    2.0

    2.5

    3.0

    3.5

    0.5 1.0 1.5 2.0

    Param

    S12

    S13

    s2

    s3

    F

    S12

    S13

    s2

    s3

    f

    Introduction Phase-type Distributions Bayesian Inference for PHT Computational Speedup

    http://www.tcd.ie/http://www.tcd.ie/http://www.sfi.ie/http://www.tcd.ie/
  • 7/29/2019 Aslett LJM Durham Risk Day Talk

    14/19

    Toy Example Results

    100 uncensoredobservations simulated

    from PHT with

    S =

    3.6 1.8 1.89.5 11.3 09.5 0 11.3

    = f = 1.8, r = 9.5

    Parameter Value

    Densit

    y

    0.0

    0.1

    0.2

    0.3

    0.4

    8 9 10 11 12 13 14 15

    Param

    S21

    S31

    Rr

    S21

    S31

    Reliability less sensitive to r(Daneshkhah & Bedford 2008)

    Introduction Phase-type Distributions Bayesian Inference for PHT Computational Speedup

    http://www.tcd.ie/http://www.tcd.ie/http://www.sfi.ie/http://www.tcd.ie/
  • 7/29/2019 Aslett LJM Durham Risk Day Talk

    15/19

    Toy Example Results

    100 uncensoredobservations simulated

    from PHT with

    S =

    3.6 1.8 1.89.5 11.3 09.5 0 11.3

    = f = 1.8, r = 9.5

    Parameter Value

    Densit

    y

    0

    2

    4

    6

    8

    10

    12

    0.0 0.1 0.2 0.3 0.4 0.5

    Param

    s1

    S23

    S32

    S23

    S32

    s1

    Introduction Phase-type Distributions Bayesian Inference for PHT Computational Speedup

    http://www.tcd.ie/http://www.tcd.ie/http://www.sfi.ie/http://www.tcd.ie/
  • 7/29/2019 Aslett LJM Durham Risk Day Talk

    16/19

    Tail Depth Performance Improvement

    Upper tail probability (10^-x)

    log[Time(secs)]

    10-3

    10-2

    10-1

    100

    101

    102

    2 3 4 5 6

    Method

    ECS

    MH

    Introduction Phase-type Distributions Bayesian Inference for PHT Computational Speedup

    http://www.tcd.ie/http://www.sfi.ie/http://www.tcd.ie/
  • 7/29/2019 Aslett LJM Durham Risk Day Talk

    17/19

    Overall Performance Improvement

    This shows the new method keeping pace in nice problems andsignificantly outperforming otherwise.

    T = 3 1 1 1

    1 3 1 11 1 3 1

    0 0 0 0 T =

    2 0.01 1.99 01 300 0 299

    299 0 300 1

    0 0 0 0

    No problems i-iii All problems i-iii

    MH ECSt 1.6 s 7.2 s

    st 104 s 19 s

    MH ECS10.2 hours 0.016 secs

    9.4 hours 0.015 secs

    2,300,000 faster on average in hard problem

    Introduction Phase-type Distributions Bayesian Inference for PHT Computational Speedup

    http://www.sfi.ie/http://www.tcd.ie/
  • 7/29/2019 Aslett LJM Durham Risk Day Talk

    18/19

    Future Work

    Further computational workmatrix exp/functional approximation/autocorrelation

    Study networks of repairable redundant systems modelledby Phase-types using the extended MCMC methodology

    Hierarchical Bayesian inference.

    Introduction Phase-type Distributions Bayesian Inference for PHT Computational Speedup

    http://www.sfi.ie/http://www.tcd.ie/
  • 7/29/2019 Aslett LJM Durham Risk Day Talk

    19/19

    Aslett, L. J. M. & Wilson, S. P. (2011), Markov chain MonteCarlo for inference on Phase-type models, Technical report,Trinity College Dublin (in journal submission).

    Asmussen, S., Nerman, O. & Olsson, M. (1996), Fittingphase-type distributions via the EM algorithm,Scandinavian Journal of Statistics 23(4), 419441.

    Bladt, M., Gonzalez, A. & Lauritzen, S. L. (2003), Theestimation of phase-type related functionals using Markov

    chain Monte Carlo methods, Scandinavian Journal ofStatistics 2003(4), 280300.

    Cano, J. & Rios, D. (2006), Reliability forecasting in complexhardware/software systems, Proceedings of the FirstInternational Conference on Availability, Reliability andSecurity (ARES06) .

    Daneshkhah, A. & Bedford, T. (2008), Sensitivity analysis of areliability system using gaussian processes, Advances inmathematical modeling for reliability pp. 4662.

    http://www.sfi.ie/http://www.tcd.ie/