TasksSotADatasetsPapersMethodsSubmitAbout
Papers With Code 2

A community resource for machine learning research: papers, code, benchmarks, and state-of-the-art results.

Explore

Notable BenchmarksAll SotADatasetsPapersMethods

Community

Submit ResultsAbout

Data sourced from the PWC Archive (CC-BY-SA 4.0). Built by the community, for the community.

Papers/MoCoSA: Momentum Contrast for Knowledge Graph Completion w...

MoCoSA: Momentum Contrast for Knowledge Graph Completion with Structure-Augmented Pre-trained Language Models

Jiabang He, Liu Jia, Lei Wang, Xiyao Li, Xing Xu

2023-08-16Knowledge GraphsEntity EmbeddingsKnowledge Graph CompletionLink Prediction
PaperPDF

Abstract

Knowledge Graph Completion (KGC) aims to conduct reasoning on the facts within knowledge graphs and automatically infer missing links. Existing methods can mainly be categorized into structure-based or description-based. On the one hand, structure-based methods effectively represent relational facts in knowledge graphs using entity embeddings. However, they struggle with semantically rich real-world entities due to limited structural information and fail to generalize to unseen entities. On the other hand, description-based methods leverage pre-trained language models (PLMs) to understand textual information. They exhibit strong robustness towards unseen entities. However, they have difficulty with larger negative sampling and often lag behind structure-based methods. To address these issues, in this paper, we propose Momentum Contrast for knowledge graph completion with Structure-Augmented pre-trained language models (MoCoSA), which allows the PLM to perceive the structural information by the adaptable structure encoder. To improve learning efficiency, we proposed momentum hard negative and intra-relation negative sampling. Experimental results demonstrate that our approach achieves state-of-the-art performance in terms of mean reciprocal rank (MRR), with improvements of 2.5% on WN18RR and 21% on OpenBG500.

Results

TaskDatasetMetricValueModel
Link PredictionOpenBG500Hits@10.531MoCoSA
Link PredictionOpenBG500Hits@100.83MoCoSA
Link PredictionOpenBG500Hits@30.711MoCoSA
Link PredictionOpenBG500MRR0.634MoCoSA
Link PredictionWN18RRHits@10.624MoCoSA
Link PredictionWN18RRHits@100.82MoCoSA
Link PredictionWN18RRHits@30.737MoCoSA
Link PredictionWN18RRMRR0.696MoCoSA
Link PredictionFB15k-237Hits@10.292MoCoSA
Link PredictionFB15k-237Hits@100.578MoCoSA
Link PredictionFB15k-237Hits@30.42MoCoSA
Link PredictionFB15k-237MRR0.387MoCoSA

Related Papers

SMART: Relation-Aware Learning of Geometric Representations for Knowledge Graphs2025-07-17Topic Modeling and Link-Prediction for Material Property Discovery2025-07-08Universal Embeddings of Tabular Data2025-07-08Graph Collaborative Attention Network for Link Prediction in Knowledge Graphs2025-07-05Understanding Generalization in Node and Link Prediction2025-07-01Context-Driven Knowledge Graph Completion with Semantic-Aware Relational Message Passing2025-06-29Active Inference AI Systems for Scientific Discovery2025-06-26Enhancing LLM Tool Use with High-quality Instruction Data from Knowledge Graph2025-06-26