Docsity

IT computing stuff that is assissted very well, Schemes and Mind Maps of Introduction to Computing

Toggle sidebar
bg1
Introduction
Representa-
tion
Structure
Parameters
Inference
Probability
propagation
References
Probabilistic Graphical Models:
Principles and Applications
Chapter 7: BAYESIAN NETWORKS:
REPRESENTATION AND INFERENCE (Part I)
L. Enrique Sucar, INAOE
(L E Sucar: PGM) 1 / 48
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22
pf23
pf24
pf25
pf26
pf27
pf28
pf29
pf2a
pf2b
pf2c
pf2d
pf2e
pf2f
pf30

Partial preview of the text

Download IT computing stuff that is assissted very well and more Schemes and Mind Maps Introduction to Computing in PDF only on Docsity!

Introduction Representa- tion Structure Parameters Inference Probabilitypropagation

References

Probabilistic Graphical Models:

Principles and Applications

Chapter 7: BAYESIAN NETWORKS: REPRESENTATION AND INFERENCE (Part I)

L. Enrique Sucar, INAOE

Introduction Representa- tion Structure Parameters Inference Probabilitypropagation

References

Outline

1 Introduction

2 Representation Structure Parameters

3 Inference Probability propagation

4 References

Introduction Representa- tion Structure Parameters Inference Probabilitypropagation

References

Introduction

Example

  • Fever is independent of Body ache given Flu (common cause)
  • Fever is independent of Unhealthy food given Typhoid (indirect cause)
  • Typhoid is independent of Flu when Fever is NOT known (common effect). Knowing Fever makes Typhoid and Flu dependent

Introduction Representa- tion Structure Parameters Inference Probabilitypropagation

References

Introduction

Introduction

  • In addition to the structure, a Bayesian network considers a set of local parameters, which are the conditional probabilities for each variable given its parents in the graph
  • The joint probability of all the variables in the network can be represented based on these local parameters; this usually implies an important saving in the number of required parameters
  • (^) Given a Bayesian network we can answer several probabilistic queries. For instance, for the previous example: What is the probability of Fever given Flu? Which is more probable, Typhoid or Flu, given Fever and Unhealthy food?

Introduction Representa- tion Structure Parameters Inference Probabilitypropagation

References

Representation

An example

  • Joint distribution: P(C, T , G, R, F , D) = P(C)P(G)P(T | C)P(R | T )P(F | T , G)P(D | T , G)

Introduction Representa- tion Structure Parameters Inference Probabilitypropagation

References

Representation Structure

Conditional Independence Assertions

  • (^) The conditional independence assertions implied by the structure of a BN should correspond to the conditional independence relations of the joint probability distribution, and vice versa
  • If X is conditionally independent of Z given Y :
    • In the probability distribution: P(X |Y , Z ) = P(X |Y ).
    • In the graph: I < X | Y | Z >.

Introduction Representa- tion Structure Parameters Inference Probabilitypropagation

References

Representation Structure

D-Separation

  • Given a graph G, a set of variables A is conditionally independent of a set B given a set C, if there is no trajectory in G between A and B such that: 1 All convergent nodes are or have descendants in C. 2 All other nodes are outside C.

Introduction Representa- tion Structure Parameters Inference Probabilitypropagation

References

Representation Structure

Bayes Ball

  • Consider that we have a path from node X to Z with Y in the middle - Y is shaded if it is known (instantiated), otherwise it is not shaded
  • We throw a ball from X to Z , if the ball arrives to Z then X and Z are NOT independent given Y : 1 If Y is sequential or divergent and is not shaded, the ball goes through. 2 If Y is sequential or divergent and it is shaded, the ball is blocked. 3 If Y is convergent and not shaded, the ball is blocked. 4 If Y is convergent and shaded, the ball goes through.

Introduction Representa- tion Structure Parameters Inference Probabilitypropagation

References

Representation Structure

Contours

  • (^) Markov assumption: any node X is conditionally independent of all nodes in G that are not descendants of X given its parents in the graph, Pa(X )
  • The structure of a BN can be specified by the parents of each variable; thus the set of parents of a variable X is known as the contour of X
  • (^) Given this condition and using the chain rule, we can specify the joint probability distribution of the set of variables in a BN as the product of the conditional probability of each variable given its parents

Introduction Representa- tion Structure Parameters Inference Probabilitypropagation

References

Representation Structure

Markov Blanket

  • (^) The Markov Blanket of a node X , MB(X ), is the set of nodes that make it independent of all the other nodes in G, that is P(X | G − X ) = P(X | MB(X ))
  • (^) For a BN, the Markov blanket of X is:
    • (^) the parents of X ,
    • (^) the sons of X ,
    • (^) and other parents of the sons of X.

Introduction Representa- tion Structure Parameters Inference Probabilitypropagation

References

Representation Structure

Independence Axioms

  • Given some conditional independence relations between subsets of random variables, we can derive other conditional independence relations axiomatically
  • Independence axioms: Symmetry: I(X , Z , Y ) → I(Y , Z , X ) Decomposition: I(X , Z , Y ∪ W ) → I(X , Z , Y ) ∧ I(X , Z , W ) Weak Union: I(X , Z , Y ∪ W ) → I(X , Z ∪ W , Y ) Contraction: I(X , Z , Y )∧I(X , Z ∪Y , W ) → I(X , Z , Y ∪W ) Intersection: I(X , Z ∪ W , Y ) ∧ I(X , Z ∪ Y , W ) → I(X , Z , Y ∪ W )

Introduction Representa- tion Structure Parameters Inference Probabilitypropagation

References

Representation Structure

Graphically

Introduction Representa- tion Structure Parameters Inference Probabilitypropagation

References

Representation Parameters

Example

Introduction Representa- tion Structure Parameters Inference Probabilitypropagation

References

Representation Parameters

Canonical Models

  • Canonical models represent the relations between a set of random variables for particular interactions using few parameters
  • There are several classes of canonical models, the most common are the Noisy OR and Noisy AND for binary variables, and their extensions for multivalued variables, Noisy Max and Noisy Min, respectively
  • For example, consider a variable that represents a disease, D. In the case of the binary canonical models it has two values, True and False. For a multivalued model, it could be defined as D ∈ {False, Mild, Intermediate, Severe}, such that these values follow a predefined order