Mode recovery in neural autoregressive sequence modeling