Swift and sure: hardness-aware contrastive learning for low-dimensional knowledge graph embeddings

Kai Wang*, Yu Liu, Quan Z. Sheng

*Corresponding author for this work

Research output: Chapter in Book/Report/Conference proceedingConference proceeding contributionpeer-review

9 Citations (Scopus)

Abstract

Knowledge graph embedding (KGE) has shown great potential in automatic knowledge graph (KG) completion and knowledge-driven tasks. However, recent KGE models suffer from high training cost and large storage space, thus limiting their practicality in real-world applications. To address this challenge, based on the latest findings in the field of Contrastive Learning, we propose a novel KGE training framework called Hardness-aware Low-dimensional Embedding (HaLE). Instead of the traditional Negative Sampling, we design a new loss function based on query sampling that can balance two important training targets, Alignment and Uniformity. Furthermore, we analyze the hardness-aware ability of recent low-dimensional hyperbolic models and propose a lightweight hardness-aware activation mechanism, which can help the KGE models focus on hard instances and speed up convergence. The experimental results show that in the limited training time, HaLE can effectively improve the performance and training speed of KGE models on five commonly-used datasets. After training just a few minutes, the HaLE-trained models are competitive compared to the state-of-the-art models in both low- and high-dimensional conditions.

Original languageEnglish
Title of host publicationWWW 2022 - Proceedings of the ACM Web Conference 2022
Place of PublicationNew York, NY
PublisherAssociation for Computing Machinery
Pages838-849
Number of pages12
ISBN (Electronic)9781450390965
DOIs
Publication statusPublished - 2022
Event31st ACM World Wide Web Conference, WWW 2022 - Virtual, Lyon, France
Duration: 25 Apr 202229 Apr 2022

Conference

Conference31st ACM World Wide Web Conference, WWW 2022
Abbreviated titleWWW’22
Country/TerritoryFrance
CityLyon
Period25/04/2229/04/22

Keywords

  • Contrastive Learning
  • Knowledge Graph
  • Knowledge Graph Embedding
  • Link Prediction

Fingerprint

Dive into the research topics of 'Swift and sure: hardness-aware contrastive learning for low-dimensional knowledge graph embeddings'. Together they form a unique fingerprint.

Cite this