Figure 2: The encoder-decoder architecture we used as a base model in this paper.
the memory cell of LSTM networks is suitable for this endeavour, as it is possible for LSTMs to learn functions that, for example, subtract a fixed amount from a particular memory cell every time they output a word.