Skip to main content
QUICK REVIEW

[Paper Review] Knowledge Graph Completion with Pre-trained Multimodal Transformer and Twins Negative Sampling

Yichi Zhang, Wen Zhang|arXiv (Cornell University)|Sep 15, 2022
Advanced Graph Neural NetworksComputer Science7 citations
TL;DR

This paper proposes VBKGC, an embedding-based knowledge graph completion model that leverages VisualBERT to extract deep multimodal features without fine-tuning, enabling fast inference. It introduces twins negative sampling to align structural and multimodal entity embeddings, significantly improving link prediction performance on multimodal KGs, especially on the WN9 dataset where it outperforms existing baselines across all metrics.

ABSTRACT

Knowledge graphs (KGs) that modelings the world knowledge as structural triples are inevitably incomplete. Such problems still exist for multimodal knowledge graphs (MMKGs). Thus, knowledge graph completion (KGC) is of great importance to predict the missing triples in the existing KGs. As for the existing KGC methods, embedding-based methods rely on manual design to leverage multimodal information while finetune-based approaches are not superior to embedding-based methods in link prediction. To address these problems, we propose a VisualBERT-enhanced Knowledge Graph Completion model (VBKGC for short). VBKGC could capture deeply fused multimodal information for entities and integrate them into the KGC model. Besides, we achieve the co-design of the KGC model and negative sampling by designing a new negative sampling strategy called twins negative sampling. Twins negative sampling is suitable for multimodal scenarios and could align different embeddings for entities. We conduct extensive experiments to show the outstanding performance of VBKGC on the link prediction task and make further exploration of VBKGC.

Motivation & Objective

  • To address the limitations of existing knowledge graph completion methods in leveraging multimodal information effectively.
  • To overcome the slow inference speed and suboptimal performance of fine-tuning-based models in multimodal knowledge graph completion.
  • To co-design the model architecture and negative sampling strategy for improved alignment of structural and multimodal embeddings.
  • To develop a universal, end-to-end approach that avoids manual design of feature fusion for multimodal entities.
  • To demonstrate that twins negative sampling enhances performance in multimodal scenarios by aligning different embedding spaces.

Proposed method

  • VBKGC employs VisualBERT as a pre-trained multimodal transformer encoder to extract deeply fused visual-textual features for entities without fine-tuning.
  • The model uses a score function composed of multiple components: $τ_{ss}$, $τ_{mm}$, $τ_{sm}$, and $τ_{ms}$, which capture structural, multimodal, and cross-modal interactions.
  • Twins negative sampling is introduced as a co-designed training strategy that generates negative samples by pairing embeddings from different modalities to improve alignment.
  • The method avoids entity-level negative sampling by focusing on embedding-level alignment, particularly effective in multimodal settings.
  • The model is trained using a margin-based loss function with negative sampling, where twins negative sampling enhances the contrastive learning of multimodal and structural representations.
  • Inference is efficient due to the use of frozen VisualBERT and a lightweight score function, enabling fast prediction comparable to traditional embedding models.

Experimental results

Research questions

  • RQ1Can a pre-trained multimodal transformer like VisualBERT be effectively used to extract unified multimodal representations for entities in knowledge graphs without fine-tuning?
  • RQ2Does co-designing the model with a novel negative sampling strategy improve link prediction performance in multimodal knowledge graph completion?
  • RQ3How does twins negative sampling compare to standard negative sampling in aligning structural and multimodal embeddings across different datasets?
  • RQ4What is the impact of the number of negative samples on the performance of twins negative sampling in different multimodal KG settings?
  • RQ5How does VBKGC balance inference speed and accuracy compared to both embedding-based and fine-tuning-based baselines?

Key findings

  • VBKGC achieves state-of-the-art performance on the WN9 dataset, with MRR of 0.299, Hit@10 of 0.477, Hit@3 of 0.331, and Hit@1 of 0.210, outperforming existing baselines across all metrics.
  • On the FB15K-237 dataset, VBKGC achieves an MRR of 0.299, demonstrating strong generalization despite a smaller performance gain from twins negative sampling at higher negative sample counts.
  • Twins negative sampling significantly improves performance on WN9, where it outperforms normal negative sampling even at low negative sample counts ($k=1$), indicating effective embedding alignment.
  • The ablation study confirms that removing VisualBERT (S1) reduces MRR to 0.226, proving the necessity of deep multimodal feature extraction.
  • The ablation shows that using only the full score function ($τ_{all}$) or multimodal components ($τ_{sm} + τ_{ms}$) yields better results than using only structural or unimodal scores, highlighting the importance of cross-modal interaction.
  • VBKGC achieves fast inference speed, comparable to traditional embedding models like TransE and IKRL, and significantly faster than fine-tuning-based models like KG-BERT and StAR, while maintaining superior accuracy.

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.