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/Relation Prediction as an Auxiliary Training Objective for...

Relation Prediction as an Auxiliary Training Objective for Improving Multi-Relational Graph Representations

Yihong Chen, Pasquale Minervini, Sebastian Riedel, Pontus Stenetorp

2021-10-06AKBC 2021 10Knowledge Graph EmbeddingGraph Representation LearningKnowledge Graph EmbeddingsKnowledge Graph CompletionKnowledge Base CompletionLink Property PredictionRelational ReasoningRelation PredictionLink Prediction
PaperPDFCode(official)

Abstract

Learning good representations on multi-relational graphs is essential to knowledge base completion (KBC). In this paper, we propose a new self-supervised training objective for multi-relational graph representation learning, via simply incorporating relation prediction into the commonly used 1vsAll objective. The new training objective contains not only terms for predicting the subject and object of a given triple, but also a term for predicting the relation type. We analyse how this new objective impacts multi-relational learning in KBC: experiments on a variety of datasets and models show that relation prediction can significantly improve entity ranking, the most widely used evaluation task for KBC, yielding a 6.1% increase in MRR and 9.9% increase in Hits@1 on FB15k-237 as well as a 3.1% increase in MRR and 3.4% in Hits@1 on Aristo-v4. Moreover, we observe that the proposed objective is especially effective on highly multi-relational datasets, i.e. datasets with a large number of predicates, and generates better representations when larger embedding sizes are used.

Results

TaskDatasetMetricValueModel
Link PredictionCoDEx SmallHits@10.375ComplEx-N3-RP
Link PredictionCoDEx SmallHits@100.663ComplEx-N3-RP
Link PredictionCoDEx SmallHits@30.514ComplEx-N3-RP
Link PredictionCoDEx SmallMRR0.473ComplEx-N3-RP
Link PredictionCoDEx MediumHits@10.277ComplEx-N3-RP
Link PredictionCoDEx MediumHits@100.49ComplEx-N3-RP
Link PredictionCoDEx MediumHits@30.386ComplEx-N3-RP
Link PredictionCoDEx MediumMRR0.352ComplEx-N3-RP
Link PredictionAristo-v4Hits@10.24ComplEx-N3-RP
Link PredictionAristo-v4Hits@100.447ComplEx-N3-RP
Link PredictionAristo-v4Hits@30.336ComplEx-N3-RP
Link PredictionAristo-v4MRR0.311ComplEx-N3-RP
Link PredictionWN18RRHits@10.443ComplEx-N3-RP
Link PredictionWN18RRHits@100.578ComplEx-N3-RP
Link PredictionWN18RRHits@30.505ComplEx-N3-RP
Link PredictionWN18RRMRR0.488ComplEx-N3-RP
Link PredictionCoDEx LargeHits@10.277ComplEx-N3-RP
Link PredictionCoDEx LargeHits@100.473ComplEx-N3-RP
Link PredictionCoDEx LargeHits@30.377ComplEx-N3-RP
Link PredictionCoDEx LargeMRR0.345ComplEx-N3-RP
Link PredictionFB15k-237Hits@10.298ComplEx-N3-RP
Link PredictionFB15k-237Hits@100.568ComplEx-N3-RP
Link PredictionFB15k-237Hits@30.424ComplEx-N3-RP
Link PredictionFB15k-237MR163ComplEx-N3-RP
Link PredictionFB15k-237MRR0.389ComplEx-N3-RP
Link PredictionFB15k-237Hits@10.264TuckER-RP
Link PredictionFB15k-237Hits@100.535TuckER-RP
Link PredictionFB15k-237Hits@30.388TuckER-RP
Link PredictionFB15k-237MRR0.354TuckER-RP
Link PredictionFB15k-237Hits@100.55CP-N3-RP
Link PredictionFB15k-237MRR0.366CP-N3-RP
Link Property Predictionogbl-wikikg2Number of params500334800ComplEx-N3-RP (100dim)
Link Property Predictionogbl-wikikg2Test MRR0.6481ComplEx-N3-RP (100dim)
Link Property Predictionogbl-wikikg2Validation MRR0.6701ComplEx-N3-RP (100dim)
Link Property Predictionogbl-wikikg2Number of params250167400ComplEx-N3-RP (50dim)
Link Property Predictionogbl-wikikg2Test MRR0.6364ComplEx-N3-RP (50dim)
Link Property Predictionogbl-wikikg2Validation MRR0.6594ComplEx-N3-RP (50dim)
Link Property Predictionogbl-biokgNumber of params187750000ComplEx-N3-RP
Link Property Predictionogbl-biokgTest MRR0.8494ComplEx-N3-RP
Link Property Predictionogbl-biokgValidation MRR0.8497ComplEx-N3-RP

Related Papers

SMART: Relation-Aware Learning of Geometric Representations for Knowledge Graphs2025-07-17SPADE: Spatial-Aware Denoising Network for Open-vocabulary Panoptic Scene Graph Generation with Long- and Local-range Context Reasoning2025-07-08Topic Modeling and Link-Prediction for Material Property Discovery2025-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-29Permutation Equivariant Neural Controlled Differential Equations for Dynamic Graph Representation Learning2025-06-25Directed Link Prediction using GNN with Local and Global Feature Fusion2025-06-25