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

Error in the estimation of NLL in SGVB #85

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

chrwolf
Copy link

@chrwolf chrwolf commented Dec 7, 2015

Summation of the samples within the batch (i.e. different data samples, NOT samples drawn from the recognition model) is performed too early: Currently inside the logsumexp, but it should be outside, because one wants to calculate the average nll over the batch, so first one has to estimate the nll for each element in the batch (done in the logsumexp) and the compute the average of these. It can be shown, that the current breze version yields a strictly greater nll than the real estimate.

…s, NOT samples drawn from the recognition model) is performed too early: Currently inside the logsumexp, but it should be outside, because one wants to calculate the average nll over the batch, so first one has to estimate the nll for each element in the batch (done in the logsumexp) and the compute the average of these. It can be shown, that the current breze version yields a strictly greater nll than the real estimate.
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.

2 participants