15. Bayesian Networks 1 Flashcards

1
Q

What is a Bayesian Network?

A

A Bayesian Network is a graphical model that represents a set of variables and their conditional dependencies via a directed acyclic graph (DAG). It is used to describe joint probabilities and allows for the calculation of complex joint distributions using local conditional probabilities.

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

What are the key components of a Bayesian Network?

A

The key components are: 1. Nodes: Represent variables with their domains. 2. Edges: Encode interactions or conditional probabilities between variables. 3. Nodes not directly connected: Represent independent random variables.

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

What is the difference between a directed and an undirected graph?

A

In a directed graph, edges have a direction (from one node to another), while in an undirected graph, edges have no direction and represent mutual relationships.

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

What is a DAG (Directed Acyclic Graph)?

A

A DAG is a directed graph with no directed cycles. It is used in Bayesian Networks to represent conditional dependencies without any loops.

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

What is the Common Cause Principle?

A

The Common Cause Principle states that if two variables appear to be correlated but are not directly causally related, there may be a common cause that explains the correlation. For example, ice cream sales and shark attacks may both increase due to warm weather.

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

What is conditional independence in Bayesian Networks?

A

Two variables A and B are conditionally independent given a third variable C if: P(A,B∣C)=P(A∣C)P(B∣C). This means that knowing C makes A and B independent

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

What is the D-separation algorithm?

A

The D-separation algorithm is used to determine if two sets of variables in a Bayesian Network are conditionally independent given a set of evidence variables. It checks if all paths between the two sets are blocked by the evidence.

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

What is the Indirect Causal Effect?

A

The Indirect Causal Effect occurs when two variables I and L are correlated through an intermediate variable G. If G is known, I and L become conditionally independent: L⊥I∣G

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

What is the Common Effect in Bayesian Networks?

A

The Common Effect occurs when two independent causes T and B influence a common effect S. If S is observed, T and B become dependent, even if they were independent before.

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

How do you calculate the joint probability in a Bayesian Network?

A

The joint probability is calculated using the product of conditional probabilities: P(X_1​,…,X_n​)=∏_{i=1}^{n}​P(X_i ​∣ parents(X_i​))

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

What is the role of evidence variables in Bayesian Networks?

A

Evidence variables are observed variables that are used to update the probabilities of other variables in the network through conditional probability queries.

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

What is the difference between a joint distribution query and a conditional distribution query?

A

A joint distribution query asks for the probability of a set of variables, while a conditional distribution query asks for the probability of a set of variables given evidence (i.e., other variables are observed).

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

What is the Law of Total Probability?

A

The Law of Total Probability states that the total probability of an event A can be calculated by summing over all possible conditions Bn​: P(A)=∑_{n}​P(A∣Bn​)P(B_n​).

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

What is Bayes’ Rule?

A

Bayes’ Rule relates the conditional and marginal probabilities of random events: P(C∣E)=\frac{P(E)P(E∣C)}{P(C)}​. It is used to update the probability of a hypothesis C given evidence E.

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

What is a parent node in a Bayesian Network?

A

A node that directly influences another node via an edge.

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

What is a descendant node in a Bayesian Network?

A

A node that is influenced by another node through direct or indirect edges

17
Q

What is Exact Inference in Bayesian Networks?

A

A method to compute probabilities using joint distribution queries and conditional probability queries.

18
Q

What is Inference by Enumeration?

A

A method to compute probabilities by summing over all possible values of hidden variables.

19
Q

What is an example of the Common Cause Principle?

A

Ice cream sales and shark attacks both increase in summer, but one does not cause the other. The common cause is warm weather.

20
Q

What is the Indirect Evidential Effect?

A

If I and L are correlated through a common cause G, then knowing G makes I and L independent.

21
Q

What is an example of the Indirect Evidential Effect?

A

A professor’s recommendation (L) is based on a student’s grades (G). Given G, the recommendation does not provide additional evidence about intelligence (I).

22
Q

What is an example of the Common Effect Principle?

A

A car does not start (S) due to either an empty tank (T) or a dead battery (B). If we observe that the car won’t start, then knowing T influences our belief about B.

23
Q

How does d-separation block influence?

A

If all paths between two variables are blocked by observed variables, then they are independent.

24
Q

What are the two conditions that block a path in d-separation?

A
  1. The path contains a tail-to-tail or head-to-tail structure with an observed variable. 2. The path contains a head-to-head structure (collider), and neither the collider nor its descendants are observed.
25
Q

What is a joint probability query in Bayesian Networks?

A

A query that asks for the probability of multiple variables occurring together, computed using the network structure.

26
Q

What is a conditional probability query?

A

A query that asks for the probability of a variable given evidence (e.g., P(A∣B)).

27
Q

How is inference performed in Bayesian Networks?

A

By using probabilistic rules like marginalization, Bayes’ Rule, and conditional probability updates.