Skip to main content Accessibility help
×
Hostname: page-component-5c6d5d7d68-lvtdw Total loading time: 0 Render date: 2024-08-16T04:25:34.345Z Has data issue: false hasContentIssue false

7 - Inference by Factor Elimination

Published online by Cambridge University Press:  23 February 2011

Adnan Darwiche
Affiliation:
University of California, Los Angeles
Get access

Summary

We present in this chapter a variation on the variable elimination algorithm, known as the jointree algorithm, which can be understood in terms of factor elimination. This algorithm improves on the complexity of variable elimination when answering multiple queries. It also forms the basis for a class of approximate inference algorithms that we discuss in Chapter 14.

Introduction

Consider a Bayesian network and suppose that our goal is to compute the posterior marginal for each of its n variables. Given an elimination order of width w, we can compute a single marginal using variable elimination in O(n exp(w)) time and space, as we explained in Chapter 6. To compute all these marginals, we can then run variable elimination O(n) times, leading to a total complexity of O(n2 exp(w)).

For large networks, the n2 factor can be problematic even when the treewidth is small. The good news is that we can avoid this complexity and compute marginals for all networks variables in only O(n exp(w)) time and space. This can be done using a more refined algorithm known as the jointree algorithm, which is the main subject of this chapter. The jointree algorithm will also compute the posterior marginals for other sets of variables, including all network families, where a family consists of a variable and its parents in the Bayesian network. Family marginals are especially important for sensitivity analysis, as discussed in Chapter 16, and for learning Bayesian networks, as discussed in Chapters 17 and 18.

Type
Chapter
Information
Publisher: Cambridge University Press
Print publication year: 2009

Access options

Get access to the full version of this content by using one of the access options below. (Log in options will check for institutional or personal access. Content may require purchase if you do not have access.)

Save book to Kindle

To save this book to your Kindle, first ensure coreplatform@cambridge.org is added to your Approved Personal Document E-mail List under your Personal Document Settings on the Manage Your Content and Devices page of your Amazon account. Then enter the ‘name’ part of your Kindle email address below. Find out more about saving to your Kindle.

Note you can select to save to either the @free.kindle.com or @kindle.com variations. ‘@free.kindle.com’ emails are free but can only be saved to your device when it is connected to wi-fi. ‘@kindle.com’ emails can be delivered even when you are not connected to wi-fi, but note that service fees apply.

Find out more about the Kindle Personal Document Service.

  • Inference by Factor Elimination
  • Adnan Darwiche, University of California, Los Angeles
  • Book: Modeling and Reasoning with Bayesian Networks
  • Online publication: 23 February 2011
  • Chapter DOI: https://doi.org/10.1017/CBO9780511811357.008
Available formats
×

Save book to Dropbox

To save content items to your account, please confirm that you agree to abide by our usage policies. If this is the first time you use this feature, you will be asked to authorise Cambridge Core to connect with your account. Find out more about saving content to Dropbox.

  • Inference by Factor Elimination
  • Adnan Darwiche, University of California, Los Angeles
  • Book: Modeling and Reasoning with Bayesian Networks
  • Online publication: 23 February 2011
  • Chapter DOI: https://doi.org/10.1017/CBO9780511811357.008
Available formats
×

Save book to Google Drive

To save content items to your account, please confirm that you agree to abide by our usage policies. If this is the first time you use this feature, you will be asked to authorise Cambridge Core to connect with your account. Find out more about saving content to Google Drive.

  • Inference by Factor Elimination
  • Adnan Darwiche, University of California, Los Angeles
  • Book: Modeling and Reasoning with Bayesian Networks
  • Online publication: 23 February 2011
  • Chapter DOI: https://doi.org/10.1017/CBO9780511811357.008
Available formats
×