DOC PREVIEW
CMU CS 10708 - Structure Learning in BNs 2

This preview shows page 1-2-16-17-18-34-35 out of 35 pages.

Save
View full document
View full document
Premium Document
Do you want full access? Go Premium and unlock all 35 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 35 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 35 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 35 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 35 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 35 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 35 pages.
Access to all documents
Download any document
Ad free experience
Premium Document
Do you want full access? Go Premium and unlock all 35 pages.
Access to all documents
Download any document
Ad free experience

Unformatted text preview:

Structure Learning in BNs 2: (the good,) the bad, the uglyMaximum likelihood score overfits!Bayesian scoreBayesian score and model complexityBayesian, a decomposable scoreBIC approximation of Bayesian scoreBIC approximation, a decomposable scoreConsistency of BIC and Bayesian scoresPriors for general graphsBDe priorAnnouncementsScore equivalenceChow-Liu for Bayesian scoreStructure learning for general graphsUnderstanding score decompositionFixed variable order 1Fixed variable order 2Learn BN structure using local searchExploit score decomposition in local searchSome experimentsOrder search versus graph searchBayesian model averagingWhat you need to know about learning BN structuresInference in graphical models: Typical queries 1Inference in graphical models: Typical queries 2 – MaximizationAre MPE and MAP Consistent?Complexity of conditional probability queries 1Complexity of conditional probability queries 2Inference is #P-hard, hopeless?What about the maximization problems? First, most probable explanation (MPE)What about maximum a posteriori?Can we exploit structure for maximization?Exact inference is hard, what about approximate inference?Hardness of approximate inferenceWhat you need to know about inference1Structure Learning in BNs 2:(the good,) the bad, the ugly Graphical Models – 10708Carlos GuestrinCarnegie Mellon UniversityOctober 4th, 2006Readings:K&F: 15.1, 15.2, 15.3, 15.4, 15.510-708 – Carlos Guestrin 20062 Maximum likelihood score overfits!Information never hurts:Adding a parent always increases score!!!10-708 – Carlos Guestrin 20063 Bayesian scorePrior distributions:Over structuresOver parameters of a structurePosterior over structures given data:10-708 – Carlos Guestrin 20064 Bayesian score and model complexityXYTrue model:P(Y=t|X=t) = 0.5 + P(Y=t|X=f) = 0.5 - Structure 1: X and Y independentScore doesn’t depend on alphaStructure 2: X ! YData points split between P(Y=t|X=t) and P(Y=t|X=f)For fixed M, only worth it for large Because posterior over parameter will be more diffuse with less data10-708 –  Carlos Guestrin 20065 Bayesian, a decomposable scoreAs with last lecture, assume:Local and global parameter independenceAlso, prior satisfies parameter modularity:If Xi has same parents in G and G’, then parameters have same priorFinally, structure prior P(G) satisfies structure modularityProduct of terms over familiesE.g., P(G) / c|G|Bayesian score decomposes along families!10-708 –  Carlos Guestrin 20066 BIC approximation of Bayesian scoreBayesian has difficult integralsFor Dirichlet prior, can use simple Bayes information criterion (BIC) approximationIn the limit, we can forget prior!Theorem: for Dirichlet prior, and a BN with Dim(G) independent parameters, as m!1:10-708 – Carlos Guestrin 20067 BIC approximation, a decomposable scoreBIC:Using information theoretic formulation:10-708 – Carlos Guestrin 20068 Consistency of BIC and Bayesian scoresA scoring function is consistent if, for true model G*, as m!1, with probability 1G* maximizes the scoreAll structures not I-equivalent to G* have strictly lower scoreTheorem: BIC score is consistentCorollary: the Bayesian score is consistent What about maximum likelihood score?Consistency is limiting behavior, says nothing about finite sample size!!!10-708 –  Carlos Guestrin 20069 Priors for general graphsFor finite datasets, prior is important!Prior over structure satisfying prior modularityWhat about prior over parameters, how do we represent it?K2 prior: fix an , P(Xi|PaXi) = Dirichlet(,…, ) K2 is “inconsistent”10-708 – Carlos Guestrin 200610 BDe priorRemember that Dirichlet parameters analogous to “fictitious samples”Pick a fictitious sample size m’For each possible family, define a prior distribution P(Xi,PaXi)Represent with a BNUsually independent (product of marginals)BDe prior: Has “consistency property”:10-708 – Carlos Guestrin 200611 AnnouncementsProject description is out on class website:Individual or groups of two onlySuggested projects on the class website, or do something related to your research (preferable) Must be something you started this semesterThe semester goes really quickly, so be realistic (and ambitious )Project deliverables:one page proposal due next week (10/11)5-page milestone report Nov. 1st Poster presentation on Dec. 1st, 3-6pmWrite up, 8-pages, due Dec. 8th All write ups in NIPS format (see class website), page limits are strictObjective:Explore and apply concepts in probabilistic graphical modelsDoing a fun project!10-708 – Carlos Guestrin 200612 Score equivalenceIf G and G’ are I-equivalent then they have same scoreTheorem 1: Maximum likelihood score and BIC score satisfy score equivalenceTheorem 2: If P(G) assigns same prior to I-equivalent structures (e.g., edge counting)and parameter prior is dirichletthen Bayesian score satisfies score equivalence if and only if prior over parameters represented as a BDe prior!!!!!!10-708 – Carlos Guestrin 200613 Chow-Liu for Bayesian scoreEdge weight wXj!Xi is advantage of adding Xj as parent for XiNow have a directed graph, need directed spanning forestNote that adding an edge can hurt Bayesian score – choose forest not treeBut, if score satisfies score equivalence, then wXj!Xi = wXj!Xi !Simple maximum spanning forest algorithm works10-708 – Carlos Guestrin 200614 Structure learning for general graphsIn a tree, a node only has one parentTheorem:The problem of learning a BN structure with at most d parents is NP-hard for any (fixed) d¸2Most structure learning approaches use heuristicsExploit score decomposition(Quickly) Describe two heuristics that exploit decomposition in different ways10-708 – Carlos Guestrin 200615 Understanding score decompositionDifficultySATGradeHappyJobCoherenceLetterIntelligence10-708 – Carlos Guestrin 200616 Fixed variable order 1Pick a variable order Áe.g., X1,…,XnXi can only pick parents in {X1,…,Xi-1}Any subsetAcyclicity guaranteed!Total score = sum score of each node10-708 – Carlos Guestrin 200617 Fixed variable order 2Fix max number of parents to kFor each i in order ÁPick PaXiµ{X1,…,Xi-1}Exhaustively search through all


View Full Document

CMU CS 10708 - Structure Learning in BNs 2

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 Structure Learning in BNs 2
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 Structure Learning in BNs 2 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 Structure Learning in BNs 2 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?