Reproduce “Conjugate-Computation Variational Inference : Converting Variational Inference in Non-Conjugate Models to Inferences in Conjugate Models” on OpenResearch

Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Mohammad Emtiyaz Khan, Wu Lin

Researchers from RIKEN AIP developed Conjugate-computation Variational Inference (CVI), an algorithm that significantly enhances the efficiency and scalability of variational inference in probabilistic models containing both conjugate and non-conjugate terms. CVI achieves faster convergence and comparable accuracy to state-of-the-art methods by combining the computational efficiency of conjugate updates with the generality of stochastic gradients, notably speeding up inference in models like Gaussian Process classification and deep exponential families.

Key insights

  • By performing stochastic mirror-descent in the mean-parameter space, CVI can interpret each update step as solving a conjugate inference problem, leveraging existing conjugate structures.
  • The method cleanly separates the model into conjugate and non-conjugate components, applying precise conjugate computations where possible and robust stochastic gradients only where necessary, improving overall efficiency.
  • CVI generalizes several established VI algorithms, including Variational Message Passing (VMP) and Stochastic Variational Inference (SVI), providing a unified framework for both conjugate and non-conjugate settings.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.