Dipping PLMs Sauce: Bridging Structure and Text for Effective Knowledge Graph Completion via Conditional Soft Prompting

Chen Chen, Yufei Wang, Aixin Sun, Bing Li, Kwok-Yan Lam
7/4/2023
91 citations
cs.CL

Official code: chenchens190009/CSProm-KG (44 stars, Python, last commit 2023-07-18).

Abstract

Knowledge Graph Completion (KGC) often requires both KG structural and textual information to be effective. Pre-trained Language Models (PLMs) have been used to learn the textual information, usually under the fine-tune paradigm for the KGC task.

Show full abstract

However, the fine-tuned PLMs often overwhelmingly focus on the textual information and overlook structural knowledge. To tackle this issue, this paper proposes CSProm-KG (Conditional Soft Prompts for KGC) which maintains a balance between structural information and textual knowledge. CSProm-KG only tunes the parameters of Conditional Soft Prompts that are generated by the entities and relations representations. We verify the effectiveness of CSProm-KG on three popular static KGC benchmarks WN18RR, FB15K-237 and Wikidata5M, and two temporal KGC benchmarks ICEWS14 and ICEWS05-15. CSProm-KG outperforms competitive baseline models and sets new state-of-the-art on these benchmarks. We conduct further analysis to show (i) the effectiveness of our proposed components, (ii) the efficiency of CSProm-KG, and (iii) the flexibility of CSProm-KG.

View on arXivView PDF

Code Implementations(1)

440PythonMay 22, 20233 years ago

Similar Papers

Cite this paper

@article{chen2023dipping,
  title  = {Dipping PLMs Sauce: Bridging Structure and Text for Effective Knowledge Graph Completion via Conditional Soft Prompting},
  author = {Chen Chen and Yufei Wang and Aixin Sun and Bing Li and Kwok-Yan Lam},
  year   = {2023},
  eprint = {2307.01709},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2307.01709v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2307.01709.svg)](https://codeofpaper.com/paper/2307.01709)

Discussion