Conditional Independence
CMPUT 366: Intelligent Systems
P&M §8.2
Conditional Independence CMPUT 366: Intelligent Systems P&M - - PowerPoint PPT Presentation
Conditional Independence CMPUT 366: Intelligent Systems P&M 8.2 Lecture Outline 1. Recap 2. Structure 3. Marginal Independence 4. Conditional Independences Recap: Probability Probability is a numerical measure of
CMPUT 366: Intelligent Systems
P&M §8.2
variables
possible worlds in which the statement is true
rules out all of the possible worlds in which e is false
remaining probabilities to sum to 1
Bayes' Rule: P(h, e) = P(h ∣ e)P(e) = P(e ∣ h)P(h)
P(h|e) = P(e|h) P(h) P(e)
Posterior Likelihood Prior Evidence
joint distribution
specify a joint distribution of k binary random variables?
joint distribution unstructured
A: 2^k - 1
underlying process
reason about probabilities in a more compact way
process, instead of specifying every possible joint probability explicitly
When the value of one variable never gives you information about the value of the other, we say the two variables are marginally independent. Definition: Random variables X and Y are marginally independent iff
for all values of x ∈ dom(X) and y ∈ dom(Y).
A: 1/2 A: 1/2
Proposition: If X and Y are marginally independent, then P(X=x, Y=y) = P(X=x)P(Y=y) for all values of x ∈ dom(X) and y ∈ dom(Y)
distributions, and use them to recover joint probabilties
the marginal distribution for a single binary variable?
C1 C2 C3 C4 P H H H H 0.0625 H H H T 0.0625 H H T H 0.0625 H H T T 0.0625 H T H H 0.0625 H T H T 0.0625 H T T H 0.0625 H T T T 0.0625 T H H H 0.0625 T H H T 0.0625 T H T H 0.0625 T H T T 0.0625 T T H H 0.0625 T T H T 0.0625 T T T H 0.0625 C1 P H 0.5 C2 P H 0.5 C3 P H 0.5 C4 P H 0.5
A: 1
Example:
same time, and form opinions about what time it is
P(A | B) ≠ P(A)
P(A | B, T=10:00) = P(A | T=10:00)
Random variables: A - Time Alice thinks it is B - Time Bob thinks it is T - Actual time
A: no A: yes
When knowing the value of a third variable Z makes two variables A,B independent, we say that they are conditionally independent given Z (or independent conditional on Z). Definition: Random variables X and Y are conditionally independent given Z iff P(X=x | Y=y, Z=z) = P(X=X | Z = z) for all values of x ∈ dom(X), y ∈ dom(Y), and z ∈ dom(Z). Clock example: A and B are conditionally independent given T.
Proposition: If X and Y are marginally independent given Z, then P(X=x, Y=y | Z=z) = P(X=x | Z=z)P(Y=y | Z=z) for all values of x ∈ dom(X), y ∈ dom(Y), and z ∈ dom(Z).
by multiplication
when X and Y are independent given Z?
A: 3
independent given a third variable
given C3: Learning the value of C3 does not make C2 any more informative about C1.
represent (and operate on)
important forms of structure that a distribution can have
independence is not fixed
random variables can be computed by multiplication