I'm reading this paper about training energy-based models (EBMs) and don't understand the parameters that we are training for? The part that is relevant to the question is in pages 1-4. Here is the overview.
EBM (Equation 1 in paper) refers to a model where the probability density has the form: $$p_\theta(\pmb{x})=\frac{\exp(-E_\theta(\pmb{x}))}{Z_\theta}$$ where $\pmb{x},\theta\in \mathbb{R}^n$, $E_\theta$ is an energy function, $Z_\theta=\int \exp(-E_\theta(\pmb{x}))d\pmb{x}$ is a normalizing constant. Ising model is an example of an EBM.
In equation 3, the gradient of log-probability of an EBM is given which is just \begin{equation}\triangledown_\theta \log p_\theta(\pmb{x})=-\triangledown_\theta E_\theta(\pmb{x})-\triangledown_\theta Z_\theta \label{eq:1}\end{equation}
Then the second term in the equation above ($\triangledown_\theta Z_\theta$) is approximated by $-\triangledown_\theta E_\theta(\tilde{\pmb{x}})$ in equation 4. Here $\tilde{\pmb{x}}$ is a random sample from $p_\theta(\pmb{x})$ i.e. $\tilde{\pmb{x}} \sim p_\theta(\pmb{x})$. Page 4 then talks about how to get $\tilde{\pmb{x}}$ using MCMC (Markov chains Monte Carlo) methods which I understand.
So I understand that in equation 3, the term $-\triangledown_\theta E_\theta(\pmb{x})$ is exactly computable and the term $\tilde{\pmb{x}}$ is approximated using MCMC methods.
- But I don't understand what we are training for?
- In each step of the training process, we get an estimate for $\triangledown_\theta \log p_\theta(\pmb{x})$ using equation 3 but somehow that is used to learn some parameter which I don't seem to get?
- In MLE one estimates the parameter $\theta$ such that the likelihood of the observed data conditional on $\theta$ is maximized. So are we doing a similar thing here and training for $\theta$?
- If the answer to 3) is yes, then how does $\triangledown_\theta \log p_\theta(\pmb{x})$ help in updating the parameter $\theta$?