DOC PREVIEW
CMU CS 10708 - clique-trees2

This preview shows page 1-2-3-24-25-26 out of 26 pages.

Save
View full document
View full document
Premium Document
Do you want full access? Go Premium and unlock all 26 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 26 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 26 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 26 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 26 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 26 pages.
Access to all documents
Download any document
Ad free experience
Premium Document
Do you want full access? Go Premium and unlock all 26 pages.
Access to all documents
Download any document
Ad free experience

Unformatted text preview:

Junction Trees 2What if I want to compute P(Xi|x0,xn+1) for each i?Reusing computationCluster graphCluster graph for VERunning intersection propertyConstructing a clique tree from VEFind clique tree from chordal graphClique tree & IndependenciesVariable elimination in a clique tree 1Variable elimination in a clique tree 2Belief from messageChoice of rootShafer-Shenoy Algorithm (a.k.a. VE in clique tree for all roots)Calibrated Clique treeAnswering queries with clique treesIntroducing message passing with divisionFactor divisionLauritzen-Spiegelhalter Algorithm (a.k.a. belief propagation)Convergence of Lauritzen-Spiegelhalter AlgorithmVE versus BP in clique treesClique tree invariantBelief propagation and clique tree invariantSubtree correctnessClique trees versus VEClique tree summary1Junction Trees 2Graphical Models – 10708Carlos GuestrinCarnegie Mellon UniversityOctober 22nd, 2008Readings:K&F: 9.1, 9.2, 9.3, 9.4 10-708 – Carlos Guestrin 2006-200810-708 – Carlos Guestrin 2006-20082What if I want to compute P(Xi|x0,xn+1) for each i?Variable elimination for each i?Compute:Variable elimination for every i, what’s the complexity?X0X5X3X4X2X110-708 – Carlos Guestrin 2006-20083Reusing computationCompute:X0X5X3X4X2X110-708 – Carlos Guestrin 2006-20084Cluster graphCluster graph: For set of factors FUndirected graphEach node i associated with a cluster Ci Family preserving: for each factor fj 2 F, 9 node i such that scope[fi] CiEach edge i – j is associated with a separator Sij = Ci  CjDIGJSLGJSLHGJCDGSIDSGHJCLI10-708 – Carlos Guestrin 2006-20085Cluster graph for VEVE generates cluster tree!One clique for each factor used/generatedEdge i – j, if fi used to generate fj“Message” from i to j generated when marginalizing a variable from fiTree because factors only used onceProposition:“Message” ij from i to jScope[ij]  SijDIGJSLGJSLHGJCDGSI10-708 – Carlos Guestrin 2006-20086Running intersection propertyRunning intersection property (RIP)Cluster tree satisfies RIP if whenever X2Ci and X2Cj then X is in every cluster in the (unique) path from Ci to CjTheorem:Cluster tree generated by VE satisfies RIPDIGJSLGJSLHGJCDGSI10-708 – Carlos Guestrin 2006-20087Constructing a clique tree from VESelect elimination order  Connect factors that would be generated if you run VE with order Simplify!Eliminate factor that is subset of neighbor10-708 – Carlos Guestrin 2006-20088Find clique tree from chordal graphTriangulate moralized graph to obtain chordal graphFind maximal cliquesNP-complete in generalEasy for chordal graphs Max-cardinality search Maximum spanning tree finds clique tree satisfying RIP!!!Generate weighted graph over cliquesEdge weights (i,j) is separator size – |CiCj|DifficultyGradeHappyJobCoherenceLetterIntelligenceSAT10-708 – Carlos Guestrin 2006-20089Clique tree & IndependenciesClique tree (or Junction tree)A cluster tree that satisfies the RIPTheorem:Given some BN with structure G and factors FFor a clique tree T for F consider Ci – Cj with separator Sij:X – any set of vars in Ci side of the treeY – any set of vars in Ci side of the treeThen, (X  Y | Sij) in BNFurthermore, I(T)  I(G)DIGJSLGJSLHGJCDGSI10-708 – Carlos Guestrin 2006-200810Variable elimination in a clique tree 1Clique tree for a BNEach CPT assigned to a cliqueInitial potential 0(Ci) is product of CPTsC2: DIG C4: GJSL C5: HGJC1: CD C3: GSIDSGHJCLI10-708 – Carlos Guestrin 2006-200811Variable elimination in a clique tree 2VE in clique tree to compute P(Xi)Pick a root (any node containing Xi)Send messages recursively from leaves to rootMultiply incoming messages with initial potentialMarginalize vars that are not in separatorClique ready if received messages from all neighborsC2: DIG C4: GJSL C5: HGJC1: CD C3: GSI10-708 – Carlos Guestrin 2006-200812Belief from messageTheorem: When clique Ci is readyReceived messages from all neighborsBelief i(Ci) is product of initial factor with messages:10-708 – Carlos Guestrin 2006-200813Choice of rootRoot: node 5Root: node 3Message does not depend on root!!!“Cache” computation: Obtain belief for all roots in linear time!!10-708 – Carlos Guestrin 2006-200814Shafer-Shenoy Algorithm (a.k.a. VE in clique tree for all roots)Clique Ci ready to transmit to neighbor Cj if received messages from all neighbors but jLeaves are always ready to transmitWhile 9 Ci ready to transmit to CjSend message i! jComplexity: Linear in # cliquesOne message sent each direction in each edgeCorollary: At convergenceEvery clique has correct beliefC2C4C5C1C3C7C610-708 – Carlos Guestrin 2006-200815Calibrated Clique treeInitially, neighboring nodes don’t agree on “distribution” over separatorsCalibrated clique tree:At convergence, tree is calibratedNeighboring nodes agree on distribution over separator10-708 – Carlos Guestrin 2006-200816Answering queries with clique treesQuery within cliqueIncremental updates – Observing evidence Z=zMultiply some clique by indicator 1(Z=z)Query outside cliqueUse variable elimination!10-708 – Carlos Guestrin 200617Introducing message passing with divisionVariable elimination (message passing with multiplication)message:belief:Message passing with division:message:belief update:C2: SEC4: GJSC1: CDC3: GDS10-708 – Carlos Guestrin 200618Factor divisionLet X and Y be disjoint set of variablesConsider two factors: 1(X,Y) and 2(Y)Factor =1/20/0=010-708 – Carlos Guestrin 200619Separator potentials ijone per edge (same both directions)holds “last message”initialized to 1Message i!jwhat does i think the separator potential should be? i!jupdate belief for j:pushing j to what i thinks about separatorreplace separator potential:C2: SEC4: GJSC1: CDC3: GDSLauritzen-Spiegelhalter Algorithm (a.k.a. belief propagation)Simplified descriptionsee reading for details10-708 – Carlos Guestrin 2006-200820Convergence of Lauritzen-Spiegelhalter Algorithm Complexity: Linear in # cliquesfor the “right” schedule over edges (leaves to root, then root to leaves)Corollary: At convergence, every clique has correct beliefC2C4C5C1C3C7C610-708 –


View Full Document

CMU CS 10708 - clique-trees2

Documents in this Course
Lecture

Lecture

15 pages

Lecture

Lecture

25 pages

Lecture

Lecture

24 pages

causality

causality

53 pages

lecture11

lecture11

16 pages

Exam

Exam

15 pages

Notes

Notes

12 pages

lecture

lecture

18 pages

lecture

lecture

16 pages

Lecture

Lecture

17 pages

Lecture

Lecture

15 pages

Lecture

Lecture

17 pages

Lecture

Lecture

19 pages

Lecture

Lecture

42 pages

Lecture

Lecture

16 pages

r6

r6

22 pages

lecture

lecture

20 pages

lecture

lecture

35 pages

Lecture

Lecture

19 pages

Lecture

Lecture

21 pages

lecture

lecture

21 pages

lecture

lecture

13 pages

review

review

50 pages

Semantics

Semantics

30 pages

lecture21

lecture21

26 pages

MN-crf

MN-crf

20 pages

hw4

hw4

5 pages

lecture

lecture

12 pages

Lecture

Lecture

25 pages

Lecture

Lecture

25 pages

Lecture

Lecture

14 pages

Lecture

Lecture

15 pages

Load more
Download clique-trees2
Our administrator received your request to download this document. We will send you the file to your email shortly.
Loading Unlocking...
Login

Join to view clique-trees2 and access 3M+ class-specific study document.

or
We will never post anything without your permission.
Don't have an account?
Sign Up

Join to view clique-trees2 2 2 and access 3M+ class-specific study document.

or

By creating an account you agree to our Privacy Policy and Terms Of Use

Already a member?