We use cookies to distinguish you from other users and to provide you with a better experience on our websites. Close this message to accept cookies or find out how to manage your cookie settings.
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 .
To save content items to your Kindle, first ensure [email protected]
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.
We discussed the least‐squares problem in the previous chapter, which uses a collection of data points to determine an optimal parameter by minimizing an empirical quadratic risk of the form:
Most learning algorithms, including deep neural networks with many layers and parameters, act as black-box procedures where feature vectors at the input layer are transformed into label predictions at the output layer through a succession of nonlinear transformations. Given how prevalent learning-based systems are becoming in modern practice, including their use in fields such as medical diagnosis, autonomous systems, and even legal proceedings, it is necessary to have confidence in their predictions in order to ensure reliable, fair, and nondiscriminatory conclusions. For this reason, one needs to understand how classification results are attained, and what attributes in the input data have influenced the decisions most heavily. Questions of this type are addressed under the topic of explainability in machine learning.
In the previous chapter we clarified the representation power of Bayesian networks. In this chapter, we examine the solution to inference problems over these networks. In particular, given some observations, we would like to determine (a) the states of some nodes or (b) the most probable hypothesis or explanation corresponding to the observations. We present three inference methods known as (1) inference by enumeration, which is a brute force exact method, (2) inference by variable elimination, which is a more efficient procedure, and (3) belief propagation. The last method is described in the next chapter, where it is shown to be a special case of the sum-product message-passing algorithm. In general, solving inference problems over Bayesian networks is NP-complete (i.e., they cannot be solved in polynomial complexity in the number of nodes); for the benefit of the reader, we describe the various notions of NP-complexity in the concluding remarks of the chapter. We also describe in the chapter approaches to learn the underlying graph structure from observations including the Chow-Liu algorithm and graphical LASSO.
In this and the next chapter we discuss two binary classification schemes known as perceptron and support vector machines. In contrast to logistic regression, these methods approximate neither the conditional pdf, nor the joint pdf, .
Inference deals with the estimation of hidden parameters or random variables from observations of other related variables. In this chapter, we study the basic, yet fundamental, problem of inferring an unknown random quantity from observations of another random quantity by using the mean-square-error (MSE) criterion. Several other design criteria can be used for inference purposes besides MSE, such as the mean-absolute error (MAE) and the maximum a-posteriori (MAP) criteria. We will encounter these possibilities in future chapters, starting with the next chapter. We initiate our discussions of inference problems though by focusing on the MSE criterion due to its mathematical tractability and because it sheds light on several important questions that arise in the study of inference problems in general.
In this chapter we describe two ensemble learning techniques, known as bagging and boosting, which aggregate the decisions of a mixture of learners to enable enhanced classification performance. In particular, they help transform a collection of “weak” learners into a more robust learning machine.
The expectation-maximization (EM) and Baum–Welch algorithms are particularly useful for the processing of data arising from mixture models. Both techniques enable us to identify the parameters of the underlying components, for both cases when the observations are independent of each other or follow a first-order Markovian process. In this chapter, we consider another important example of a mixture model consisting of a collection of independent sources, a mixture matrix, and the observations. The objective is to undo the mixing and recover the original sources. The resulting technique is known as independent component analysis (ICA).
The Laplace method approximates the posterior distribution through a Gaussian probability density function (pdf) that is not always accurate. The Markov chain Monte Carlo (MCMC) method, on the other hand, relies on sampling from auxiliary (proposal) distributions and provides a powerful way to approximate posterior distributions albeit through repeated simulations. In this chapter, we describe a third approach for approximating the posterior distribution, known as expectation propagation (EP). This method restricts the class of distributions from which the posterior is approximated to the Gaussian or exponential family and assumes a factored form for the posterior. The method can become analytically demanding, depending on the nature of the factors used for the posterior, because these factors can make the computation of certain moments unavailable in closed form. The EP method has been observed to lead to good performance in some applications such as the Bayesian logit classification problem, but this behavior is not universal and performance can degrade for other problems, especially when the posterior distribution admits a mixture model.
The -nearest neighbor (-NN) rule is appealing. However, each new feature requires searching over the entire training set of size to determine the neighborhood around .
In this chapter, we describe three other data-based generative methods that approximate the solution to the optimal Bayes classifier (52.8) in the absence of knowledge of the conditional probabilities . The methods estimate the prior probabilities for the classes and, in some cases, assume a Gaussian form for the reverse conditional distribution, . The training data is used to estimate the priors and the first-and second-order moments of .
The discussion in the last two chapters focused on directed graphical models or Bayesian networks, where a directed link from a variable toward another variable carries with it an implicit connotation of “causal effect” by on . In many instances, this implication need not be appropriate or can even be limiting. For example, there are cases where conditional independence relations cannot be represented by a directed graph. One such example is provided in Prob. 43.1. In this chapter, we examine another form of graphical representations where the links are not required to be directed anymore, and the probability distributions are replaced by potential functions. These are strictly positive functions defined over sets of connected nodes; they broaden the level of representation by graphical models. The potential functions carry with them a connotation of “similarity” or “affinity” among the variables, but can also be rolled back to represent probability distributions. Over undirected graphs, edges linking nodes will continue to reflect pairwise relationship between the variables but will lead to a fundamental factorization result in terms of the product of clique potential functions. We will show that these functions play a prominent role in the development of message-passing algorithms for the solution of inference problems.