Definition (Kullback-Leibler divergence)

Let $P_{θ_0}, P_θ$ be two laws on $\mathcal{X}$ with densities $f(\cdot , θ_0)$ and $f(\cdot , θ)$. Suppose $\expect_{θ_0}|\log(X, θ')| < \infty$ with $X \sim P_{θ_0}$ for $θ' = θ_0$ and $θ$.

The Kullback-Leibler divergence is $$ \begin{align*} \op{KL}(P_{θ_0}, P_θ) := l(θ_0) - l(θ) = \int_{\mathcal{X}} f(x, θ_0) \log \frac{f(x, θ_0)}{f(x,θ)} \d x \end{align*} $$ where $$ \begin{align*} l(θ') := \expect_{θ_0}[\log f(X, θ')] \qquad (X \sim P_{θ_0}). \end{align*} $$