KL Divergence Asymmetry (Mass-Covering vs Mode-Seeking)
What you are seeing: two probability distributions on the same axis. The thick blue curve is a fixed bimodal target (a mixture of two Gaussians at ). The orange curve is a unimodal approximation (a single Gaussian) that you control.
KL divergence is not symmetric: Minimizing over ("forward" KL, also called M-step KL or "moment matching") gives a Q that covers all the mass of P, even if that means putting probability between the two modes where P has none. Minimizing (reverse KL, used by standard variational inference) gives a Q that collapses onto a single mode: it ignores the other mode entirely. The two "optimal" Q's are very different.
Two reference markers in the inset boxes show, for the current P, where each KL is minimized over . Drag Q to compare.
WHAT TO TRY
- Slide the single Gaussian Q across the bimodal target P: KL(Q||P) is minimized by Q sitting on one mode (mode-seeking), while KL(P||Q) prefers Q spanning both (mean-seeking). The asymmetry is the lesson.
- Widen Q sigma: KL(P||Q) rewards covering both modes even at the cost of mass in the valley, which is why reverse-KL variational inference collapses to one mode instead.
- Increase the mode separation: the two KL directions disagree more strongly, since no single Gaussian can be both narrow on one peak and broad across both.