arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2210.14463cs.CL
收藏

Bi-Link:通过Transformers和transformers的对比学习从文本中桥接归纳链接预测

Bi-Link: Bridging Inductive Link Predictions from Text via Contrastive Learning of Transformers and Prompts

Modelbest;Tsinghua University(清华大学);University College London(伦敦大学学院)

Bohua Peng, Shihao Liang, Mobarakol Islam

摘要:

归纳知识图谱完备化要求模型理解关系的底层语义和逻辑模式。随着预训练语言模型的发展,最近的研究已经为链接预测任务设计了Transformers。然而,实证研究表明,线性化三元组会影响关系模式的学习,如反转和对称。在本文中,我们提出了双链接,一个对比学习框架与概率语法提示链接预测。使用语法知识的BERT,我们有效地搜索关系提示,根据学习的语法模式,推广到大型知识图谱。为了更好地表达对称关系,我们设计了一个对称链接预测模型,在前向预测和后向预测之间建立双向链接。这种双向链接在测试时提供灵活的自集成策略。在我们的实验中,Bi-Link在链接预测数据集(WN 18 RR,FB 15 K-237和Wikidata 5 M)上的表现优于最近的基线。此外,我们构造Zeshel-Ind作为一个域内的归纳实体连接的环境,以评估双链接。实验结果表明,我们的方法产生鲁棒的表示,可以推广下域移位。

英文摘要:

Inductive knowledge graph completion requires models to comprehend the underlying semantics and logic patterns of relations. With the advance of pretrained language models, recent research have designed transformers for link prediction tasks. However, empirical studies show that linearizing triples affects the learning of relational patterns, such as inversion and symmetry. In this paper, we propose Bi-Link, a contrastive learning framework with probabilistic syntax prompts for link predictions. Using grammatical knowledge of BERT, we efficiently search for relational prompts according to learnt syntactical patterns that generalize to large knowledge graphs. To better express symmetric relations, we design a symmetric link prediction model, establishing bidirectional linking between forward prediction and backward prediction. This bidirectional linking accommodates flexible self-ensemble strategies at test time. In our experiments, Bi-Link outperforms recent baselines on link prediction datasets (WN18RR, FB15K-237, and Wikidata5M). Furthermore, we construct Zeshel-Ind as an in-domain inductive entity linking the environment to evaluate Bi-Link. The experimental results demonstrate that our method yields robust representations which can generalize under domain shift.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑