English

Relational Memory Augmented Language Models

Computation and Language 2022-01-25 v1 Artificial Intelligence

Abstract

We present a memory-augmented approach to condition an autoregressive language model on a knowledge graph. We represent the graph as a collection of relation triples and retrieve relevant relations for a given context to improve text generation. Experiments on WikiText-103, WMT19, and enwik8 English datasets demonstrate that our approach produces a better language model in terms of perplexity and bits per character. We also show that relational memory improves coherence, is complementary to token-based memory, and enables causal interventions. Our model provides a simple yet effective way to combine an autoregressive language model with a knowledge graph for a more coherent and logical generation.

Keywords

Cite

@article{arxiv.2201.09680,
  title  = {Relational Memory Augmented Language Models},
  author = {Qi Liu and Dani Yogatama and Phil Blunsom},
  journal= {arXiv preprint arXiv:2201.09680},
  year   = {2022}
}

Comments

Accepted to TACL, pre MIT Press publication version

R2 v1 2026-06-24T09:00:13.197Z