This decoding approach closely follows Algorithm SECREF7 , but along with soft back pointers, we also compute hard back pointers at each time step. After computing all the relevant quantities like model score, loss etc., we follow the hard backpointers to obtain the best sequence INLINEFORM0 . 
 Question: Do they compare partially complete sequences (created during steps of beam search) to gold/target sequences?
Yes