Variational inference [1]}, [2]} provides an approximation to the posterior distribution by assuming that it has a certain functional form that contain unknown parameters. These unknown parameters are found using optimization, where some distance measure is minimized. We will in this section provide the details enabling the use of variational inference in solving our problem.
