HyperAIHyperAI

Command Palette

Search for a command to run...

5 months ago

WikiGraphs: A Wikipedia Text - Knowledge Graph Paired Dataset

Luyu Wang; Yujia Li; Ozlem Aslan; Oriol Vinyals

WikiGraphs: A Wikipedia Text - Knowledge Graph Paired Dataset

Abstract

We present a new dataset of Wikipedia articles each paired with a knowledge graph, to facilitate the research in conditional text generation, graph generation and graph representation learning. Existing graph-text paired datasets typically contain small graphs and short text (1 or few sentences), thus limiting the capabilities of the models that can be learned on the data. Our new dataset WikiGraphs is collected by pairing each Wikipedia article from the established WikiText-103 benchmark (Merity et al., 2016) with a subgraph from the Freebase knowledge graph (Bollacker et al., 2008). This makes it easy to benchmark against other state-of-the-art text generative models that are capable of generating long paragraphs of coherent text. Both the graphs and the text data are of significantly larger scale compared to prior graph-text paired datasets. We present baseline graph neural network and transformer model results on our dataset for 3 tasks: graph -> text generation, graph -> text retrieval and text -> graph retrieval. We show that better conditioning on the graph provides gains in generation and retrieval quality but there is still large room for improvement.

Benchmarks

BenchmarkMethodologyMetrics
kg-to-text-generation-on-wikigraphsGNN
Test perplexity: 26.93
rBLEU (Test): 26.22
rBLEU (Valid): 31.39
rBLEU(w/title)(Test): 28.35
rBLEU(w/title)(Valid): 32.65
kg-to-text-generation-on-wikigraphsUnconditional
Test perplexity: 25.85
rBLEU (Test): 9.98
rBLEU (Valid): 10.97
rBLEU(w/title)(Test): 24.07
rBLEU(w/title)(Valid): 27.98
kg-to-text-generation-on-wikigraphsBoW
Test perplexity: 26.65
rBLEU (Test): 24.41
rBLEU (Valid): 29.53
rBLEU(w/title)(Test): 27.39
rBLEU(w/title)(Valid): 32.41
kg-to-text-generation-on-wikigraphsNodes
Test perplexity: 27.4
rBLEU (Test): 25.31
rBLEU (Valid): 30.51
rBLEU(w/title)(Test): 27.43
rBLEU(w/title)(Valid): 32.60

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
WikiGraphs: A Wikipedia Text - Knowledge Graph Paired Dataset | Papers | HyperAI