Graphical Models, Exponential Families, and Variational Inference