16. Bayesian Networks 2 Flashcards

1
Q

What is the purpose of the variable elimination algorithm in Bayesian networks?

A

The variable elimination algorithm reduces the overall number of calculations by caching intermediate results, making exact inference more efficient.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is the pointwise product of two factors f and g in Bayesian networks?

A

The pointwise product yields a new factor h whose variables are the union of f and g, with elements given by the product of corresponding elements in f and g.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is the law of total probability?

A

P(A)=∑n​P(A∣Bn​)P(Bn​).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is Bayes’ rule?

A

P(C∣E)=\frac{P(E∣C)P(C)​}{P(E)}.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What are the two key decisions that influence the complexity of the variable elimination algorithm?

A

Variable relevance: Remove variables not relevant to the query or evidence. Variable ordering: The order in which variables are eliminated (intractable problem).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

How does the complexity of exact inference in Bayesian networks depend on the network topology?

A

Singly connected networks (polytrees): Linear time and space complexity. Multiply connected networks: Exponential complexity (NP-hard in general).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is the purpose of approximate inference in Bayesian networks?

A

Approximate inference uses randomized sampling (e.g., Monte Carlo algorithms) to estimate probabilities when exact inference is computationally infeasible.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

How does the direct sampling algorithm work?

A
  1. Start with variables having no evidence. 2. Generate samples by sampling from P(X_i \mid parents(X_i)) 3. Count equal samples to approximate the joint distribution.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What distinguishes causal Bayesian networks from general Bayesian networks?

A

Causal Bayesian networks enforce causally compatible relationships, making them more intuitive, simpler to represent, and better for predicting interventions.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is the do-operator in causal Bayesian networks?

A

The do-operator imposes a specific outcome on a variable, removing its conditional dependencies, allowing prediction of interventions (e.g.,
P(C,R,s,J,T)=P(C)P(R∣C)P(J∣R)P(T∣R,s)).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Why are causal Bayesian networks important?

A

They allow prediction of how interventions will affect the model and are more intuitive for representing expert knowledge.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What is the main idea behind Monte Carlo algorithms in approximate inference?

A

They approximate the joint distribution by drawing multiple samples, with accuracy improving as the number of samples increases.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What is the Markov Condition in Bayesian Networks?

A

A node is conditionally independent of its non-descendants given its parents.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What is Conditional Probability in Bayesian Networks?

A

The probability of a variable given its parent nodes in the network.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

How do we compute the joint probability distribution from a Bayesian Network?

A

By multiplying the conditional probabilities of each variable given its parents.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What are the three types of connections in d-separation?

A

Chain, common cause (diverging), and common effect (collider).

17
Q

What is a collider in Bayesian Networks?

A

A node where two edges converge, which blocks information flow unless it is observed or a descendant is observed.

18
Q

What are two main types of inference in Bayesian Networks?

A

Exact inference and approximate inference.

19
Q

What is the Variable Elimination algorithm used for?

A

Performing exact inference by summing out variables to compute marginal probabilities.

20
Q

What is the Junction Tree algorithm?

A

A method for exact inference that clusters nodes into tree structures to simplify computations.

21
Q

What are common approximate inference methods?

A

Sampling methods like Gibbs Sampling and Monte Carlo methods.

22
Q

What is the role of Conditional Independence in Bayesian Networks?

A

It allows simplification of probability calculations by reducing dependencies.