In our implementation, we used a uni-directional stacked LSTM architecture with 3 layers, in which we feed the context of the question to the network in a sequential manner.
we preserve the temporal order of the steps of the recipe while feeding it to the neural model, by mimicking the most common reading strategy -reading from top to bottom.