metaprob icon indicating copy to clipboard operation
metaprob copied to clipboard

Variational inference using reverse-mode AD

Open jar600 opened this issue 7 years ago • 4 comments

VKM: "variational inference on a toy Bayesian linear regression example, with a naive mean field [variational] approximation, using reverse-mode AD [on a subset of Metaprob]" (see https://github.com/probcomp/metaprob-clojure/milestones/5 and https://github.com/probcomp/metaprob-clojure/milestone/4 )

jar600 avatar May 21 '18 19:05 jar600

Hoping to get help from @marcoct on #16 #17 #18 and #19 .

jar600 avatar May 21 '18 20:05 jar600

Reverse-mode AD seems to be partially implemented in the metaprob-python source tree: https://github.com/probcomp/metaprob/blob/master/examples/ad/backpropagate.vnts (private, sorry).

I can't tell whether backpropagate.vnts is supposed to work, or whether, if it were to work, it would be the solution to this issue (as opposed to something more specific - the name suggests application to NNs).

jar600 avatar Aug 13 '18 21:08 jar600

AD in Clojure: https://github.com/log0ymxm/clj-auto-diff (this is a port of Jeff Siskind's implementation in Scheme - so as long as the port is faithful, the code ought to be very good!)

jar600 avatar Aug 13 '18 22:08 jar600

Per @jar398, legacy code relating to this issue might be available in the python and converted directories at the legacy tag.

zane avatar Jan 28 '19 21:01 zane