GrapeQA: GRaph Augmentation and Pruning to Enhance Question-Answering

22 Mar 2023  ·  Dhaval Taunk, Lakshya Khanna, Pavan Kandru, Vasudeva Varma, Charu Sharma, Makarand Tapaswi ·

Commonsense question-answering (QA) methods combine the power of pre-trained Language Models (LM) with the reasoning provided by Knowledge Graphs (KG). A typical approach collects nodes relevant to the QA pair from a KG to form a Working Graph (WG) followed by reasoning using Graph Neural Networks(GNNs). This faces two major challenges: (i) it is difficult to capture all the information from the QA in the WG, and (ii) the WG contains some irrelevant nodes from the KG. To address these, we propose GrapeQA with two simple improvements on the WG: (i) Prominent Entities for Graph Augmentation identifies relevant text chunks from the QA pair and augments the WG with corresponding latent representations from the LM, and (ii) Context-Aware Node Pruning removes nodes that are less relevant to the QA pair. We evaluate our results on OpenBookQA, CommonsenseQA and MedQA-USMLE and see that GrapeQA shows consistent improvements over its LM + KG predecessor (QA-GNN in particular) and large improvements on OpenBookQA.

PDF Abstract

Results from the Paper


Task Dataset Model Metric Name Metric Value Global Rank Result Benchmark
Common Sense Reasoning CommonsenseQA GrapeQA: PEGA Accuracy 73.5 # 14
Question Answering MedQA GrapeQA: PEGA Accuracy 39.51 # 19
Question Answering OpenBookQA GrapeQA: PEGA+CANP Accuracy 90 # 8
Question Answering OpenBookQA GrapeQA: PEGA Accuracy 82 # 20
Question Answering OpenBookQA GrapeQA: CANP Accuracy 66.2 # 24

Methods