Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A more universal entropy calculation method for sampling based inference #151

Merged
merged 11 commits into from
Feb 23, 2021

Conversation

semihakbayrak
Copy link
Contributor

In the previous implementation of sampling based inference, the free energy calculation was not possible in smoothing tasks unless the hidden states are Gaussian distributed. With this PR, we generalise the entropy calculation to broader range of inference tasks such as smoothing in switching state space models where the forward messages, commute through equality nodes on the most upper chain, are constituted by SampleList. The entropy calculation is carried out by conveying the proposal distribution and integrand information on SampleList messages. When a SampleList message collides with a probability distribution or its pdf, our method updates the integrand. This allows entropy calculation not only for those cases where two probability distribution or pfd messages collide, i.e. m1(x).m2(x), but also for the cases when multiple collisions are required to approximate posteriors, e.g. q(x) \propto m1(x).m2(x).m3(x).m4(x).

…culation method by comparing estimates with an analytical computation.
Copy link
Collaborator

@ThijsvdLaar ThijsvdLaar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks gentlemen, nice work!

@ivan-bocharov ivan-bocharov merged commit d9108d7 into biaslab:master Feb 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants