Skip to main content
QUICK REVIEW

[Paper Review] Enhancing Multi-Hop Knowledge Graph Reasoning through Reward Shaping Techniques

Chen Li, Haotian Zheng|arXiv (Cornell University)|Mar 9, 2024
Advanced Graph Neural NetworksComputer Science5 citations
TL;DR

The paper investigates reward shaping for reinforcement learning-based multi-hop knowledge graph reasoning, using transfer learning and prompt/BERT-based approaches to improve performance on sparse KGs, evaluated on UMLS.

ABSTRACT

In the realm of computational knowledge representation, Knowledge Graph Reasoning (KG-R) stands at the forefront of facilitating sophisticated inferential capabilities across multifarious domains. The quintessence of this research elucidates the employment of reinforcement learning (RL) strategies, notably the REINFORCE algorithm, to navigate the intricacies inherent in multi-hop KG-R. This investigation critically addresses the prevalent challenges introduced by the inherent incompleteness of Knowledge Graphs (KGs), which frequently results in erroneous inferential outcomes, manifesting as both false negatives and misleading positives. By partitioning the Unified Medical Language System (UMLS) benchmark dataset into rich and sparse subsets, we investigate the efficacy of pre-trained BERT embeddings and Prompt Learning methodologies to refine the reward shaping process. This approach not only enhances the precision of multi-hop KG-R but also sets a new precedent for future research in the field, aiming to improve the robustness and accuracy of knowledge inference within complex KG frameworks. Our work contributes a novel perspective to the discourse on KG reasoning, offering a methodological advancement that aligns with the academic rigor and scholarly aspirations of the Natural journal, promising to invigorate further advancements in the realm of computational knowledge representation.

Motivation & Objective

  • Address incompleteness in knowledge graphs that harms multi-hop KG reasoning.
  • Introduce a Reward Shaper trained via transfer learning from a rich KG to a sparse KG.
  • Explore pre-training with BERT contextualization and prompt learning to enhance reward shaping.

Proposed method

  • Model KG reasoning as an MDP and apply REINFORCE-based reinforcement learning.
  • Introduce Reward Shaping using KG embeddings (ConvE, ComplEx, DistMult) to provide richer rewards.
  • Split the UMLS KG into rich and sparse variants (Split Multi-Hop KG Reasoning) to study transfer learning effects.
  • Pre-train the Reward Shaper on a rich KG and fine-tune on a sparse KG via masking to simulate sparsity.
  • Apply BERT-based contextualization and prompt-learning (T5-based prompts) to compute reward scores for terminal entities.
  • Evaluate with Hits@k and MRR to measure ranking performance of predicted tail entities.
Figure 1: In an incomplete knowledge graph, missing connections, indicated by dashed lines, may be inferred from existing data, represented by solid lines, suggesting a latent relational structure awaiting extrapolation from the established informational framework.
Figure 1: In an incomplete knowledge graph, missing connections, indicated by dashed lines, may be inferred from existing data, represented by solid lines, suggesting a latent relational structure awaiting extrapolation from the established informational framework.

Experimental results

Research questions

  • RQ1Does reward shaping improve RL-based multi-hop KG reasoning on incomplete KGs?
  • RQ2Can transfer learning from a rich KG to a sparse KG improve reward shaping effectiveness?
  • RQ3Which embedding or language-model-based reward shaping methods best generalize to sparse KGs?

Key findings

  • Prompt learning-based reward shaping trained on a rich KG and applied to a sparse KG yields strong performance across most metrics.
  • BERT-based contextualization underperforms compared to prompt-based and ConvE-based reward shaping in sparse KG settings.
  • Reward shaping substantially improves RL-based multi-hop reasoning over baselines, with clear gains on several Hits@k and MRR metrics.
  • Training reward shapers on a sparse KG can outperform training on a rich KG, indicating potential overfitting when using overly rich reward models.
  • The approach demonstrates that leveraging transfer learning and NLP-inspired methods can enhance KG reasoning robustness in incomplete graphs.
Figure 2: Comprehensive framework for enhancing rewards through applying prompt-based learning.
Figure 2: Comprehensive framework for enhancing rewards through applying prompt-based learning.

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.