Diffusion-based Hierarchical Negative Sampling for Multimodal Knowledge Graph Completion

Guanglin Niu, Xiaowei Zhang
1/26/2025
cs.AIcs.CL

Official code: ngl567/DHNS (19 stars, last commit 2025-02-17).

Abstract

Multimodal Knowledge Graph Completion (MMKGC) aims to address the critical issue of missing knowledge in multimodal knowledge graphs (MMKGs) for their better applications. However, both the previous MMGKC and negative sampling (NS) approaches ignore the employment of multimodal information to generate diverse and high-quality negative triples from various semantic levels and hardness levels, thereby limiting the effectiveness of training MMKGC models. Thus, we propose a novel Diffusion-based Hierarchical Negative Sampling (DHNS) scheme tailored for MMKGC tasks, which tackles the challenge of generating high-quality negative triples by leveraging a Diffusion-based Hierarchical Embedding Generation (DiffHEG) that progressively conditions on entities and relations as well as multimodal semantics. Furthermore, we develop a Negative Triple-Adaptive Training (NTAT) strategy that dynamically adjusts training margins associated with the hardness level of the synthesized negative triples, facilitating a more robust and effective learning procedure to distinguish between positive and negative triples. Extensive experiments on three MMKGC benchmark datasets demonstrate that our framework outperforms several state-of-the-art MMKGC models and negative sampling techniques, illustrating the effectiveness of our DHNS for training MMKGC models. The source codes and datasets of this paper are available at https://github.com/ngl567/DHNS.

View on arXivView PDF

Code Implementations(1)

ngl567/DHNSOfficial100%

DASFAA 2025: Diffusion-based Hierarchical Negative Sampling for Multimodal Knowledge Graph Completion

193C, C++Jan 26, 20251 years ago

Cite this paper

@article{niu2025diffusionbased,
  title  = {Diffusion-based Hierarchical Negative Sampling for Multimodal Knowledge Graph Completion},
  author = {Guanglin Niu and Xiaowei Zhang},
  year   = {2025},
  eprint = {2501.15393},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2501.15393v1}
}

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/2501.15393.svg)](https://codeofpaper.com/paper/2501.15393)

Discussion