Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

Modeling Graph Structure via Relative Position for Text Generation from Knowledge Graphs

About

We present Graformer, a novel Transformer-based encoder-decoder architecture for graph-to-text generation. With our novel graph self-attention, the encoding of a node relies on all nodes in the input graph - not only direct neighbors - facilitating the detection of global patterns. We represent the relation between two nodes as the length of the shortest path between them. Graformer learns to weight these node-node relations differently for different attention heads, thus virtually learning differently connected views of the input graph. We evaluate Graformer on two popular graph-to-text generation benchmarks, AGENDA and WebNLG, where it achieves strong performance while using many fewer parameters than other approaches.

Martin Schmitt, Leonardo F. R. Ribeiro, Philipp Dufter, Iryna Gurevych, Hinrich Sch\"utze• 2020

Related benchmarks

TaskDatasetResultRank
KG-to-text generationAGENDA (test)
CHRF++45.43
19
Text GenerationWebNLG seen categories (test)
BLEU61.15
18
Graph-to-text generationAGENDA (test)
BLEU17.33
15
Graph-to-text generationWebNLG seen v1.0 (test)
BLEU59.39
12
KGs-to-text generationAGENDA
BLEU17.33
5
Showing 5 of 5 rows

Other info

Code

Follow for update