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

-ELBO(qt, p) plot #6

Open
gideonite opened this issue Nov 13, 2019 · 4 comments
Open

-ELBO(qt, p) plot #6

gideonite opened this issue Nov 13, 2019 · 4 comments

Comments

@gideonite
Copy link
Collaborator

This would be a proxy for the error of our approximation. We want it to go down.

@lorenzkuhn
Copy link
Collaborator

lorenzkuhn commented Nov 18, 2019

Hey @gideonite, the idea here was to estimate E_{q_t}[log p] after adding each new component to the approximation, correct?

I did that for our bimodal posterior toy example and got the following results. Using six components, we get the following approximation:
approximation

The pink function is the entire resulting approximation, the other functions are the pdfs of the approximation components. The smaller the max of the pdf, the earlier the component was added to the approximation.

Plotting ELBO(q_t, p) after adding each component we get the following:
ELBO(p, q_t)

As expected, we see that E_{q_t}[log p] goes up as the approximation is closer to the true posterior, and goes down, as new components are added that make the approximation worse.

@lorenzkuhn
Copy link
Collaborator

Add -E[log q_t] w.r.t q_t

@lorenzkuhn lorenzkuhn reopened this Nov 20, 2019
@lorenzkuhn
Copy link
Collaborator

Updated my initial comment above with the new plot.

@lorenzkuhn
Copy link
Collaborator

What happens if we use more than 6 components?

@lorenzkuhn lorenzkuhn reopened this Nov 27, 2019
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

No branches or pull requests

2 participants