What is marginal inference?
We ask the question ‘What is the probability of a given variable in our model (possibly conditioned on evidence)?’.
What is maximum a posteriori (MAP) inference?
We ask the question ‘What is the most likely assignment to the variables in the model (possibly conditioned on evidence)?’
Inference is not challenging. True or False?
False
Chains and trees are ______________. Loopy graphs are not.
tractable
If a problem is intractable, we are still able to obtain useful answers via _______________ inference methods.
approximate
Which are the methods for inference in graphical models?
What is dynamic programming?
Dynamic programming ”inverts” the order of computation, performing it inside out instead of outside in.
What are the 2 ideas that help us address the exponential blowup of the joint distribution in the variable elimination method?
Why does the order of elimination matter?
!= elimination orders –> != intermediate factor sizes –> != complexity
What is the naïve approach in the variable elimination method?
First, evaluate the joint distribution and then perform the summation explicitly.
Define tree in an undirected graph.
In an undirected graph, a tree is defined as a graph in which there is one path between any pair of nodes.
Trees have loops. True or False?
False
Define tree in a directed graph.
In directed graphs, a tree is defined such that there is a single node, called the root, which has no parents, and all other nodes have one parent.
If there are nodes in a directed graph that have more than one parent, but there is still one path between any two nodes, then the graph is called a _____________.
Such a graph will have more than one node with the property of having ____ ___________, and the corresponding moralized undirected graph will have __________.
polytree; no parents; loops
______________ algorithm is used for marginal inference.
_______________ algorithm is used for MAP inference.
Sum-product; Max-product
Marginal is proportional to the product of the incoming messages. True or False?
True
In the sum-product algorithm, if the factor graph is derived from a directed graph, then the joint distribution is already correctly ________________, and so the marginals obtained will be normalized correctly.
If the factor graph is derived from an undirected graph, then we have the _______________ _________ Z and in this case we just need to marginalize over a single ____________ rather than the entire set of variables.
normalized; normalization factor; variable
We can use the messages to compute the marginals of all variables in the graph. True or False?
True
If each edge has a message in both directions, we can compute the marginals of all variables in the graph. True or False?
True
The correspondence between messages and effective __________ allows us to find the joint distribution for variables connected to the same factor node (_____________).
factors; neighbors
From a leaf variable node to a factor node, the message is _____.
1
From a leaf factor node to a variable node, the message is the _____.
factor
In the sum-product algorithm, the factor graph must be a _______.
tree
The sum-product algorithm can be used to compute _______________.
This can be viewed as defining a new __________ ________ on the non-evidential variables.
Or, one can keep the original factor graph, but for factor-to-variable messages, the sum is only taken over _______________ variables; any evidential variables in the potential are set to their evidential states.
conditionals; factor graph; non-evidential