rejection sampling variational inference
play

Rejection Sampling Variational Inference Karan Grewal CSC2547 / - PowerPoint PPT Presentation

Rejection Sampling Variational Inference Karan Grewal CSC2547 / STA4273 Overview Variational Inference Interested in computing posterior , but it is often intractable parametrize a variational family of distributions to


  1. Rejection Sampling Variational Inference Karan Grewal CSC2547 / STA4273

  2. Overview

  3. Variational Inference • Interested in computing posterior , but it is often intractable • parametrize a variational family of distributions to approximate true posterior • Maximize Evidence Lower Bound (ELBO):

  4. Rejection Sampling • Want to sample from , parametrize a proposal distribution s.t. • Accept sample with probability source: https://people.eecs.berkeley.edu/~jordan/courses/260-spring10/lectures/lecture17.pdf

  5. Reparameterized Rejection Sampler • Problem: what if we want our variational family to follow a distribution that requires rejection sampling to approximate? • Rejection sampling causes discontinuities

  6. Example: Gamma Distribution source: http://www.epixanalytics.com/ • To sample from , sample from and divide by , the acceptance probability is dependent on

  7. Reparameterized Rejection Sampler 1. Reparameterize : 2. Find marginal distribution of accepted sample :

  8. Reparameterized Rejection Sampler 3. Rewrite ELBO:

  9. Related Work • Automatic Differentiation Variational Inference (ADVI) - fit with Gaussian posterior; cannot learn a Gamma or Dirichlet posterior • Black-Box Variational Inference (BBVI) - sample from to approximate gradient • Generalized Reparameterization Gradient (G-REP) - find a distribution that makes dependent on choice of variational family

  10. Results • model = sparse gamma Deep Exponential Family source: https://arxiv.org/pdf/1610.05683.pdf

  11. Future Work • Combining Rejection Sampling Variational Inference with Metropolis-Hastings • Metropolis-Hastings: Acquire a sequence of samples from a distribution that is difficult to sample from directly; use rejection sampling

  12. Supplementary: Gradient Derivation

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend