liveBook · Manning

Kullback–Leibler divergence

As explained in Bayesian Optimization in Action

Kullback–Leibler divergence is a nonnegative statistical divergence that quantifies how one probability distribution differs from another.

Kullback–Leibler (KL) divergence measures how different one probability distribution is from another. Like Euclidean distance compares points, KL divergence compares distributions. It is nonnegative and equals zero when the distributions match exactly. section 12.2.1

Figure 12.7 Euclidean distance measures the distance between two points on a plane, while the KL divergence measures the distance between two probability distributions.

Use the geometric analogy to contrast ordinary distance between points with divergence between probability distributions. section 12.2.1

In a variational Gaussian process, KL divergence measures the difference between the posterior conditioned on inducing points and the posterior conditioned on the full dataset. Minimizing that difference makes the approximate model resemble the full model. Direct optimization uses the evidence lower bound (ELBO) as a computable proxy for the true loss and marginal log likelihood. section 12.2.1 section 12.5

How Bayesian Optimization in Action covers it

How deep it goes
Defines nonnegativity and matching behavior, then applies the measure to GP posteriors while deferring detailed mathematical computation.
Examples
Uses Euclidean distance between points and posterior Gaussian processes trained on inducing points or complete datasets.
What it assumes
Assumes familiarity with probability distributions and Gaussian processes while defining KL divergence from its distance intuition.
What you can do after
Evaluate/understand how distributional similarity guides approximate Gaussian-process training through ELBO optimization.
How it connects
Connects variational Gaussian processes with inducing points, ELBO, marginal log likelihood, and mini-batch optimization.

Also explained in

Compare how 12 books explain Kullback–Leibler divergence →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Bayesian Optimization in Action. The section links point to the parts of the book it draws on.