The decoder is an RNN which predicts the next token y i given all the previous words y <i = y 1 , ..., y i−1 , the RNN hidden state s i for time-step i and the context vector c i that captures the attention of the encoder side.
the context vector c i depends on a set of node representations (h 1 ,...,h V ) to which the encoder maps the input graph.