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

Confused about ProbabilisticLoss #31

Open
wzn0828 opened this issue Oct 5, 2023 · 1 comment
Open

Confused about ProbabilisticLoss #31

wzn0828 opened this issue Oct 5, 2023 · 1 comment

Comments

@wzn0828
Copy link

wzn0828 commented Oct 5, 2023

image

In the mile.losses.ProbabilisticLoss, I know the first posterior distribution should close to the N(0,I), but the code may be confusing for me. Like the screenshotthe posterior_log_sigma has been cut off the first element, why is the first element still selected in the line of first_kl ?

@anthonyhu
Copy link
Collaborator

Hello! Empirically, we found that putting no constraint on the first distribution (e.g. making it match a standard normal distribution) slightly improves results. That's why there is no loss on the first posterior distribution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants