MathOverflow is a question and answer site for professional mathematicians. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Assume we have two sampling process, i.e. we can draw samples from two (not explicitly known) distributions P and Q. Is there any simple way to calculate the KL-divergence D(P||Q)? P and Q could be discrete or continuous.

share|cite|improve this question

The whole paper here is on that topic

share|cite|improve this answer
The linked paper does not address the original question of two-sample estimation of KL-divergence, but its references [3]-[5] may. Currently the link is dead. I have submitted an edit to update it to… – user32620 Feb 10 at 20:40

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.