text: [[ Borrowing techniques ]] from the literature on training << deep generative models >> , we present the Wake-Sleep Recurrent Attention Model , a method for training stochastic attention networks which improves posterior inference and which reduces the variability in the stochastic gradients .