HyperAIHyperAI

Command Palette

Search for a command to run...

5 months ago

Modeling Global and Local Node Contexts for Text Generation from Knowledge Graphs

Leonardo F. R. Ribeiro; Yue Zhang; Claire Gardent; Iryna Gurevych

Modeling Global and Local Node Contexts for Text Generation from Knowledge Graphs

Abstract

Recent graph-to-text models generate text from graph-based data using either global or local aggregation to learn node representations. Global node encoding allows explicit communication between two distant nodes, thereby neglecting graph topology as all nodes are directly connected. In contrast, local node encoding considers the relations between neighbor nodes capturing the graph structure, but it can fail to capture long-range relations. In this work, we gather both encoding strategies, proposing novel neural models which encode an input graph combining both global and local node contexts, in order to learn better contextualized node embeddings. In our experiments, we demonstrate that our approaches lead to significant improvements on two graph-to-text datasets achieving BLEU scores of 18.01 on AGENDA dataset, and 63.69 on the WebNLG dataset for seen categories, outperforming state-of-the-art models by 3.7 and 3.1 points, respectively.

Code Repositories

UKPLab/kg2text
Official
pytorch
Mentioned in GitHub

Benchmarks

BenchmarkMethodologyMetrics
data-to-text-generation-on-webnlgCGE-LW (Levi Graph)
BLEU: 63.69
graph-to-sequence-on-webnlgCGE-LW
BLEU: 63.69
kg-to-text-generation-on-agendaCGE-LW
BLEU: 18.01

Build AI with AI

From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.

AI Co-coding
Ready-to-use GPUs
Best Pricing
Get Started

Hyper Newsletters

Subscribe to our latest updates
We will deliver the latest updates of the week to your inbox at nine o'clock every Monday morning
Powered by MailChimp
Modeling Global and Local Node Contexts for Text Generation from Knowledge Graphs | Papers | HyperAI