Unfortunately, even though the entire translation y is available in training, during the inference it is unknown in advance but to be generated sequentially.
when calculating α i , one can make use of the information only from x and y <i but nothing from y i .