At train time we use teacher forcing (Williams and Zipser, 1989) during decoding.
we revert the model back to the correct (training) tree subsequence when it goes off-course, and continue decoding from there.