Skip to main content

Envisioning is an emerging technology research institute and advisory.

LinkedInInstagramGitHub

2011 — 2026

research
  • Observatory
  • Newsletter
  • Methodology
  • Origins
  • Vocab
services
  • Signals Session
  • Bespoke Projects
  • Build Sessions
  • Use Cases
  • Readinessfree
  • Signals
  • Free scan↗free
impact
  • ANBIMAFuture of Brazilian Capital Markets
  • IEEECharting the Energy Transition
  • Horizon 2045Future of Human and Planetary Security
  • WKOTechnology Scanning for Austria
solutions
  • Innovation
  • Strategy
  • Consultants
  • Foresight
  • Associations
  • Governments
resources
  • Partners
  • Coding for Non-Coders
  • How We Work
  • Data Visualization
  • Multi-Model Method
  • FAQ
  • Security & Privacy
about
  • Manifesto
  • Community
  • Events
  • Support
  • Contact
ResearchServicesSignalsAbout
ResearchServicesSignalsAbout
  1. Home
  2. Vocab
  3. KL (Kullback–Leibler) Divergence

KL (Kullback–Leibler) Divergence

A measure of how much one probability distribution differs from another.

Year: 1980Generality: 838
Back to Vocab

KL divergence is an asymmetric measure from information theory that quantifies how much one probability distribution P differs from a reference distribution Q. Formally, it is defined as the expected value of the log ratio of P to Q under P, and it can be interpreted as the amount of information lost when Q is used to approximate P. It is always non-negative and equals zero only when the two distributions are identical, making it a principled way to measure distributional discrepancy.

In machine learning, KL divergence appears throughout probabilistic modeling and optimization. In variational inference, it serves as the penalty term that keeps an approximate posterior close to a chosen prior, forming the basis of the evidence lower bound (ELBO) used to train variational autoencoders. In supervised learning, minimizing KL divergence between a model's predicted distribution and the true data distribution is mathematically equivalent to maximizing log-likelihood, connecting it directly to standard training objectives. It also underpins knowledge distillation, where a student model is trained to match the soft output distribution of a teacher model.

A critical property of KL divergence is its asymmetry: KL(P‖Q) is not generally equal to KL(Q‖P). This means the choice of which distribution is treated as the reference matters significantly. When P is the true distribution and Q is the approximation, minimizing KL(P‖Q) encourages Q to cover all regions where P has mass (mean-seeking behavior), while minimizing KL(Q‖P) encourages Q to concentrate on the most probable modes of P (mode-seeking behavior). Understanding this asymmetry is essential for choosing the right objective in generative modeling and approximate inference.

Beyond these core applications, KL divergence connects to a broader family of divergence measures, including the Jensen–Shannon divergence (a symmetrized version) and the f-divergences used in generative adversarial network theory. Its deep ties to entropy, mutual information, and cross-entropy make it one of the most foundational quantities in both information theory and modern machine learning.

Research this in Signals

Scan KL (Kullback–Leibler) Divergence for yourself.

Signals turns a topic into a sourced research record you can inspect and rerun. Your first scan is free, and this one starts with KL (Kullback–Leibler) Divergence already loaded, so edit it or scan as is.