KL Divergence
An asymmetric measure from information theory that quantifies the difference between two probability distributions. In the VAE loss function, it serves as a regularization term that constrains the encoder's output distribution to remain close to a standard normal prior, preventing fragmentation of the latent space.
Core Facts
The RLHF pipeline consists of three steps: training a reward model to predict human preference scores, adjusting language model parameters using the PPO reinforcement learning algorithm, and using KL divergence constraints to prevent the model from deviating from its original language capabilities.
The mathematical definition of KL divergence is D_KL(P||Q) = Σ P(x) log(P(x)/Q(x)), used to measure the degree of difference between two probability distributions.
KL divergence is asymmetric, i.e., D(p,q) ≠ D(q,p).
Timeline (last 90 days)
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.
The Schrödinger bridge is equivalent to minimizing the KL divergence relative to the Brownian motion reference measure among all path distributions satisfying the marginal constraints.
A KL-regularized transition distribution means adding the KL divergence as a penalty term when optimizing state transition probabilities, restricting the new distribution from deviating too far from the reference distribution.
In knowledge distillation and Ambient SFT, the loss function usually consists of a task loss and a KL divergence regularization term: the former pulls the model output closer to the hard labels, while the latter constrains the model distribution not to deviate too far from the teacher distribution.
The add-constant estimator achieves the minimax optimal rate under metrics such as the KL divergence.
40 more timeline events
All Facts (20)
The RLHF pipeline consists of three steps: training a reward model to predict human preference scores, adjusting language model parameters using the PPO reinforcement learning algorithm, and using KL divergence constraints to prevent the model from deviating from its original language capabilities.
90%VerifiedThe mathematical definition of KL divergence is D_KL(P||Q) = Σ P(x) log(P(x)/Q(x)), used to measure the degree of difference between two probability distributions.
80%VerifiedKL divergence is asymmetric, i.e., D(p,q) ≠ D(q,p).
80%VerifiedKL 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.
65%VerifiedCommon methods for detecting data drift include the KS test, PSI (Population Stability Index), and sliding-window-based statistical monitoring.
65%VerifiedCross-entropy = entropy of the true distribution + KL divergence.
65%Unverified从KL散度角度看,每一代合成数据与真实分布之间的散度都在单调递增,且误差会在迭代中累积
85%UnverifiedPolicy distillation typically refers to using a student policy to imitate the behavior of one or more teacher policies.
70%UnverifiedThe 2-Wasserstein distance is more sensitive to the geometric shape of the support sets of distributions than KL divergence, and can yield meaningful finite distance values even when the support sets of two distributions do not overlap.
70%UnverifiedKL divergence is asymmetric; the KL divergence of P with respect to Q is not equal to the KL divergence of Q with respect to P.
60%UnverifiedBregman 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.
50%UnverifiedJensen's inequality can be used to prove the non-negativity of KL divergence.
50%UnverifiedBEACON introduces a KL divergence term to constrain the proposal distribution to be close to the Gaussian prior, in order to prevent training instability.
50%UnverifiedThe 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.
50%UnverifiedThe 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.
50%UnverifiedThe effect persists under matched KL divergence and a goal-blind reward.
50%UnverifiedThe Schrödinger bridge is equivalent to minimizing the KL divergence relative to the Brownian motion reference measure among all path distributions satisfying the marginal constraints.
50%UnverifiedA KL-regularized transition distribution means adding the KL divergence as a penalty term when optimizing state transition probabilities, restricting the new distribution from deviating too far from the reference distribution.
50%UnverifiedIn knowledge distillation and Ambient SFT, the loss function usually consists of a task loss and a KL divergence regularization term: the former pulls the model output closer to the hard labels, while the latter constrains the model distribution not to deviate too far from the teacher distribution.
50%