English

QA-GNN: Reasoning with Language Models and Knowledge Graphs for Question Answering

Computation and Language 2022-12-14 v5 Machine Learning

Abstract

The problem of answering questions using knowledge from pre-trained language models (LMs) and knowledge graphs (KGs) presents two challenges: given a QA context (question and answer choice), methods need to (i) identify relevant knowledge from large KGs, and (ii) perform joint reasoning over the QA context and KG. In this work, we propose a new model, QA-GNN, which addresses the above challenges through two key innovations: (i) relevance scoring, where we use LMs to estimate the importance of KG nodes relative to the given QA context, and (ii) joint reasoning, where we connect the QA context and KG to form a joint graph, and mutually update their representations through graph neural networks. We evaluate our model on QA benchmarks in the commonsense (CommonsenseQA, OpenBookQA) and biomedical (MedQA-USMLE) domains. QA-GNN outperforms existing LM and LM+KG models, and exhibits capabilities to perform interpretable and structured reasoning, e.g., correctly handling negation in questions.

Keywords

Cite

@article{arxiv.2104.06378,
  title  = {QA-GNN: Reasoning with Language Models and Knowledge Graphs for Question Answering},
  author = {Michihiro Yasunaga and Hongyu Ren and Antoine Bosselut and Percy Liang and Jure Leskovec},
  journal= {arXiv preprint arXiv:2104.06378},
  year   = {2022}
}

Comments

NAACL 2021. Code & data available at https://github.com/michiyasunaga/qagnn

R2 v1 2026-06-24T01:07:59.708Z