Lune

EMNLP2024Top-tier venue

Improving Knowledge Graph Completion with Structure-Aware Supervised Contrastive Learning

Jiashi Lin, Lifang Wang, Xinyu Lu, Zhongtian Hu, Wei Zhang, Wenxuan Lu

Abstract

Knowledge Graphs (KGs) often suffer from incomplete knowledge, which restricts their utility. Recently, Contrastive Learning (CL) has been introduced to Knowledge Graph Completion (KGC), significantly improving the discriminative capabilities of KGC models and setting new benchmarks in performance. However, existing contrastive methods primarily focus on individual triples, overlooking the broader structural connectivities of KGs. This narrow focus hampers a more comprehensive understanding of the graph's structural knowledge. To address this gap, we propose StructKGC, a novel contrastive learning framework designed to flexibly accommodate the diverse topologies inherent in KGs. We introduce four contrastive tasks tailored to KG data: Vertex-level CL, Neighbor-level CL, Path-level CL, and Relation composition level CL. These tasks are trained synergistically during the fine-tuning of pretrained language models (PLMs), allowing for a more nuanced capture of subgraph semantics. To validate the effectiveness of our method, we perform a comprehensive set of experiments on several real-world datasets. The experimental results demonstrate that our approach achieves SOTA performance under standard supervised and low-resource settings. Furthermore, we observe that the various structure-aware tasks introduced can mutually reinforce each other, resulting in consistent performance enhancements.

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.

3 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

  • On the Theoretical Limitations of Embedding-based Link Prediction cites Composition-based Multi-Relational Graph Convolutional Networks
  • How Sememic Components Can Benefit Link Prediction for Lexico-Semantic Knowledge Graphs? cites Structure-Augmented Text Representation Learning for Efficient Knowledge Graph Completion
  • How Sememic Components Can Benefit Link Prediction for Lexico-Semantic Knowledge Graphs? cites Composition-based Multi-Relational Graph Convolutional Networks
  • SNAPHARD CONTRAST LEARNING cites Hybrid Transformer with Multi-level Fusion for Multimodal Knowledge Graph Completion
  • SNAPHARD CONTRAST LEARNING cites A Simple Framework for Contrastive Learning of Visual Representations
  • Supervised Contrastive Learning 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 papers3

  1. On the Theoretical Limitations of Embedding-based Link PredictionSamy Badreddine, Emile van Krieken, Luciano SerafiniICML 2026
  2. How Sememic Components Can Benefit Link Prediction for Lexico-Semantic Knowledge Graphs?Hansi Wang, Yue Wang, Qiliang Liang, Yang LiuEMNLP 2025
  3. SNAPHARD CONTRAST LEARNINGChangpu Meng, Jie Yang, Wanqing Li, Yi GuoICLR 2026

Builds on12

  1. A Simple Framework for Contrastive Learning of Visual RepresentationsTing Chen, Simon Kornblith, Mohammad Norouzi, Geoffrey E. HintonICML 2020 · 24,064 citations
  2. Supervised Contrastive LearningPrannay Khosla, Piotr Teterwak, Chen Wang, Aaron Sarna et al.NeurIPS 2020 · 7,049 citations
  3. Composition-based Multi-Relational Graph Convolutional NetworksShikhar Vashishth, Soumya Sanyal, Vikram Nitin, Partha P. TalukdarICLR 2020 · 1,105 citations
  4. Structure-Augmented Text Representation Learning for Efficient Knowledge Graph CompletionBo Wang, Tao Shen, Guodong Long, Tianyi Zhou et al.WWW 2021 · 322 citations
  5. Hybrid Transformer with Multi-level Fusion for Multimodal Knowledge Graph CompletionXiang Chen, Ningyu Zhang, Lei Li, Shumin Deng et al.SIGIR 2022 · 227 citations

Related papers

  1. 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
  2. Path-enhanced Pre-trained Language Model for Knowledge Graph CompletionHao Wang, Dandan Song, Zhijing Wu, Yuhang Tian et al.EMNLP Findings 2025
  3. MoCoKGC: Momentum Contrast Entity Encoding for Knowledge Graph CompletionQingyang Li, Yanru Zhong, Yuchu QinEMNLP 2024 · 6 citations
  4. Relation-Aware Multi-Positive Contrastive Knowledge Graph Completion with Embedding Dimension ScalingBin Shang, Yinliang Zhao, Di Wang, Jun LiuSIGIR 2023 · 9 citations
  5. Knowledge Context Modeling with Pre-trained Language Models for Contrastive Knowledge Graph CompletionGuangqian Yang, Yi Liu, Lei Zhang, Licheng Zhang et al.ACL Findings 2024 · 9 citations
Dusk over the sea between two cliffs drawn in fine vertical lines