KagNet: Knowledge-Aware Graph Networks for Commonsense Reasoning

Bill Yuchen Lin, Xinyue Chen, Jamin Chen, Xiang Ren
9/4/2019
cs.CLcs.AI

Official code: INK-USC/KagNet (272 stars, MIT, last commit 2020-07-05).

Abstract

Commonsense reasoning aims to empower machines with the human ability to make presumptions about ordinary situations in our daily life. In this paper, we propose a textual inference framework for answering commonsense questions, which effectively utilizes external, structured commonsense knowledge graphs to perform explainable inferences. The framework first grounds a question-answer pair from the semantic space to the knowledge-based symbolic space as a schema graph, a related sub-graph of external knowledge graphs. It represents schema graphs with a novel knowledge-aware graph network module named KagNet, and finally scores answers with graph representations. Our model is based on graph convolutional networks and LSTMs, with a hierarchical path-based attention mechanism. The intermediate attention scores make it transparent and interpretable, which thus produce trustworthy inferences. Using ConceptNet as the only external resource for Bert-based models, we achieved state-of-the-art performance on the CommonsenseQA, a large-scale dataset for commonsense reasoning.

View on arXivView PDF

Code Implementations(1)

INK-USC/KagNetOfficial100%
MIT

Knowledge-Aware Graph Networks for Commonsense Reasoning (EMNLP-IJCNLP 19)

27254C, C++Sep 5, 20196 years agoMIT
commonsensecommonsense-reasoninggraphneuralnetworknatural-language-processingreasoning

Similar Papers

Cite this paper

@article{lin2019kagnet,
  title  = {KagNet: Knowledge-Aware Graph Networks for Commonsense Reasoning},
  author = {Bill Yuchen Lin and Xinyue Chen and Jamin Chen and Xiang Ren},
  year   = {2019},
  eprint = {1909.02151},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1909.02151}
}

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/1909.02151.svg)](https://codeofpaper.com/paper/1909.02151)

Discussion