VEML: A Plug-and-play Framework for Fusing Text and Structure Knowledge on Sparse Knowledge Graph Completion

Tao He, Tianwen Jiang, Zihao Zheng, Haichao Zhu, Jingrun Zhang, Ming Liu, Sendong Zhao, Bing QinarXiv 2022

TL;DR

This paper introduces VEM²L, a novel plug-and-play framework designed to improve Knowledge Graph Completion (KGC) on sparse knowledge graphs. VEM²L effectively fuses textual and structural knowledge by employing both Mutual Learning (ML) for expressiveness and Variational EM (VEM) for generalization, while also incorporating a dynamic graph densification technique to mitigate sparsity issues.

What Problem Does This Paper Address?

Knowledge Graphs (KGs) are powerful tools for representing information, but they are often incomplete. Knowledge Graph Completion (KGC) aims to fill these gaps by predicting missing links. However, KGs can be very sparse, meaning entities have few connections, which significantly hinders KGC performance. Existing approaches try to address this by either incorporating textual information (like entity descriptions) or by densifying the graph (adding new, potentially noisy, triples). The challenge is that these methods often struggle to effectively integrate structural and textual knowledge or can introduce noise that degrades performance. This paper tackles the problem of KGC on sparse KGs by proposing a unified framework that simultaneously leverages both text and structure, and dynamically densifies the graph while minimizing the impact of noise.

Methods

VEM²L is a "plug-and-play" framework, meaning it can accommodate various pre-trained text-based and structure-based KGC models. The core idea is to have these two types of models learn from each other to fuse their distinct knowledge. This fusion happens in two stages:

  • Expressiveness (Mutual Learning - ML): For observed triples (facts we know), the text-based and structure-based models learn from each other on the training set. This is achieved through a Mutual Learning approach, where each model tries to mimic the output distribution of the other, encouraging them to learn how to best fit the existing data.
  • Generalization (Variational EM - VEM): For unobserved triples (potential missing facts), the framework uses a Variational EM algorithm. This stage focuses on improving the models' ability to generalize to unseen data. A key component here is dynamic graph densification, where the text-based model generates new, plausible triples to enrich the graph. This densification is integrated into the VEM algorithm, which theoretically guarantees an increase in the likelihood function while being less susceptible to noise introduced by the generated triples.

The VEM algorithm involves an E-step (inference and graph densification) and an M-step (learning), iteratively refining both models.

Datasets

The paper evaluates VEM²L on three prevalent KGC benchmarks:

  • ConceptNet-100K (CN-100K): A sparse commonsense KG.
  • WN18RR: A subset of WordNet, known for its relational data.
  • FB15K-237: A standard KG dataset.

To specifically test performance on very sparse graphs, the authors created a new benchmark FB15K-237_20 by retaining only 20% of the triples from FB15K-237, while ensuring entities and relations still participate in at least one triple.

Key Insights and Ideas

  • Dual Fusion Strategy: The paper argues that fusing knowledge for "expressiveness" (fitting training data) and "generalization" (predicting unseen data) requires different approaches. VEM²L's combination of ML and VEM addresses these distinct needs effectively.
  • VEM-guided Graph Densification: Instead of simply adding random or heuristically generated triples, VEM²L integrates graph densification directly into the VEM framework. This allows the process to be guided by the objective of maximizing likelihood, theoretically mitigating the negative impact of noisy triples.
  • Plug-and-Play Universality: The framework's design allows it to work with various underlying KGC models, demonstrating its flexibility and potential for broad applicability.
  • Textual Models Benefit from Structure: Even powerful pre-trained language models (like BERT) can be significantly improved for KGC tasks when they learn to leverage KG structure, especially in sparse settings.

Key Results

  • VEM²L consistently outperforms baseline methods on all tested datasets, showing significant improvements, particularly on the sparse CN-100K dataset. For instance, it achieved +6.375 points in Hits@10 and +5.743 points in MRR compared to independently trained models on CN-100K.
  • The graph densification component is crucial, with experiments showing that ablating it (M=0) leads to a noticeable drop in performance compared to using it (e.g., M=8).
  • Qualitative analysis (case studies) shows that VEM²L can correct wrong predictions and retain semantically relevant entities, even when individual models struggle. For example, in a case study, VEM²L helped a text-based model achieve better rankings by leveraging the structure-based model's predictions.

Limitations and Future Work

  • Noise Sensitivity in WN18RR: The paper notes that the graph densification process, particularly when generating neighbor triples via relation similarity, can be sensitive to noise, especially on datasets like WN18RR where relations have less semantic overlap. This led to weaker improvements on WN18RR compared to other datasets.
  • Future Work: The authors suggest exploring more stable graph densification methods and developing more effective techniques for utilizing structural and textual knowledge.

Summary updated

BibTeX
@misc{he2022veml,
  author = {Tao He and Tianwen Jiang and Zihao Zheng and Haichao Zhu and Jingrun Zhang and Ming Liu and Sendong Zhao and Bing Qin},
  title = {{VEML: A Plug-and-play Framework for Fusing Text and Structure Knowledge on Sparse Knowledge Graph Completion}},
  year = {2022},
  eprint = {2207.01528},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2207.01528},
}
Figure