Skip to main content
QUICK REVIEW

[Paper Review] GreaseLM: Graph REASoning Enhanced Language Models for Question Answering

Xikun Zhang, Antoine Bosselut|arXiv (Cornell University)|Jan 21, 2022
Topic ModelingComputer Science46 citations
TL;DR

GreaseLM jointly fuses pretrained language models with a graph neural network over a knowledge graph through multi-layer modality interactions, enabling bidirectional information flow that improves complex QA across commonsense and medical domains.

ABSTRACT

Answering complex questions about textual narratives requires reasoning over both stated context and the world knowledge that underlies it. However, pretrained language models (LM), the foundation of most modern QA systems, do not robustly represent latent relationships between concepts, which is necessary for reasoning. While knowledge graphs (KG) are often used to augment LMs with structured representations of world knowledge, it remains an open question how to effectively fuse and reason over the KG representations and the language context, which provides situational constraints and nuances. In this work, we propose GreaseLM, a new model that fuses encoded representations from pretrained LMs and graph neural networks over multiple layers of modality interaction operations. Information from both modalities propagates to the other, allowing language context representations to be grounded by structured world knowledge, and allowing linguistic nuances (e.g., negation, hedging) in the context to inform the graph representations of knowledge. Our results on three benchmarks in the commonsense reasoning (i.e., CommonsenseQA, OpenbookQA) and medical question answering (i.e., MedQA-USMLE) domains demonstrate that GreaseLM can more reliably answer questions that require reasoning over both situational constraints and structured knowledge, even outperforming models 8x larger.

Motivation & Objective

  • Motivate robust reasoning for QA by grounding language context in structured world knowledge.
  • Propose a deep, bidirectional fusion mechanism between LM representations and KG representations.
  • Enable modality interactions across multiple layers to reflect nuanced linguistic constraints and knowledge.
  • Demonstrate performance gains over strong LM baselines and prior LM+KG models across diverse QA benchmarks.

Proposed method

  • Use a RoBERTa-/AristoRoBERTa-/SapBERT-initialized LM as the unimodal encoder for input text and a retrieved subgraph of a KG as the KG component.
  • Introduce an interaction bottleneck comprising a special interaction token w_int and an interaction node e_int to enable cross-modal information exchange.
  • Apply a GreaseLM layer that alternates LM encoding blocks and a GNN over KG entities, with a modality interaction (MInt) unit that fuses the two via the interaction bottleneck.
  • Propagate information between text and KG across N LM layers and M GreaseLM layers, allowing KG knowledge to ground language tokens and linguistic nuances to inform KG entities.
  • Infer answers by jointly attending to the mixed interaction representations and pooled KG node representations, optimized with cross-entropy loss.

Experimental results

Research questions

  • RQ1Can a tightly integrated, multi-layer fusion of LM and KG representations improve QA that requires both context-specific constraints and external world knowledge?
  • RQ2Does iterative cross-modal interaction help ground language in knowledge graphs while letting linguistic nuances influence knowledge representations?
  • RQ3Are gains from GreaseLM robust across different base LMs and knowledge graphs and across diverse domains (commonsense and medical)?

Key findings

  • GreaseLM outperforms strong fine-tuned LMs and previous LM+KG models on CommonsenseQA (5.5% relative improvement over fine-tuned LMs; 0.9% over LM+KG baseline QA-GNN).
  • GreaseLM outperforms baselines on OpenBookQA by 6.4% over raw LMs and 2.0% over QA-GNN with comparable parameter counts.
  • On MedQA-USMLE, GreaseLM achieves 38.5% accuracy, higher than SapBERT-Base (without KG) and QA-GNN baselines.
  • Across complex questions with negation and hedging, GreaseLM shows stronger performance than baselines, indicating better handling of textual nuance.
  • Ablation analyses indicate multi-layer cross-modal fusion is more expressive than end-to-end single-vector seeding approaches (e.g., QA-GNN).

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.