Skip to main content
QUICK REVIEW

[Paper Review] Text Generation from Knowledge Graphs with Graph Transformers

Rik Koncel-Kedziorski, Dhanush Bekal|arXiv (Cornell University)|Apr 4, 2019
Topic ModelingComputer Science31 references45 citations
TL;DR

GraphWriter uses a graph-transformer encoder to generate multi-sentence scientific abstracts from automatically extracted knowledge graphs, outperforming several baselines.

ABSTRACT

Generating texts which express complex ideas spanning multiple sentences requires a structured representation of their content (document plan), but these representations are prohibitively expensive to manually produce. In this work, we address the problem of generating coherent multi-sentence texts from the output of an information extraction system, and in particular a knowledge graph. Graphical knowledge representations are ubiquitous in computing, but pose a significant challenge for text generation techniques due to their non-hierarchical nature, collapsing of long-distance dependencies, and structural variety. We introduce a novel graph transforming encoder which can leverage the relational structure of such knowledge graphs without imposing linearization or hierarchical constraints. Incorporated into an encoder-decoder setup, we provide an end-to-end trainable system for graph-to-text generation that we apply to the domain of scientific text. Automatic and human evaluations show that our technique produces more informative texts which exhibit better document structure than competitive encoder-decoder methods.

Motivation & Objective

  • Motivate generating coherent multi-sentence text from automatically extracted knowledge graphs.
  • Propose a graph-transformer based encoder to better utilize graph structure without linearization.
  • Show end-to-end trainable graph-to-text generation within an encoder-decoder framework.
  • Provide a new dataset (AGENDA) of knowledge graphs paired with scientific abstracts for evaluating graph-to-text systems.

Proposed method

  • Convert knowledge graphs into connected unlabeled graphs while preserving relational information.
  • Encode graphs with a Graph Transformer that uses multi-head self-attention over graph neighborhoods plus global context.
  • Embed vertices (entities and relations) and encode the title with BiRNNs before graph encoding.
  • Decode with an attention-based decoder that uses a copy mechanism to insert graph entities or vocabulary words.
  • Train end-to-end by minimizing negative log-likelihood over the target text and copied entities.

Experimental results

Research questions

  • RQ1Can a graph-transformer encoder effectively exploit the relational structure of knowledge graphs for text generation?
  • RQ2Does incorporating graph structure and global context improve multi-sentence generation over table- or sequence-based encoders?
  • RQ3How does knowledge-graph-to-text generation compare to knowledge-agnostic baselines in terms of informativeness, coherence, and grammar?

Key findings

  • GraphWriter outperforms baselines on automatic metrics (BLEU and METEOR).
  • GraphWriter (14.3 ± 1.01 BLEU, 18.8 ± 0.28 METEOR) surpasses GAT (12.2 ± 0.44 BLEU, 17.2 ± 0.63 METEOR).
  • Knowledge-based GraphWriter and Graph Attention Network variants outperform models using fewer inputs (EntityWriter, Rewriter).
  • Human evaluation shows GraphWriter often preferred to Rewriter and yields better structure and grammar; some abstracts even surpass human authored ones in informativeness under certain criteria.
  • Inference shows 40% of knowledge graph entities are not realized in generated text, indicating coverage gaps to address in future work.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.