[Paper Review] JointLK: Joint Reasoning with Language Models and Knowledge Graphs for Commonsense Question Answering
JointLK proposes a joint reasoning framework that dynamically fuses language model (LM) and knowledge graph (KG) representations through dense bidirectional attention, enabling multi-step interaction and recursive pruning of irrelevant KG nodes. It achieves state-of-the-art performance on CommonsenseQA and OpenBookQA by improving reasoning accuracy and interpretability through fine-grained fusion and noise reduction.
Existing KG-augmented models for commonsense question answering primarily focus on designing elaborate Graph Neural Networks (GNNs) to model knowledge graphs (KGs). However, they ignore (i) the effectively fusing and reasoning over question context representations and the KG representations, and (ii) automatically selecting relevant nodes from the noisy KGs during reasoning. In this paper, we propose a novel model, JointLK, which solves the above limitations through the joint reasoning of LM and GNN and the dynamic KGs pruning mechanism. Specifically, JointLK performs joint reasoning between LM and GNN through a novel dense bidirectional attention module, in which each question token attends on KG nodes and each KG node attends on question tokens, and the two modal representations fuse and update mutually by multi-step interactions. Then, the dynamic pruning module uses the attention weights generated by joint reasoning to prune irrelevant KG nodes recursively. We evaluate JointLK on the CommonsenseQA and OpenBookQA datasets, and demonstrate its improvements to the existing LM and LM+KG models, as well as its capability to perform interpretable reasoning.
Motivation & Objective
- To address the limited interaction between language models and knowledge graphs in existing KG-augmented QA models.
- To overcome the challenge of noisy, irrelevant nodes in retrieved knowledge subgraphs during reasoning.
- To enable fine-grained, multi-step fusion of question context and KG representations for improved reasoning.
- To develop a dynamic pruning mechanism that recursively removes irrelevant nodes based on attention weights from joint reasoning.
- To achieve more accurate and interpretable commonsense reasoning in complex QA scenarios, including negation and multi-entity questions.
Proposed method
- JointLK uses a joint reasoning module with dense bidirectional attention that allows each question token to attend on KG nodes and each KG node to attend on question tokens, enabling mutual representation updating.
- The model stacks multiple JointLK layers to support hierarchical, multi-step interactions between language and knowledge representations.
- A dynamic graph pruning module recursively removes KG nodes with low attention weights from the joint reasoning process, reducing noise and focusing on relevant evidence.
- The framework integrates a pre-trained language model for question encoding and a GNN for knowledge graph encoding, followed by cross-modal fusion.
- The attention weights generated during joint reasoning guide both representation refinement and pruning decisions at each layer.
- The final prediction is a scalar plausibility score computed from the fused representations after multi-layer interaction and pruning.
Experimental results
Research questions
- RQ1Can joint reasoning between language models and knowledge graphs improve commonsense question answering beyond isolated modeling of modalities?
- RQ2How can irrelevant nodes in noisy knowledge subgraphs be effectively identified and removed during reasoning to improve model robustness?
- RQ3To what extent does multi-step, bidirectional interaction between question and KG representations enhance reasoning on complex questions with negation or multiple entities?
- RQ4Can the attention mechanisms from joint reasoning provide interpretable evidence paths for model predictions?
- RQ5Does dynamic pruning of KG nodes lead to more accurate and focused reasoning compared to static subgraph modeling?
Key findings
- JointLK achieves state-of-the-art performance on CommonsenseQA and OpenBookQA, outperforming both standalone language models and existing LM+KG methods.
- The model demonstrates superior performance on complex reasoning tasks, including questions with negation and multiple entities, due to deeper cross-modal interaction.
- Dynamic pruning reduces noise in knowledge subgraphs by recursively removing irrelevant nodes based on attention weights, improving reasoning focus.
- The attention maps generated during joint reasoning provide interpretable evidence paths, enhancing model transparency and traceability.
- Error analysis reveals that missing essential knowledge and ambiguous choices are major failure modes, highlighting the need for more complete and context-sensitive knowledge bases.
- The ablation study confirms that both joint reasoning and dynamic pruning are essential components, as removing either leads to significant performance drops.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.