(1.7 hours to learn)
Variable elimination is a simple algorithm for marginalization and partition function computation in graphical models. It is based on interchanging sums and products in the definitions of marginals or partition functions. While it produces exact answers, the complexity blows up exponentially in the worst case.
This concept has the prerequisites:
- Does the order of elimination matter for directed graphical models? Undirected graphical models?
- Is it usually necessary to keep track of the partition function when performing variable elimination in an undirected graphical model?
Core resources (read/watch one of the following)
→ Coursera: Probabilistic Graphical Models (2013)
An online course on probabilistic graphical models.
- Click on "Preview" to see the videos.
→ Machine Learning: a Probabilistic Perspective
A very comprehensive graudate-level machine learning textbook.
Location: Section 20.3, pages 714-720
→ Artificial Intelligence: a Modern Approach
A textbook giving a broad overview of all of AI.
Location: Section 14.4, pages 504-510
Supplemental resources (the following are optional, but you may find them useful)
→ Probabilistic Graphical Models: Principles and Techniques
A very comprehensive textbook for a graduate-level course on probabilistic AI.
Location: Sections 9.2-9.4.2, pages 292-310
- If we want to perform multiple queries, we go through lots of redundant calculations. Belief propagation gives a way of reusing the computations.
- In Gaussian graphical models , variable elimination is [equivalent](gaussian_variable_elimination_as_gaussian_elimination) to [Gaussian elimination](gaussian_elimination) .
- create concept: shift + click on graph
- change concept title: shift + click on existing concept
- link together concepts: shift + click drag from one concept to another
- remove concept from graph: click on concept then press delete/backspace
- add associated content to concept: click the small circle that appears on the node when hovering over it
- other actions: use the icons in the upper right corner to optimize the graph placement, preview the graph, or download a json representation