Approximate Inference for High-Dimensional Latent Variable Models