KL Divergence
An asymmetric measure of the difference between two probability distributions, widely used in information theory and variational inference.
Core Facts
KL divergence measures the directed difference between two probability distributions, defined as D_KL(P||Q)=E_P[log(dP/dQ)], is non-negative and asymmetric, and is zero if and only if the two distributions are equal almost everywhere.
KL divergence is used to compare the difference in output probability distributions between the fine-tuned model and the original model given the same input; a larger value indicates greater deviation, and a KLD of 0.0244 means the fine-tuning has hardly changed the model's overall behavioral distribution.
Timeline (last 90 days)
Methods based on KL or f-divergence often can handle only one of covariate shift or density-band shift, whereas MMD measures discrepancy directly on the joint distribution (or on the feature distribution via kernel embeddings), so it can cover both types of shift simultaneously.
Compared with metrics such as KL divergence, MMD does not require distributions to be absolutely continuous and can accommodate shifts with different supports (such as covariate shift and density-band shift), which is the technical basis for a single formulation to cover multiple shift types.
The lower bound of the acceptance probability is approximately the exponential of the integrated squared score error, that is, the exponential of the KL divergence between the approximate SDE and the exact SDE, so the acceptance rate is fairly sensitive to the quality of the score estimate.
The KL_inf projection measures the KL divergence between the empirical distribution and the distribution closest to it among all candidate distributions satisfying the given moment constraint.
Bregman divergence is a class of generalized distances generated by convex functions that measure the difference between two probability distributions, and KL divergence is a special case of it.
Jensen's inequality can be used to prove the non-negativity of KL divergence.
BEACON introduces a KL divergence term to constrain the proposal distribution to be close to the Gaussian prior, in order to prevent training instability.
The evidence lower bound (ELBO) equals the log marginal likelihood minus the KL divergence between the approximate posterior and the true posterior, and thus is always a lower bound on the log marginal likelihood.
The Wasserstein distance is often used in machine learning as a metric for the difference between two probability distributions and, compared with KL divergence, better reflects the geometric structure of the distributions.
The effect persists under matched KL divergence and a goal-blind reward.
40 more timeline events
All Facts (15)
KL divergence measures the directed difference between two probability distributions, defined as D_KL(P||Q)=E_P[log(dP/dQ)], is non-negative and asymmetric, and is zero if and only if the two distributions are equal almost everywhere.
75%VerifiedKL divergence is used to compare the difference in output probability distributions between the fine-tuned model and the original model given the same input; a larger value indicates greater deviation, and a KLD of 0.0244 means the fine-tuning has hardly changed the model's overall behavioral distribution.
70%UnverifiedKnowledge distillation usually refers to a student model minimizing KL divergence on the teacher's soft labels (logits), with optional matching of intermediate-layer features.
70%UnverifiedIn the choice of attention loss function, mean squared error (MSE) is significantly better than Kullback-Leibler divergence (KL divergence).
50%UnverifiedKLD is a distribution-level average metric and does not strictly correspond monotonically to downstream task accuracy; a model with slightly higher KLD may happen to score better on a certain type of task.
50%UnverifiedIn PIVOT, token-level KL supervision minimizes the KL divergence between the student model's next-token distribution and the teacher's distribution at the positions of the correction segments, i.e., KL(student‖teacher).
50%UnverifieddSpark uses distillation to let the model learn faster parallel sampling, and introduces a KL divergence regularization term to constrain generation quality.
50%UnverifiedThe Hellinger modulus integrates the difference of the square roots of the distribution densities, and compared with KL divergence, it is bounded and often yields tighter constant bounds in the derivation of minimax lower bounds for nonparametric estimation.
50%UnverifiedKL divergence measures the difference between two probability distributions and is the core mathematical tool for detecting model collapse; comparing the proposed training batch against a certified human gold baseline via KL divergence, and if the divergence exceeds a threshold, the pipeline should be automatically terminated.
50%UnverifiedSIRS provides an error bound: the KL divergence between the data distribution and the SIRS output distribution is bounded by a clipping term plus the model's training error.
50%UnverifiedStatistics such as KL divergence and PSI (Population Stability Index) are often used to measure distribution shift in batch data, but are difficult to apply directly to the serialized, context-laden behavior of Agents.
50%UnverifiedPSI is mathematically similar to a symmetrized KL divergence and is relatively sensitive to relative changes in distributions.
50%UnverifiedMutual information I(X;Y) is defined as the KL divergence between the joint distribution and the product of the marginal distributions, equivalent to the reduction in uncertainty about Y from knowing X.
50%UnverifiedRenyi divergence is a generalization of KL divergence that allows control over sensitivity to the tails or peaks of a distribution by adjusting the order parameter.
50%UnverifiedThe training objective of Voodoo Quant consists of two components: KL divergence and a file size target, allowing users to directly specify the desired file size.
50%