Approximate Inference In Graphical Models