用连接偏置注意力替代路径以完成知识图谱补全
Replacing Paths with Connection-Biased Attention for Knowledge Graph Completion
AI总结:
本文提出CBLiP模型,通过连接偏置注意力和实体角色嵌入替代路径编码模块,在归纳式知识图谱补全中实现更快且具有竞争力或更优的链接预测性能。
摘要:
知识图谱(KG)补全旨在识别可从KG中已有事实推断出的额外事实。该领域近期的发展已在归纳式设定下探索这一任务,即在测试时会出现训练期间未见过的实体;归纳式设定下性能最优的模型除了标准子图编码模块外,还采用了路径编码模块。本研究同样关注归纳式设定下的KG补全,但不显式使用路径编码,因为路径编码可能耗时较长,并引入若干需要昂贵超参数优化的超参数。我们的方法仅使用基于Transformer的子图编码模块;我们在子图编码模块中引入连接偏置注意力(connection-biased attention)和实体角色嵌入(entity role embeddings),从而消除对昂贵且耗时的路径编码模块的需求。在标准归纳式KG补全基准数据集上的评估表明,我们的连接偏置链接预测(CBLiP)模型优于不使用路径信息的模型。与利用路径信息的模型相比,CBLiP在速度更快的同时表现出具有竞争力或更优的性能。此外,为了证明连接偏置注意力和实体角色嵌入的有效性在直推式设定下同样成立,我们比较了CBLiP在直推式设定下关系预测任务上的性能。
英文摘要:
Knowledge graph (KG) completion aims to identify additional facts that can be inferred from the existing facts in the KG. Recent developments in this field have explored this task in the inductive setting, where at test time one sees entities that were not present during training; the most performant models in the inductive setting have employed path encoding modules in addition to standard subgraph encoding modules. This work similarly focuses on KG completion in the inductive setting, without the explicit use of path encodings, which can be time-consuming and introduces several hyperparameters that require costly hyperparameter optimization. Our approach uses a Transformer-based subgraph encoding module only; we introduce connection-biased attention and entity role embeddings into the subgraph encoding module to eliminate the need for an expensive and time-consuming path encoding module. Evaluations on standard inductive KG completion benchmark datasets demonstrate that our \textbf{C}onnection-\textbf{B}iased \textbf{Li}nk \textbf{P}rediction (CBLiP) model has superior performance to models that do not use path information. Compared to models that utilize path information, CBLiP shows competitive or superior performance while being faster. Additionally, to show that the effectiveness of connection-biased attention and entity role embeddings also holds in the transductive setting, we compare CBLiP's performance on the relation prediction task in the transductive setting.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。