Maximum Likelihood as Minimize KL-Divergence 8
When I study Product of Experts and Restricted Boltzmann Machine recently, I have found a very interesting technical point to be demonstrated. That is maximum likelihood estimation can be viewed as a process to minimize a KL-Divergence between two distributions.
We start from a simple notation. Let
be the distribution for generating each data point
. We can define the model parameter distribution as:
(1) ![]()
(2) 
(3) ![Rendered by QuickLaTeX.com \begin{align*} \mathrm{KL}[ P_{D}(x) \, || \, P_{\boldsymbol{\Theta}}(x)] &= \int P_{D}(x) \log \frac{P_{D}(x)}{P_{\boldsymbol{\Theta}}(x)} \, dx \\ &= \int P_{D}(x) \log P_{D}(x) \, dx - \int P_{D}(x) \log P_{\boldsymbol{\Theta}}(x) \, dx \\ &= -H[P_{D}(x)] - \int P_{D}(x) \log P_{\boldsymbol{\Theta}}(x) \, dx \\ &\propto - \Bigr< \log P_{\boldsymbol{\Theta}}(x) \Bigl>_{P_{D}(x)} \end{align*}](https://www.hongliangjie.com/wp-content/ql-cache/quicklatex.com-3f37ab4c82780d25c70da6f2cd1d454e_l3.png)
(4) ![Rendered by QuickLaTeX.com \begin{align*} \Bigr< \log P_{\boldsymbol{\Theta}}(x) \Bigl>_{P_{D}(x)} &= \sum_{x} P_{D}(x) \log P(x \, | \, \boldsymbol{\Theta}) \\ &= \sum_{x} \Bigr[ \frac{1}{N}\sum_{i=1}^{N}\delta(x - x_{i}) \Bigl] \log P(x \, | \, \boldsymbol{\Theta}) \\ &= \frac{1}{N} \sum_{i=1}^{N} \log P(x_{i} \, | \, \boldsymbol{\Theta}) \end{align*}](https://www.hongliangjie.com/wp-content/ql-cache/quicklatex.com-c283d6b328a6c6ad80884e9fbb9457ee_l3.png)