Discrete latent variables. has several applications Stochastic Optimization w.