Lune

WWW2023Top-tier venue

KRACL: Contrastive Learning with Graph Context Modeling for Sparse Knowledge Graph Completion

Zhaoxuan Tan, Zilong Chen, Shangbin Feng, Qingyue Zhang, Qinghua Zheng, Jundong Li, Minnan Luo

Abstract

Knowledge Graph Embeddings (KGE) aim to map entities and relations to low dimensional spaces and have become the de-facto standard for knowledge graph completion. Most existing KGE methods suffer from the sparsity challenge, where it is harder to predict entities that appear less frequently in knowledge graphs. In this work, we propose a novel framework KRACL 1 to alleviate the widespread sparsity in KGs with graph context and contrastive learning. Firstly, we propose the Knowledge Relational Attention Network (KRAT) to leverage the graph context by simultaneously projecting neighboring triples to different latent spaces and jointly aggregating messages with the attention mechanism. KRAT is capable of capturing the subtle semantic information and importance of different context triples as well as leveraging multi-hop information in knowledge graphs. Secondly, we propose the knowledge contrastive loss by combining the contrastive loss with cross entropy loss, which introduces more negative samples and thus enriches the feedback to sparse entities. Our experiments demonstrate that KRACL achieves superior results across various standard knowledge graph benchmarks, especially on WN18RR and NELL-995 which have large numbers of low in-degree entities. Extensive experiments also bear out KRACL's effectiveness in handling sparse knowledge graphs and robustness against noisy triples.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

11 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • HaSa: Hardness and Structure-Aware Contrastive Knowledge Graph Embedding cites A Simple Framework for Contrastive Learning of Visual Representations
  • HaSa: Hardness and Structure-Aware Contrastive Knowledge Graph Embedding cites SimCSE: Simple Contrastive Learning of Sentence Embeddings
  • Subgraph-Aware Training of Language Models for Knowledge Graph Completion Using Structure-Aware Contrastive Learning cites HaSa: Hardness and Structure-Aware Contrastive Knowledge Graph Embedding
  • Subgraph-Aware Training of Language Models for Knowledge Graph Completion Using Structure-Aware Contrastive Learning cites SimCSE: Simple Contrastive Learning of Sentence Embeddings
  • SimCSE: Simple Contrastive Learning of Sentence Embeddings cites A Simple Framework for Contrastive Learning of Visual Representations
  • Contrast then Memorize: Semantic Neighbor Retrieval-Enhanced Inductive Multimodal Knowledge Graph Completion cites Learning Transferable Visual Models From Natural Language Supervision
  • Learning Transferable Visual Models From Natural Language Supervision cites A Simple Framework for Contrastive Learning of Visual Representations
  • Graph Contrastive Learning with Augmentations cites A Simple Framework for Contrastive Learning of Visual Representations
  • Graph Contrastive Learning with Adaptive Augmentation cites A Simple Framework for Contrastive Learning of Visual Representations
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers11

  1. Customized Subgraph Selection and Encoding for Drug-drug Interaction PredictionHaotong Du, Quanming Yao, Juzheng Zhang, Yang Liu et al.NeurIPS 2024 · 23 citations
  2. Contrast then Memorize: Semantic Neighbor Retrieval-Enhanced Inductive Multimodal Knowledge Graph CompletionYu Zhao, Ying Zhang, Baohang Zhou, Xinying Qian et al.SIGIR 2024 · 15 citations
  3. HaSa: Hardness and Structure-Aware Contrastive Knowledge Graph EmbeddingHonggen Zhang, June Zhang, Igor MolybogWWW 2024 · 13 citations
  4. Subgraph-Aware Training of Language Models for Knowledge Graph Completion Using Structure-Aware Contrastive LearningYoumin Ko, Hyemin Yang, Taeuk Kim, Hyunjoon KimWWW 2025 · 10 citations
  5. Tackling Sparse Facts for Temporal Knowledge Graph CompletionYuchao Zhang, Xiangjie Kong, Kailun Ye, Guojiang Shen et al.WWW 2025 · 8 citations

Builds on36

  1. Learning Transferable Visual Models From Natural Language SupervisionAlec Radford, Jong Wook Kim, Chris Hallacy, Aditya Ramesh et al.ICML 2021 · 47,906 citations
  2. A Simple Framework for Contrastive Learning of Visual RepresentationsTing Chen, Simon Kornblith, Mohammad Norouzi, Geoffrey E. HintonICML 2020 · 24,064 citations
  3. Graph Contrastive Learning with AugmentationsYuning You, Tianlong Chen, Yongduo Sui, Ting Chen et al.NeurIPS 2020 · 3,042 citations
  4. SimCSE: Simple Contrastive Learning of Sentence EmbeddingsTianyu Gao, Xingcheng Yao, Danqi ChenEMNLP 2021 · 2,496 citations
  5. Graph Contrastive Learning with Adaptive AugmentationYanqiao Zhu, Yichen Xu, Feng Yu, Qiang Liu et al.WWW 2021 · 1,415 citations

Related papers

  1. Relation-Aware Multi-Positive Contrastive Knowledge Graph Completion with Embedding Dimension ScalingBin Shang, Yinliang Zhao, Di Wang, Jun LiuSIGIR 2023 · 9 citations
  2. HyperCL: A Contrastive Learning Framework for Hyper-Relational Knowledge Graph Embedding with Hierarchical OntologyYuhuan Lu, Weijian Yu, Xin Jing, Dingqi YangACL Findings 2024 · 7 citations
  3. SMiLE: Schema-augmented Multi-level Contrastive Learning for Knowledge Graph Link PredictionMiao Peng, Ben Liu, Qianqian Xie, Wenjie Xu et al.EMNLP Findings 2022 · 9 citations
  4. Knowledge Representation Learning with Contrastive Completion CodingBo Ouyang, Wenbing Huang, Runfa Chen, Zhixing Tan et al.EMNLP Findings 2021 · 8 citations
  5. SaCa: A Highly Compatible Reinforcing Framework for Knowledge Graph Embedding via Structural Pattern ContrastJiashi Lin, Changhong Jiang, Yixiao Wang, Xinyi Zhu et al.EMNLP Findings 2025 · 1 citation
Dusk over the sea between two cliffs drawn in fine vertical lines