Skip to main content
QUICK REVIEW

[论文解读] Joint Language Semantic and Structure Embedding for Knowledge Graph Completion

Jianhao Shen, Chenguang Wang|arXiv (Cornell University)|Sep 19, 2022
Topic ModelingComputer Science被引用 22
一句话总结

LaSS 通过对预训练语言模型进行带有概率结构化损失的微调,联合嵌入语义描述与知识图谱结构,在 KG 完成和数据效率方面达到最新水平,包括低资源设置。

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.

研究动机与目标

  • Motivate KG completion by leveraging both structural patterns and semantic descriptions of entities and relations.
  • Propose a unified embedding framework (LaSS) that combines semantic embedding from language models with a probabilistic structured loss for structural reconstruction.
  • Demonstrate state-of-the-art performance on multiple KG benchmarks for link prediction and triplet classification.
  • Show improved data efficiency in low-resource settings by exploiting semantic information.
  • Provide analysis and discussion of limitations and future directions in integrating semantics and structure.

提出的方法

  • Represent (h, r, t) triplets by concatenating natural language descriptions of h, r, and t and forwarding through a pre-trained LM to obtain semantic embeddings via mean pooling.
  • Define a probabilistic structured loss based on a TransE-like score f(h,r,t)=b−0.5||h+r−t||^2 and compute Pr(h|r,t), Pr(r|h,t), Pr(t|h,r) with negative sampling to train the LM.
  • Fine-tune LMs (BERT and RoBERTa variants) on the KG data with this structured loss, creating joint semantic and structure embeddings.
  • Use negative sampling to approximate the partition function in the probabilistic loss to maintain computational efficiency.
  • Query-dependent embeddings (via LM outputs) maintain semantic consistency while the structured loss guides structural reconstruction.
  • Evaluate on KG benchmarks including FB15k-237, FB13, WN18RR, WN11, and UMLS across link prediction and triplet classification.]
  • research_questions:[
  • Can a single framework that fuses semantic descriptions with KG structure improve KG completion tasks beyond purely structural or purely semantic models?
  • Does fine-tuning language models with a probabilistic structured loss enable effective joint embedding of semantics and structure for link prediction and triplet classification?
  • How does LaSS perform in low-resource data regimes compared to existing KG completion methods?
  • What is the impact of using different pre-trained language models (BERT vs RoBERTa) and model sizes on KG completion performance?

实验结果

研究问题

  • RQ1Can a single framework that fuses semantic descriptions with KG structure improve KG completion tasks beyond purely structural or purely semantic models?
  • RQ2Does fine-tuning language models with a probabilistic structured loss enable effective joint embedding of semantics and structure for link prediction and triplet classification?
  • RQ3How does LaSS perform in low-resource data regimes compared to existing KG completion methods?
  • RQ4What is the impact of using different pre-trained language models (BERT vs RoBERTa) and model sizes on KG completion performance?

主要发现

  • LaSS achieves state-of-the-art results on several KG benchmarks for link prediction and triplet classification.
  • LaSS demonstrates improved data efficiency, performing well in low-resource settings and often surpassing methods trained on full data with much less labeled data.
  • LaSS variants using larger models (LaSS-BERT LARGE, LaSS-RoBERTa LARGE) generally outperform smaller counterparts, especially on WordNet-based tasks.
  • LaSS outperforms KG-BERT and traditional structure-only methods by leveraging both semantic descriptions and structural cues, particularly in preserving semantic consistency while reconstructing KG structures.
  • The analysis shows LaSS captures semantic relatedness and structural patterns via its attention mechanisms and structured loss, contributing to improved predictions.

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。