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

Logiformer:一种用于可解释逻辑推理的二分支图Transformer网络

Logiformer: A Two-Branch Graph Transformer Network for Interpretable Logical Reasoning

Xi’an Jiaotong University(西安交通大学);Shaanxi Province Key Laboratory of Satellite and Terrestrial Network Tech. R&D(陕西省卫星与地面网络技术研发重点实验室);National Engineering lab for Big Data Analytics(国家大数据分析工程实验室)

Fangzhi Xu, Jun Liu, Qika Lin, Yudai Pan, Lingling Zhang

摘要:

机器阅读理解由于探索了模型在文本理解中的潜力而受到广泛关注。为了进一步使机器具有推理能力,提出了逻辑推理的挑战性任务。以往的逻辑推理研究从不同的角度提出了一些逻辑单位抽取的策略。然而,仍然存在对逻辑单元之间的长距离依赖性建模的挑战。此外,它要求揭示文本的逻辑结构,并进一步融合离散逻辑的连续文本嵌入。为了解决上述问题,我们提出了一个端到端的模型Logiformer,它利用一个双分支图Transformer网络的文本逻辑推理。首先,我们引入不同的抽取策略,将文本分成两组逻辑单元,分别构造逻辑图和语法图。逻辑图对逻辑分支的因果关系进行建模,而语法图捕获语法分支的同现关系。其次,为了对长距离依赖进行建模,每个图的节点序列被馈送到全连接图Transformer结构中。两个相邻的矩阵被视为图Transformer层的注意力偏差,图层将离散的逻辑结构映射到连续的文本嵌入空间。第三,在答案预测之前引入了动态门机制和问题感知自注意模块来更新特征。推理过程通过使用与人类认知一致的逻辑单位来提供可解释性。实验结果表明,我们的模型的优越性,它优于国家的最先进的单一模型在两个逻辑推理基准。

英文摘要:

Machine reading comprehension has aroused wide concerns, since it explores the potential of model for text understanding. To further equip the machine with the reasoning capability, the challenging task of logical reasoning is proposed. Previous works on logical reasoning have proposed some strategies to extract the logical units from different aspects. However, there still remains a challenge to model the long distance dependency among the logical units. Also, it is demanding to uncover the logical structures of the text and further fuse the discrete logic to the continuous text embedding. To tackle the above issues, we propose an end-to-end model Logiformer which utilizes a two-branch graph transformer network for logical reasoning of text. Firstly, we introduce different extraction strategies to split the text into two sets of logical units, and construct the logical graph and the syntax graph respectively. The logical graph models the causal relations for the logical branch while the syntax graph captures the co-occurrence relations for the syntax branch. Secondly, to model the long distance dependency, the node sequence from each graph is fed into the fully connected graph transformer structures. The two adjacent matrices are viewed as the attention biases for the graph transformer layers, which map the discrete logical structures to the continuous text embedding space. Thirdly, a dynamic gate mechanism and a question-aware self-attention module are introduced before the answer prediction to update the features. The reasoning process provides the interpretability by employing the logical units, which are consistent with human cognition. The experimental results show the superiority of our model, which outperforms the state-of-the-art single model on two logical reasoning benchmarks.

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

↑