# 18 Confronting the Partition Function

$\nabla_\theta \log p(x;\theta) = \nabla_\theta \log \tilde{p}(x;\theta) - \nabla_\theta \log Z(\theta).$

For most undirected models of interest, the negative phase is difficult.