Kullback–Leibler divergence
en.wikipedia.org
Kullback–Leibler divergence
1–10 of 77 posts
Re: Kullback–Leibler divergence
#2Could someone give me a simple explanation as to what it's is.
And also, what practical use cases does it have?
Re: Kullback–Leibler divergence
#3Re: Kullback–Leibler divergence
#4K-L Divergence is something that Keeps coming up in my research but I still don't understand what it is. Could someone give me a simple explanation as to what it's is. And also, what practical use cases does it have?
Example: an LLM gives a probability distribution of the next word. If it is perfectly accurate at predicting the next word then divergence is 0 (100% probability on the actual next word). If it is slightly off or unsure then the divergence goes up.
Re: Kullback–Leibler divergence
#5K-L Divergence is something that Keeps coming up in my research but I still don't understand what it is. Could someone give me a simple explanation as to what it's is. And also, what practical use cases does it have?
- You want to find the min/max of some probability distribution P(x)
- P(x) is too complicated to find a closed-form min, but you can draw samples from it.
- So instead, you carefully construct some OTHER probability distribution Q(x|θ) that you claim is structurally similar "enough" to P(x), parameterized by θ.
- Now you find the theta which minimizes the KL divergence KL(P(x) || Q(x|θ)), which is equivalent to delivering you the parameters of θ to Q(x|θ) that make it [approximately] "most" similar to P(x) without ever having minimized P(x)
It was a trick that came up a lot when AI consisted of giant Bayesian plate models for each specific task that you had to hand-optimize.
Re: Kullback–Leibler divergence
#6K-L Divergence is something that Keeps coming up in my research but I still don't understand what it is. Could someone give me a simple explanation as to what it's is. And also, what practical use cases does it have?
Re: Kullback–Leibler divergence
#7K-L Divergence is something that Keeps coming up in my research but I still don't understand what it is. Could someone give me a simple explanation as to what it's is. And also, what practical use cases does it have?
"...defined through a negative logarithm of probability",
"...to model a given outcome", occurred.
P-:
Re: Kullback–Leibler divergence
#8 1. Expected surprise
2. Hypothesis testing
3. MLEs
4. Suboptimal coding
5a. Gambling games -- beating the house
5b. Gambling games -- gaming the lottery
6. Bregman divergenceRe: Kullback–Leibler divergence
#9Re: Kullback–Leibler divergence
#10K-L Divergence is something that Keeps coming up in my research but I still don't understand what it is. Could someone give me a simple explanation as to what it's is. And also, what practical use cases does it have?