Skip to content
This repository has been archived by the owner on Aug 18, 2023. It is now read-only.

Log partition function improvements #167

Closed
wants to merge 28 commits into from

Conversation

zaqqwerty
Copy link
Contributor

Adds a default log partition function estimator and derivative estimator.

Part of #140. Estimating the QMHL loss requires estimating the log partition function. Equation C1 in the appendix provides a sample-based approximation to it. Here I implemented this approximation in the base EnergyInference class.

More importantly, estimating the derivative of the QMHL loss requires estimating the derivative of the log partition function. Luckily this quantity is more well behaved than the log partition itself: an estimator is provided in equation C2 of the appendix. This is implemented as the default for the EnergyInference class.

@zaqqwerty zaqqwerty changed the title 140 partition derivative Log partition function improvements Feb 7, 2022
@zaqqwerty
Copy link
Contributor Author

Superceded by #180

@zaqqwerty zaqqwerty closed this Feb 14, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants