Autoconj: Recognizing and Exploiting Conjugacy Without a Domain-Specific Language

11/29/2018
by   Matthew D. Hoffman, et al.
6

Deriving conditional and marginal distributions using conjugacy relationships can be time consuming and error prone. In this paper, we propose a strategy for automating such derivations. Unlike previous systems which focus on relationships between pairs of random variables, our system (which we call Autoconj) operates directly on Python functions that compute log-joint distribution functions. Autoconj provides support for conjugacy-exploiting algorithms in any Python embedded PPL. This paves the way for accelerating development of novel inference algorithms and structure-exploiting modeling strategies.

READ FULL TEXT

Please sign up or login with your details

Forgot password? Click here to reset