While the model of LenEmb is guided towards the appropriate output length by inputting the remaining length at each step, this LenInit attempts to provide the model with the ability to manage the output length on its own using its inner state.
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.