The relative entropy is frequently framed as the inverse temperature times the difference between the Helmholtz and variational/Bethe free energies, the latter of which is minimized as a proxy objective function in mean field theory and Bayesian estimation via the well-known expectation maximization algorithm. [MacKay's book][1] is a good reference for this. [1]: http://www.inference.phy.cam.ac.uk/itprnn/book.html