We then employ a novel graph-to-sequence (Graph2Seq) model (Xu et al., 2018), which consists of a graph encoder and a sequence decoder, to learn the representation of the syntactic graph (see §3).
the graph encoder learns the representation of each node by aggregating information from its K-hop neighbors.