HyperAIHyperAI

Command Palette

Search for a command to run...

3 months ago

Joint Language Semantic and Structure Embedding for Knowledge Graph Completion

Jianhao Shen Chenguang Wang Linyuan Gong Dawn Song

Joint Language Semantic and Structure Embedding for Knowledge Graph Completion

Abstract

The task of completing knowledge triplets has broad downstream applications. Both structural and semantic information plays an important role in knowledge graph completion. Unlike previous approaches that rely on either the structures or semantics of the knowledge graphs, we propose to jointly embed the semantics in the natural language description of the knowledge triplets with their structure information. Our method embeds knowledge graphs for the completion task via fine-tuning pre-trained language models with respect to a probabilistic structured loss, where the forward pass of the language models captures semantics and the loss reconstructs structures. Our extensive experiments on a variety of knowledge graph benchmarks have demonstrated the state-of-the-art performance of our method. We also show that our method can significantly improve the performance in a low-resource regime, thanks to the better use of semantics. The code and datasets are available at https://github.com/pkusjh/LASS.

Code Repositories

pkusjh/lass
Official
pytorch
Mentioned in GitHub

Benchmarks

BenchmarkMethodologyMetrics
link-prediction-on-fb15k-237LASS
Hits@10: 0.533
MR: 108
link-prediction-on-umlsLASS
Hits@10: 0.994
MR: 1.39
link-prediction-on-wn18rrLASS
Hits@10: 0.786
MR: 35

Build AI with AI

From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.

AI Co-coding
Ready-to-use GPUs
Best Pricing
Get Started

Hyper Newsletters

Subscribe to our latest updates
We will deliver the latest updates of the week to your inbox at nine o'clock every Monday morning
Powered by MailChimp
Joint Language Semantic and Structure Embedding for Knowledge Graph Completion | Papers | HyperAI