2
$\begingroup$

Let $ln(p(\mathcal{D};\theta))$ be the log-likelihood function, such that $\mathcal{D}=\{\mathbf{x}_1,\mathbf{x}_2,...,\mathbf{x}_N\}$ is the observed data and $\theta$ is a vector of parameters. Now suppose that:

$$ \frac{\partial \ ln(p(\mathcal{D};\theta))}{\partial \theta} \approx \frac{\partial g(\mathcal{D},\theta)}{\partial \theta} $$

Where $g$ is a function that maps $\mathcal{D}$ and $\theta$ to a scalar in $\mathbb{R}$. Is it accurate to then say that:

$$ ln(p(\mathcal{D};\theta)) \approx g(\mathcal{D},\theta) $$

$\endgroup$
2
  • $\begingroup$ Can you at least link to your earlier question, and explain what is new here? $\endgroup$ Commented Dec 4, 2020 at 13:35
  • $\begingroup$ Are you referring to this one? If so, the only thing common between them is that they involve gradients. $\endgroup$
    – mhdadk
    Commented Dec 4, 2020 at 13:38

1 Answer 1

2
$\begingroup$

If we integrate this equation from some arbitrary $\theta_0$ to $\theta$, we get: $$\frac{\partial \ln(p(\mathcal{D};\theta))}{\partial \theta} \approx \frac{\partial g(\mathcal{D},\theta)}{\partial \theta}\Rightarrow \ln p(\mathcal D;\theta) - \ln p(\mathcal D;\theta_0) \approx g(\mathcal D,\theta) - g(\mathcal D,\theta_0)$$

If we define $C=\ln p(\mathcal D;\theta_0)-g(\mathcal D,\theta_0)$, we have $\ln p(\mathcal D;\theta)\approx g(\mathcal D,\theta)+C$. That means that $\exp[g(\mathcal D,\theta)]$ is approximately proportional to the likelihood.

This is a very informal discussion, if we want to get more specific here we would need more information about the meaning of "$\approx$". Are the gradients asymptotically equal? Are they close in some region of the parametric space only? Can we describe this approximation in terms of big-O or something like that?

Anyway, I believe it's safe to say that $g(\mathcal D,\theta)$ is an approximation of $\ln p(\mathcal D, \theta)$, up to an additive constante.

$\endgroup$
2
  • $\begingroup$ Thanks a lot for the detailed response! Actually, could you check this question that I asked over at math.SE? I go into much more detail there. I would really appreciate it if you could comment on the reasoning over there. By the way, this is related to the gradient of the log-likelihood for a Restricted Boltzmann Machine. $\endgroup$
    – mhdadk
    Commented Dec 4, 2020 at 15:38
  • 1
    $\begingroup$ @mhdadk I answered on math.SE. I do not know much about Restricted Boltzmann Machines, but I could answer it from a mathematical perspective $\endgroup$
    – PedroSebe
    Commented Dec 4, 2020 at 23:57

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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