Modality-Aware Negative Sampling for Multi-modal Knowledge Graph Embedding

Yichi Zhang, Mingyang Chen, Wen Zhang
4/23/2023
37 citations
cs.CLcs.AI

Official code: zjukg/MANS (6 stars, Python, PyTorch, last commit 2024-02-10).

Abstract

Negative sampling (NS) is widely used in knowledge graph embedding (KGE), which aims to generate negative triples to make a positive-negative contrast during training. However, existing NS methods are unsuitable when multi-modal information is considered in KGE models.

Show full abstract

They are also inefficient due to their complex design. In this paper, we propose Modality-Aware Negative Sampling (MANS) for multi-modal knowledge graph embedding (MMKGE) to address the mentioned problems. MANS could align structural and visual embeddings for entities in KGs and learn meaningful embeddings to perform better in multi-modal KGE while keeping lightweight and efficient. Empirical results on two benchmarks demonstrate that MANS outperforms existing NS methods. Meanwhile, we make further explorations about MANS to confirm its effectiveness.

View on arXivView PDF

Code Implementations(1)

zjukg/MANSOfficial100%
PyTorch

[Paper][IJCNN2023] Modality-Aware Negative Sampling for Multi-modal Knowledge Graph Embedding

63Python, CApr 17, 20232 years ago
knowledge-graphmutli-modalnegative-samplingpytorch

Similar Papers

Cite this paper

@article{zhang2023modalityaware,
  title  = {Modality-Aware Negative Sampling for Multi-modal Knowledge Graph Embedding},
  author = {Yichi Zhang and Mingyang Chen and Wen Zhang},
  year   = {2023},
  eprint = {2304.11618},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2304.11618v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2304.11618.svg)](https://codeofpaper.com/paper/2304.11618)

Discussion