Approximations in graphical models