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

Feature Request: Automatic Differentiation Variational Inference (ADVI) #42

Closed
matthew-mcateer opened this issue May 16, 2018 · 2 comments
Assignees

Comments

@matthew-mcateer
Copy link
Contributor

I've seen both MCMC and NUTS being initialized with a mean taken from ADVI. This was at one point a feature in Pymc. Thus far I have not seen anything resembling this in either the tf.vi section, or tensorflow_probability as a whole. It would be an awesome feature.

@jvdillon
Copy link
Member

Hi Matthew. Thanks for your comment. This is a very good idea. Im currently spec-ing out how to make these hybridizations more ergonomic. Ill share my design doc with you after discussing it with my team.

@jvdillon jvdillon self-assigned this May 19, 2018
@srvasude
Copy link
Member

I'm going to close this bug. ADVI exists in a form insomuchas we have fit_surrogate_posterior which allows fitting a surrogate to a unnormalized density: https://github.com/tensorflow/probability/blob/main/tensorflow_probability/python/vi/optimization.py#L29

https://www.tensorflow.org/probability/api_docs/python/tfp/experimental/vi/build_factored_surrogate_posterior

lets you create your surrogate model in arbitrary ways.

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

3 participants