Rylan Schaeffer

Logo
Resume
Research
Learning
Blog
Teaching
Jokes
Kernel Papers


f-Divergence

Definition

For any two probability distributions \(P, Q\), an f-divergence is a function

\[D_f(P || Q) := \int f(\frac{dP}{dQ}) dQ\]

for any convex function \(f\) such that $$f(1) = 0 (TODO: why is this necessary?)

If probability densities exist, then the \(f-divergence\) can be written as:

\[D_f(P || Q) := \int f(\frac{p(x)}{q(x)}) q(x) dx\]

Examples

\[D_{KL}(p || q) := \int \frac{p(x)}{q(x)} \log \frac{p(x)}{q(x)} q(x) dx = \int p(x) \log \frac{p(x)}{q(x)} dx\] \[D_{KL}(p || q) := \int \log \frac{q(x)}{p(x)} q(x) dx\]

Properties