Language Generation with Multi-Hop Reasoning on Commonsense Knowledge Graph

Haozhe Ji, Pei Ke, Shaohan Huang, Furu Wei, Xiaoyan Zhu +1 more
9/24/2020
cs.CL

Official code: haozheji/multigen (132 stars, Python, PyTorch, last commit 2024-02-26).

Abstract

Despite the success of generative pre-trained language models on a series of text generation tasks, they still suffer in cases where reasoning over underlying commonsense knowledge is required during generation. Existing approaches that integrate commonsense knowledge into generative pre-trained language models simply transfer relational knowledge by post-training on individual knowledge triples while ignoring rich connections within the knowledge graph.

Show full abstract

We argue that exploiting both the structural and semantic information of the knowledge graph facilitates commonsense-aware text generation. In this paper, we propose Generation with Multi-Hop Reasoning Flow (GRF) that enables pre-trained models with dynamic multi-hop reasoning on multi-relational paths extracted from the external commonsense knowledge graph. We empirically show that our model outperforms existing baselines on three text generation tasks that require reasoning over commonsense knowledge. We also demonstrate the effectiveness of the dynamic multi-hop reasoning module with reasoning paths inferred by the model that provide rationale to the generation.

View on arXivView PDF

Code Implementations(1)

haozheji/multigenOfficial100%
PyTorch

EMNLP2020 - Language Generation with Multi-hop Reasoning on Commonsense Knowledge Graph

13227PythonSep 16, 20202 years ago
kgnlgpytorch

Similar Papers

Cite this paper

@article{ji2020language,
  title  = {Language Generation with Multi-Hop Reasoning on Commonsense Knowledge Graph},
  author = {Haozhe Ji and Pei Ke and Shaohan Huang and Furu Wei and Xiaoyan Zhu and Minlie Huang},
  year   = {2020},
  eprint = {2009.11692},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2009.11692}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2009.11692.svg)](https://codeofpaper.com/paper/2009.11692)

Discussion