Pathformer:面向复杂逻辑查询回答的递归路径查询编码
Pathformer: Recursive Path Query Encoding for Complex Logical Query Answering
AI总结:
针对现有查询嵌入方法忽略未来信息、难以建模带分支复杂逻辑查询的问题,提出基于树形计算图的Pathformer方法,通过分解路径序列并递归编码提升复杂逻辑查询回答性能,且具备非单点空间应用潜力。
摘要:
在不完整知识图谱上进行复杂逻辑查询回答(CLQA)是一项具有挑战性的任务。近年来,研究者提出查询嵌入(QE)方法,通过执行多跳逻辑推理来解决CLQA问题。但大多数此类方法仅考虑历史查询上下文信息,忽略了未来信息,导致其无法捕捉查询元素背后的复杂依赖关系。\n近年来,transformer架构展现出强大的词间长距离依赖建模能力。transformer提出的双向注意力机制可以解决这类QE方法在查询上下文方面的局限,但作为序列模型,transformer难以直接对带有分支结构计算图的复杂逻辑查询进行建模。\n为此,我们基于树形计算图(即查询计算树),提出了一种名为Pathformer的神经单点嵌入方法。具体而言,Pathformer按分支将查询计算树分解为路径查询序列,再利用transformer编码器对这些路径查询序列进行递归编码,得到最终的查询嵌入。这使得Pathformer能够充分利用未来上下文信息,显式建模路径查询各部分之间的复杂交互。\n实验结果表明,Pathformer的性能优于现有具有竞争力的神经QE方法,且我们发现Pathformer具备应用于非单点嵌入空间的潜力。
英文摘要:
Complex Logical Query Answering (CLQA) over incomplete knowledge graphs is a challenging task. Recently, Query Embedding (QE) methods are proposed to solve CLQA by performing multi-hop logical reasoning. However, most of them only consider historical query context information while ignoring future information, which leads to their failure to capture the complex dependencies behind the elements of a query. In recent years, the transformer architecture has shown a strong ability to model long-range dependencies between words. The bidirectional attention mechanism proposed by the transformer can solve the limitation of these QE methods regarding query context. Still, as a sequence model, it is difficult for the transformer to model complex logical queries with branch structure computation graphs directly. To this end, we propose a neural one-point embedding method called Pathformer based on the tree-like computation graph, i.e., query computation tree. Specifically, Pathformer decomposes the query computation tree into path query sequences by branches and then uses the transformer encoder to recursively encode these path query sequences to obtain the final query embedding. This allows Pathformer to fully utilize future context information to explicitly model the complex interactions between various parts of the path query. Experimental results show that Pathformer outperforms existing competitive neural QE methods, and we found that Pathformer has the potential to be applied to non-one-point embedding space.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。