multigrid methods for markov chains - mathematicshdesterc/websitew/data/presentations/pr… ·...

77
NII Tokyo Multigrid Methods for Markov Chains Hans De Sterck Department of Applied Mathematics, University of Waterloo

Upload: others

Post on 21-Jan-2021

2 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Multigrid Methods for Markov Chains - Mathematicshdesterc/websiteW/Data/presentations/pr… · aggregation methods such that W=O(n) is reached smoothed aggregation algebraic multigrid

NII Tokyo

Multigrid Methods for Markov Chains

Hans De Sterck Department of Applied Mathematics, University of Waterloo

Page 2: Multigrid Methods for Markov Chains - Mathematicshdesterc/websiteW/Data/presentations/pr… · aggregation methods such that W=O(n) is reached smoothed aggregation algebraic multigrid

NII Tokyo [email protected]

collaborators

•  Killian Miller Department of Applied Mathematics, University of Waterloo, Canada

•  Steve McCormick, Tom Manteuffel, John Ruge Department of Applied Mathematics, University of Colorado at Boulder, USA

•  Geoff Sanders Lawrence Livermore National Laboratory, USA

Page 3: Multigrid Methods for Markov Chains - Mathematicshdesterc/websiteW/Data/presentations/pr… · aggregation methods such that W=O(n) is reached smoothed aggregation algebraic multigrid

NII Tokyo [email protected]

1. simple Markov chain example •  start in one state with

probability 1: what is the stationary probability vector after ∞ number of steps?

•  stationary probability:

•  this particular Markov chain is an example of a random walk on a graph

Page 4: Multigrid Methods for Markov Chains - Mathematicshdesterc/websiteW/Data/presentations/pr… · aggregation methods such that W=O(n) is reached smoothed aggregation algebraic multigrid

NII Tokyo [email protected]

applications of Markov Chains

•  information retrieval •  performance

modelling of computer systems

•  analysis of biological systems

•  queueing theory"•  Googleʼs PageRank"•  ..."

Page 5: Multigrid Methods for Markov Chains - Mathematicshdesterc/websiteW/Data/presentations/pr… · aggregation methods such that W=O(n) is reached smoothed aggregation algebraic multigrid

NII Tokyo [email protected]

2. problem statement

•  B is column-stochastic

•  B is irreducible (every state can be reached from every other state in the directed graph) ⇒ 

(no probability sinks!) probability sinks not irreducible

Page 6: Multigrid Methods for Markov Chains - Mathematicshdesterc/websiteW/Data/presentations/pr… · aggregation methods such that W=O(n) is reached smoothed aggregation algebraic multigrid

NII Tokyo [email protected]

3. power method

•  largest eigenvalue of B:

•  power method:

–  convergence factor: –  convergence is very slow when

(slowly mixing Markov chain) (JAC, GS also slow)

Page 7: Multigrid Methods for Markov Chains - Mathematicshdesterc/websiteW/Data/presentations/pr… · aggregation methods such that W=O(n) is reached smoothed aggregation algebraic multigrid

NII Tokyo [email protected]

some example Markov chains

•  uniform 2D lattice

symmetric, real spectrum for B

Page 8: Multigrid Methods for Markov Chains - Mathematicshdesterc/websiteW/Data/presentations/pr… · aggregation methods such that W=O(n) is reached smoothed aggregation algebraic multigrid

•  tandem queuing network

NII Tokyo [email protected]

some example Markov chains"

Page 9: Multigrid Methods for Markov Chains - Mathematicshdesterc/websiteW/Data/presentations/pr… · aggregation methods such that W=O(n) is reached smoothed aggregation algebraic multigrid

NII Tokyo [email protected]

some example Markov chains

•  directed, unstructured planar graph

Page 10: Multigrid Methods for Markov Chains - Mathematicshdesterc/websiteW/Data/presentations/pr… · aggregation methods such that W=O(n) is reached smoothed aggregation algebraic multigrid

NII Tokyo [email protected]

numerical results: one-level (power) iteration for random graph problem

•  start from random intial guess

•  let

•  iterate on

with

until

•  W=O(n^2) method (A sparse, O(n) iterations)

Page 11: Multigrid Methods for Markov Chains - Mathematicshdesterc/websiteW/Data/presentations/pr… · aggregation methods such that W=O(n) is reached smoothed aggregation algebraic multigrid

NII Tokyo [email protected]

when is power method slow?

•  power method is slow on graphs with local links,

•  power method is fast on graphs with global links, short distances

•  PageRank is fast mixing: you can just do power method (PageRank is made fast by artificially adding global links from all webpages to all webpages with probability 0.15)

Page 12: Multigrid Methods for Markov Chains - Mathematicshdesterc/websiteW/Data/presentations/pr… · aggregation methods such that W=O(n) is reached smoothed aggregation algebraic multigrid

NII Tokyo [email protected]

why/when is power method slow? why multilevel methods?

0.5

0.5 0.5 0.5 0.5 0.5

0.5 0.5 0.5 0.5 0.5

0.5

1

1

Page 13: Multigrid Methods for Markov Chains - Mathematicshdesterc/websiteW/Data/presentations/pr… · aggregation methods such that W=O(n) is reached smoothed aggregation algebraic multigrid

NII Tokyo [email protected]

•  high-frequency error is removed by relaxation (weighted Jacobi, Gauss-Seidel, ... power method)

•  low-frequency-error needs to be removed by coarse-grid correction

principle of multigrid (for PDEs)

Page 14: Multigrid Methods for Markov Chains - Mathematicshdesterc/websiteW/Data/presentations/pr… · aggregation methods such that W=O(n) is reached smoothed aggregation algebraic multigrid

NII Tokyo [email protected]

multigrid hierarchy: V-cycle

•  multigrid V-cycle:   relax (=smooth) on successively coarser grids   transfer error using restriction (R=PT) and interpolation (P)

•  W=O(n) : (optimally) scalable method

Page 15: Multigrid Methods for Markov Chains - Mathematicshdesterc/websiteW/Data/presentations/pr… · aggregation methods such that W=O(n) is reached smoothed aggregation algebraic multigrid

NII Tokyo [email protected]

4. aggregation for Markov chains

•  form three coarse, aggregated states

(Simon and Ando, 1961)

Page 16: Multigrid Methods for Markov Chains - Mathematicshdesterc/websiteW/Data/presentations/pr… · aggregation methods such that W=O(n) is reached smoothed aggregation algebraic multigrid

NII Tokyo [email protected]

aggregation for Markov chains

Page 17: Multigrid Methods for Markov Chains - Mathematicshdesterc/websiteW/Data/presentations/pr… · aggregation methods such that W=O(n) is reached smoothed aggregation algebraic multigrid

NII Tokyo [email protected]

two-level aggregation method

repeat

(similar to lumping method from Takahashi, 1975) (‘iterative aggregation/disaggregation’) (note: there is a convergence proof for this two-level method, Marek and Mayer 1998, 2003)

Page 18: Multigrid Methods for Markov Chains - Mathematicshdesterc/websiteW/Data/presentations/pr… · aggregation methods such that W=O(n) is reached smoothed aggregation algebraic multigrid
Page 19: Multigrid Methods for Markov Chains - Mathematicshdesterc/websiteW/Data/presentations/pr… · aggregation methods such that W=O(n) is reached smoothed aggregation algebraic multigrid

NII Tokyo [email protected]

multilevel aggregation algorithm

(Krieger, Horton 1994, but no good way to build Q, convergence not good)

Page 20: Multigrid Methods for Markov Chains - Mathematicshdesterc/websiteW/Data/presentations/pr… · aggregation methods such that W=O(n) is reached smoothed aggregation algebraic multigrid

NII Tokyo [email protected]

well-posedness: singular M-matrices

•  singular M-matrix:

•  our A=I-B is a singular M-matrix on all levels

Page 21: Multigrid Methods for Markov Chains - Mathematicshdesterc/websiteW/Data/presentations/pr… · aggregation methods such that W=O(n) is reached smoothed aggregation algebraic multigrid

NII Tokyo [email protected]

well-posedness: multilevel method

Page 22: Multigrid Methods for Markov Chains - Mathematicshdesterc/websiteW/Data/presentations/pr… · aggregation methods such that W=O(n) is reached smoothed aggregation algebraic multigrid

NII Tokyo [email protected]

aggregation strategy

•  fine-level relaxation should efficiently distribute probability within aggregates (smooth out local, high-frequency errors)

•  coarse-level update will efficiently distribute probability between aggregates (smooth out global, low-frequency errors)

•  base aggregates on ‘strong connections’ in

Page 23: Multigrid Methods for Markov Chains - Mathematicshdesterc/websiteW/Data/presentations/pr… · aggregation methods such that W=O(n) is reached smoothed aggregation algebraic multigrid

NII Tokyo [email protected]

aggregation strategy

scaled problem matrix:

strong connection: coefficient is large in either of rows i or j

( θ ∈ (0,1), θ=0.25 )

Page 24: Multigrid Methods for Markov Chains - Mathematicshdesterc/websiteW/Data/presentations/pr… · aggregation methods such that W=O(n) is reached smoothed aggregation algebraic multigrid

NII Tokyo [email protected]

‘neighbourhood’ aggregation strategy

Page 25: Multigrid Methods for Markov Chains - Mathematicshdesterc/websiteW/Data/presentations/pr… · aggregation methods such that W=O(n) is reached smoothed aggregation algebraic multigrid

NII Tokyo [email protected]

aggregation: periodic 2D lattice

Page 26: Multigrid Methods for Markov Chains - Mathematicshdesterc/websiteW/Data/presentations/pr… · aggregation methods such that W=O(n) is reached smoothed aggregation algebraic multigrid

NII Tokyo [email protected]

numerical results: aggregation multigrid for random walk problem"

does not work so well yet (not O(n) ...)

Page 27: Multigrid Methods for Markov Chains - Mathematicshdesterc/websiteW/Data/presentations/pr… · aggregation methods such that W=O(n) is reached smoothed aggregation algebraic multigrid

our work since 2006: speed up the multilevel aggregation method

goal: W=O(n) (number of V-cycles independent of n)

1.  smoothed aggregation (SIAM J. Sc. Comp., submitted 2008)

2. build P by algebraic multigrid (SIAM J. Sc. Comp., submitted 2009)

3.  recursive iterant recombination (SIAM J. Sc. Comp., submitted 2009)

4. overcorrection (NLAA, submitted 2010)

(inspired by algebraic multigrid for PDEs)

NII Tokyo [email protected]

Page 28: Multigrid Methods for Markov Chains - Mathematicshdesterc/websiteW/Data/presentations/pr… · aggregation methods such that W=O(n) is reached smoothed aggregation algebraic multigrid

NII Tokyo [email protected]

5. overlapping aggregates: we need ‘smoothed aggregation’...

after smoothing:

coarse grid correction with Q:

coarse grid correction with Qs:

(Vanek, Mandel, and Brezina, Computing, 1996)

Page 29: Multigrid Methods for Markov Chains - Mathematicshdesterc/websiteW/Data/presentations/pr… · aggregation methods such that W=O(n) is reached smoothed aggregation algebraic multigrid

NII Tokyo [email protected]

smoothed aggregation

•  smooth the columns of P with weighted Jacobi:

•  smooth the rows of R with weighted Jacobi:

Page 30: Multigrid Methods for Markov Chains - Mathematicshdesterc/websiteW/Data/presentations/pr… · aggregation methods such that W=O(n) is reached smoothed aggregation algebraic multigrid

NII Tokyo [email protected]

smoothed aggregation: a problem with signs

•  smoothed coarse level operator:

•  problem: Acs is not a singular M-matrix (signs wrong) •  solution:

lumping approach •  well-posedness of

this approach shown in our paper

Page 31: Multigrid Methods for Markov Chains - Mathematicshdesterc/websiteW/Data/presentations/pr… · aggregation methods such that W=O(n) is reached smoothed aggregation algebraic multigrid

NII Tokyo [email protected]

numerical results: smoothed aggregation multigrid for random graph problem

Page 32: Multigrid Methods for Markov Chains - Mathematicshdesterc/websiteW/Data/presentations/pr… · aggregation methods such that W=O(n) is reached smoothed aggregation algebraic multigrid

NII Tokyo [email protected]

6. algebraic multigrid for Markov chains

•  scaled problem matrix:

•  multiplicative error equation:

•  we can use ‘standard’ AMG on •  define AMG coarsening and interpolation

•  lumping can be done as for smoothed aggregation

Page 33: Multigrid Methods for Markov Chains - Mathematicshdesterc/websiteW/Data/presentations/pr… · aggregation methods such that W=O(n) is reached smoothed aggregation algebraic multigrid

NII Tokyo [email protected]

AMG (two-pass) coarsening and interpolation

Page 34: Multigrid Methods for Markov Chains - Mathematicshdesterc/websiteW/Data/presentations/pr… · aggregation methods such that W=O(n) is reached smoothed aggregation algebraic multigrid

NII Tokyo [email protected]

unstructured planar graph

Page 35: Multigrid Methods for Markov Chains - Mathematicshdesterc/websiteW/Data/presentations/pr… · aggregation methods such that W=O(n) is reached smoothed aggregation algebraic multigrid

7. recursively accelerated (pure) aggregation

•  idea: recombine iterates at all levels in W cycle

NII Tokyo [email protected]

Page 36: Multigrid Methods for Markov Chains - Mathematicshdesterc/websiteW/Data/presentations/pr… · aggregation methods such that W=O(n) is reached smoothed aggregation algebraic multigrid

recursively accelerated (pure) aggregation

•  for Ax=b, use recursive Krylov acceleration •  for Markov: need to impose probability constraints

NII Tokyo [email protected]

•  standard quadratic programming problem

Page 37: Multigrid Methods for Markov Chains - Mathematicshdesterc/websiteW/Data/presentations/pr… · aggregation methods such that W=O(n) is reached smoothed aggregation algebraic multigrid

unstructured planar graph

NII Tokyo [email protected]

Page 38: Multigrid Methods for Markov Chains - Mathematicshdesterc/websiteW/Data/presentations/pr… · aggregation methods such that W=O(n) is reached smoothed aggregation algebraic multigrid

8. over-correction, and ‘frozen’ additive cycles

•  (with Eran Treister and Irad Yavneh)

•  idea: ‘shape’ of correction is often good, but ‘amplitude’ may be too small therefore, overcorrect with factor α

•  determine optimal α automatically

NII Tokyo [email protected]

Page 39: Multigrid Methods for Markov Chains - Mathematicshdesterc/websiteW/Data/presentations/pr… · aggregation methods such that W=O(n) is reached smoothed aggregation algebraic multigrid

‘frozen’ additive cycles

•  idea: replace expensive ‘multiplicative’ cycles by cheap ‘frozen’ additive cycles (as soon as good convergence)

•  can do this ‘on-the-fly’ (OTF) •  can lead to large speed gains

NII Tokyo [email protected]

Page 40: Multigrid Methods for Markov Chains - Mathematicshdesterc/websiteW/Data/presentations/pr… · aggregation methods such that W=O(n) is reached smoothed aggregation algebraic multigrid

‘frozen’ additive cycles

multiplicative formulation:

additive formulation:

equivalent via:

NII Tokyo [email protected]

Page 41: Multigrid Methods for Markov Chains - Mathematicshdesterc/websiteW/Data/presentations/pr… · aggregation methods such that W=O(n) is reached smoothed aggregation algebraic multigrid

tandem queuing network

NII Tokyo [email protected]

Page 42: Multigrid Methods for Markov Chains - Mathematicshdesterc/websiteW/Data/presentations/pr… · aggregation methods such that W=O(n) is reached smoothed aggregation algebraic multigrid

tandem queuing network

NII Tokyo [email protected]

Page 43: Multigrid Methods for Markov Chains - Mathematicshdesterc/websiteW/Data/presentations/pr… · aggregation methods such that W=O(n) is reached smoothed aggregation algebraic multigrid

unstructured planar graph

NII Tokyo [email protected]

Page 44: Multigrid Methods for Markov Chains - Mathematicshdesterc/websiteW/Data/presentations/pr… · aggregation methods such that W=O(n) is reached smoothed aggregation algebraic multigrid

9. conclusions

•  algebraic multilevel methods can lead to W=O(n) solvers for slowly mixing Markov chains

•  we have developed several ways to accelerate ‘pure’ aggregation methods such that W=O(n) is reached   smoothed aggregation   algebraic multigrid   recursive iterant recombination   over-correction (and frozen additive cycles) (these approaches are inspired on multigrid for

PDEs)

NII Tokyo [email protected]

Page 45: Multigrid Methods for Markov Chains - Mathematicshdesterc/websiteW/Data/presentations/pr… · aggregation methods such that W=O(n) is reached smoothed aggregation algebraic multigrid

conclusions

•  theory is very hard because the systems are non-symmetric

•  our methods will not be fast for:   high-dimensional lattices, queues, tensor-product

structure   fast mixing Markov chains (but we can handle unstructured Markov chains)

•  good results are obtained for many slowly mixing Markov chains

•  multilevel methods can be very powerful

NII Tokyo [email protected]

Page 46: Multigrid Methods for Markov Chains - Mathematicshdesterc/websiteW/Data/presentations/pr… · aggregation methods such that W=O(n) is reached smoothed aggregation algebraic multigrid

thank you questions?

NII Tokyo [email protected]

Page 47: Multigrid Methods for Markov Chains - Mathematicshdesterc/websiteW/Data/presentations/pr… · aggregation methods such that W=O(n) is reached smoothed aggregation algebraic multigrid

SIAM CSE 2009 [email protected]

6. Test Problems

(De Sterck et al., SISC, 2008, ‘Multilevel adaptive aggregation for Markov chains,

with application to web ranking’)

Page 48: Multigrid Methods for Markov Chains - Mathematicshdesterc/websiteW/Data/presentations/pr… · aggregation methods such that W=O(n) is reached smoothed aggregation algebraic multigrid

SIAM CSE 2009 [email protected]

6.1 Uniform 1D Chain

•  random walk on (undirected) graph •  all edges have the same weight •  transition probability for directed edge =

weight of edge / sum of weights of outgoing edges •  solution trivial - test problem •  random walk on undirected graph gives real-spectrum B

0.5

0.5 0.5 0.5 0.5 0.5

0.5 0.5 0.5 0.5 0.5

0.5

1

1

Page 49: Multigrid Methods for Markov Chains - Mathematicshdesterc/websiteW/Data/presentations/pr… · aggregation methods such that W=O(n) is reached smoothed aggregation algebraic multigrid

SIAM CSE 2009 [email protected]

6.2 Uniform 2D Lattice

Page 50: Multigrid Methods for Markov Chains - Mathematicshdesterc/websiteW/Data/presentations/pr… · aggregation methods such that W=O(n) is reached smoothed aggregation algebraic multigrid

SIAM CSE 2009 [email protected]

6.3 Anisotropic 2D Lattice

Page 51: Multigrid Methods for Markov Chains - Mathematicshdesterc/websiteW/Data/presentations/pr… · aggregation methods such that W=O(n) is reached smoothed aggregation algebraic multigrid

SIAM CSE 2009 [email protected]

6.4 Unstructured Planar Graph

Page 52: Multigrid Methods for Markov Chains - Mathematicshdesterc/websiteW/Data/presentations/pr… · aggregation methods such that W=O(n) is reached smoothed aggregation algebraic multigrid

SIAM CSE 2009 [email protected]

Size of Subdominant Eigenvalue

Page 53: Multigrid Methods for Markov Chains - Mathematicshdesterc/websiteW/Data/presentations/pr… · aggregation methods such that W=O(n) is reached smoothed aggregation algebraic multigrid

SIAM CSE 2009 [email protected]

6.5 Tandem Queueing Network"

Page 54: Multigrid Methods for Markov Chains - Mathematicshdesterc/websiteW/Data/presentations/pr… · aggregation methods such that W=O(n) is reached smoothed aggregation algebraic multigrid

SIAM CSE 2009 [email protected]

6.6 ATM Queueing Network"

Page 55: Multigrid Methods for Markov Chains - Mathematicshdesterc/websiteW/Data/presentations/pr… · aggregation methods such that W=O(n) is reached smoothed aggregation algebraic multigrid

SIAM CSE 2009 [email protected]

7.1 Uniform 1D Chain

7. Numerical Results

Page 56: Multigrid Methods for Markov Chains - Mathematicshdesterc/websiteW/Data/presentations/pr… · aggregation methods such that W=O(n) is reached smoothed aggregation algebraic multigrid

SIAM CSE 2009 [email protected]

7.2 Uniform 2D Lattice

Page 57: Multigrid Methods for Markov Chains - Mathematicshdesterc/websiteW/Data/presentations/pr… · aggregation methods such that W=O(n) is reached smoothed aggregation algebraic multigrid

SIAM CSE 2009 [email protected]

7.3 Anisotropic 2D Lattice

Page 58: Multigrid Methods for Markov Chains - Mathematicshdesterc/websiteW/Data/presentations/pr… · aggregation methods such that W=O(n) is reached smoothed aggregation algebraic multigrid

SIAM CSE 2009 [email protected]

7.5 Tandem Queueing Network"

Page 59: Multigrid Methods for Markov Chains - Mathematicshdesterc/websiteW/Data/presentations/pr… · aggregation methods such that W=O(n) is reached smoothed aggregation algebraic multigrid

SIAM CSE 2009 [email protected]

7.6 ATM Queueing Network (MCAMG)"

Page 60: Multigrid Methods for Markov Chains - Mathematicshdesterc/websiteW/Data/presentations/pr… · aggregation methods such that W=O(n) is reached smoothed aggregation algebraic multigrid

SIAM CSE 2009 [email protected]

8. Conclusions

•  A-SAM (Smoothed Aggregation for Markov Chains) and MCAMG (Algebraic Multigrid for Markov Chains) are scalable: they are algorithms for calculating the stationary vector of slowly mixing Markov chains with near-optimal complexity

•  smoothing is essential for aggregation for many problems •  appropriate theoretical framework (well-posedness) •  no theory yet on (optimal) convergence (non-symmetric

matrices) •  this can be done in parallel •  other presentations in this mini-symposium: other multilevel

methods for the stationary Markov problem

•  Questions?

Page 61: Multigrid Methods for Markov Chains - Mathematicshdesterc/websiteW/Data/presentations/pr… · aggregation methods such that W=O(n) is reached smoothed aggregation algebraic multigrid

SIAM CSE 2009 [email protected]

Algebraic Aggregation Mechanism

(scaled problem matrix)

(strength matrix)

Page 62: Multigrid Methods for Markov Chains - Mathematicshdesterc/websiteW/Data/presentations/pr… · aggregation methods such that W=O(n) is reached smoothed aggregation algebraic multigrid

SIAM CSE 2009 [email protected]

Error Equation

•  multiplicative error: •  error equation:

•  coarse grid equation:

•  restriction and interpolation:

•  coarse grid correction:

Page 63: Multigrid Methods for Markov Chains - Mathematicshdesterc/websiteW/Data/presentations/pr… · aggregation methods such that W=O(n) is reached smoothed aggregation algebraic multigrid

SIAM CSE 2009 [email protected]

Error Equation

•  important properties of Ac:

Page 64: Multigrid Methods for Markov Chains - Mathematicshdesterc/websiteW/Data/presentations/pr… · aggregation methods such that W=O(n) is reached smoothed aggregation algebraic multigrid

RSA 2009 [email protected]

smoothed aggregation: periodic 2D lattice

unsmoothed smoothed

Page 65: Multigrid Methods for Markov Chains - Mathematicshdesterc/websiteW/Data/presentations/pr… · aggregation methods such that W=O(n) is reached smoothed aggregation algebraic multigrid

RSA 2009 [email protected]

numerical results: smoothed aggregation multigrid for periodic 2D lattice problem

Page 66: Multigrid Methods for Markov Chains - Mathematicshdesterc/websiteW/Data/presentations/pr… · aggregation methods such that W=O(n) is reached smoothed aggregation algebraic multigrid

SIAM CSE 2009 [email protected]

We Need ‘Smoothed Aggregation’...

after smoothing:

coarse grid correction with Q:

coarse grid correction with Qs:

(Vanek, Mandel, and Brezina, Computing, 1996)

Page 67: Multigrid Methods for Markov Chains - Mathematicshdesterc/websiteW/Data/presentations/pr… · aggregation methods such that W=O(n) is reached smoothed aggregation algebraic multigrid

SIAM CSE 2009 [email protected]

Smoothed Aggregation

•  smooth the columns of P with weighted Jacobi:

•  smooth the rows of R with weighted Jacobi:

Page 68: Multigrid Methods for Markov Chains - Mathematicshdesterc/websiteW/Data/presentations/pr… · aggregation methods such that W=O(n) is reached smoothed aggregation algebraic multigrid

SIAM CSE 2009 [email protected]

Smoothed Aggregation

•  smoothed coarse level operator:

•  problem: Acs is not a singular M-matrix (signs wrong)

•  solution: lumping approach on S in

Page 69: Multigrid Methods for Markov Chains - Mathematicshdesterc/websiteW/Data/presentations/pr… · aggregation methods such that W=O(n) is reached smoothed aggregation algebraic multigrid

SIAM CSE 2009 [email protected]

Smoothed Aggregation

•  we want as little lumping as possible •  only lump ‘offending’ elements (i,j):

(we consider both off-diagonal signs and reducibility here!) •  for ‘offending’ elements (i,j), add S{i,j} to S:

conserves both row and column sums

Page 70: Multigrid Methods for Markov Chains - Mathematicshdesterc/websiteW/Data/presentations/pr… · aggregation methods such that W=O(n) is reached smoothed aggregation algebraic multigrid

SIAM CSE 2009 [email protected]

Lumped Smoothed Method is Well-posed (A-SAM: Algebraic Smoothed Aggregation for Markov Chains)

(De Sterck et al., SISC (accepted, 2009), ‘Smoothed aggregation multigrid for Markov chains’)

Page 71: Multigrid Methods for Markov Chains - Mathematicshdesterc/websiteW/Data/presentations/pr… · aggregation methods such that W=O(n) is reached smoothed aggregation algebraic multigrid

SIAM CSE 2009 [email protected]

AMG Properties

•  we can show: all elements of P >= 0 •  lumping can be done as in the Smoothed

Aggregation case:

•  lumping conserves row and column sums:

Page 72: Multigrid Methods for Markov Chains - Mathematicshdesterc/websiteW/Data/presentations/pr… · aggregation methods such that W=O(n) is reached smoothed aggregation algebraic multigrid

SIAM CSE 2009 [email protected]

Algebraic Multigrid for Markov Chains (MCAMG)

Page 73: Multigrid Methods for Markov Chains - Mathematicshdesterc/websiteW/Data/presentations/pr… · aggregation methods such that W=O(n) is reached smoothed aggregation algebraic multigrid

SIAM CSE 2009 [email protected]

MCAMG Properties

(De Sterck et al., ‘Algebraic Multigrid for Markov Chains’, preprint)

Page 74: Multigrid Methods for Markov Chains - Mathematicshdesterc/websiteW/Data/presentations/pr… · aggregation methods such that W=O(n) is reached smoothed aggregation algebraic multigrid

8. numerical results

1)  random walk on 2D lattice

note: ‘+’ means additional top-level acceleration with window size 3

Copper 2010

Page 75: Multigrid Methods for Markov Chains - Mathematicshdesterc/websiteW/Data/presentations/pr… · aggregation methods such that W=O(n) is reached smoothed aggregation algebraic multigrid

2) tandem queue

Copper 2010

Page 76: Multigrid Methods for Markov Chains - Mathematicshdesterc/websiteW/Data/presentations/pr… · aggregation methods such that W=O(n) is reached smoothed aggregation algebraic multigrid

quadratic programming problem

efficient explicit solution for recombination of two iterates

Copper 2010

Page 77: Multigrid Methods for Markov Chains - Mathematicshdesterc/websiteW/Data/presentations/pr… · aggregation methods such that W=O(n) is reached smoothed aggregation algebraic multigrid

quadratic programming problem

efficient explicit solution for recombination of two iterates

Copper 2010