Joint Language Semantic and Structure Embedding for Knowledge Graph Completion

September 19, 2022 ยท Entered Twilight ยท ๐Ÿ› International Conference on Computational Linguistics

๐Ÿ’ค TWILIGHT: Eternal Rest
Repo abandoned since publication

Repo contents: .gitignore, FB13_bert_base.sh, FB13_bert_large.sh, FB13_roberta_base.sh, FB13_roberta_large.sh, FB15k-237_bert_base.sh, FB15k-237_bert_large.sh, FB15k-237_roberta_base.sh, FB15k-237_roberta_large.sh, README.md, WN11_bert_base.sh, WN11_bert_large.sh, WN11_roberta_base.sh, WN11_roberta_large.sh, WN18RR_bert_base.sh, WN18RR_bert_large.sh, WN18RR_roberta_base.sh, WN18RR_roberta_large.sh, data, img, model, requirements.txt, run_link_prediction.py, run_triplet_classification.py, umls_bert_base.sh, umls_bert_large.sh, umls_roberta_base.sh, umls_roberta_large.sh

Authors Jianhao Shen, Chenguang Wang, Linyuan Gong, Dawn Song arXiv ID 2209.08721 Category cs.CL: Computation & Language Cross-listed cs.AI, cs.LG Citations 43 Venue International Conference on Computational Linguistics Repository https://github.com/pkusjh/LASS โญ 53 Last Checked 1 month ago
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.
Community shame:
Not yet rated
Community Contributions

Found the code? Know the venue? Think something is wrong? Let us know!

๐Ÿ“œ Similar Papers

In the same crypt โ€” Computation & Language

๐ŸŒ… ๐ŸŒ… Old Age

Attention Is All You Need

Ashish Vaswani, Noam Shazeer, ... (+6 more)

cs.CL ๐Ÿ› NeurIPS ๐Ÿ“š 166.0K cites 8 years ago