text: << Stochastic attention-based models >> have been shown to improve [[ computational efficiency ]] at test time , but they remain difficult to train because of intractable posterior inference and high variance in the stochastic gradient estimates .