arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2101.06423cs.CLcs.IR
收藏

Match-Ignition:在Transformer中插入PageRank实现长格式文本匹配

Match-Ignition: Plugging PageRank into Transformer for Long-form Text Matching

Data Intelligence System Research Center, Institute of Computing Technology, Chinese Academy of Sciences(中国科学院计算技术研究所数据智能系统研究中心);Institute for AI Industry Research, Tsinghua University(清华大学人工智能产业研究院);CAS Key Lab of Network Data Science and Technology, Institute of Computing Technology, Chinese Academy of Sciences(中国科学院计算技术研究所网络数据科学与技术重点实验室)

Liang Pang, Yanyan Lan, Xueqi Cheng

摘要:

神经网络文本匹配模型在社区问答、信息检索、对话等领域有着广泛的应用。然而,这些针对短文本设计的模型并不能很好地解决长文本匹配问题,因为长文本中有很多上下文无法直接相互对齐,现有模型很难从这样的噪声数据中捕捉关键的匹配信号。此外,这些模型是计算昂贵的简单地使用所有的文本数据不加区别。为了解决有效性和效率问题,我们提出了一种新的分层噪声滤波模型,即匹配点火。其主要思想是将著名的PageRank算法插入到Transformer中,在匹配过程中识别和过滤句子和单词级别的噪声信息。噪声句子通常很容易检测,因为以前的工作已经表明,它们的相似性可以显式地通过单词重叠来评估,所以我们直接使用PageRank来过滤基于句子相似度图的信息。与句子不同的是,词依赖于上下文来表达具体的意义,因此我们提出联合学习过滤和匹配过程,以更好地捕捉关键的词级匹配信号。具体来说,首先基于Transformer的每个自注意力块中的注意力分数构建词图,然后通过在该图上应用PageRank来选择关键词。这样,在匹配过程中,噪声词将被逐层过滤掉。实验结果表明,Match-Ignition的性能优于SOTA短文本匹配模型和最近的长文本匹配模型。我们还进行了详细的分析,以表明匹配点火有效地捕捉重要的句子和单词,以促进长形式的文本匹配过程。

英文摘要:

Neural text matching models have been widely used in community question answering, information retrieval, and dialogue. However, these models designed for short texts cannot well address the long-form text matching problem, because there are many contexts in long-form texts can not be directly aligned with each other, and it is difficult for existing models to capture the key matching signals from such noisy data. Besides, these models are computationally expensive for simply use all textual data indiscriminately. To tackle the effectiveness and efficiency problem, we propose a novel hierarchical noise filtering model, namely Match-Ignition. The main idea is to plug the well-known PageRank algorithm into the Transformer, to identify and filter both sentence and word level noisy information in the matching process. Noisy sentences are usually easy to detect because previous work has shown that their similarity can be explicitly evaluated by the word overlapping, so we directly use PageRank to filter such information based on a sentence similarity graph. Unlike sentences, words rely on their contexts to express concrete meanings, so we propose to jointly learn the filtering and matching process, to well capture the critical word-level matching signals. Specifically, a word graph is first built based on the attention scores in each self-attention block of Transformer, and key words are then selected by applying PageRank on this graph. In this way, noisy words will be filtered out layer by layer in the matching process. Experimental results show that Match-Ignition outperforms both SOTA short text matching models and recent long-form text matching models. We also conduct detailed analysis to show that Match-Ignition efficiently captures important sentences and words, to facilitate the long-form text matching process.

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

↑