Forward Inferences in Text Generation