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

DEIM:一个有效的句子匹配深度编码和交互模型

DEIM: An effective deep encoding and interaction model for sentence matching

Yanbian University(延边大学)

Kexin Jiang, Yahui Zhao, Rongyi Cui, Zhenguo Zhang

摘要:

自然语言句子匹配是比较两个句子并识别它们之间关系的任务,在阅读理解、问答系统等自然语言处理任务中有着广泛的应用。其主要方法是通过一个注意力机制来计算文本表示和句子对之间的交互作用,从而很好地提取句子对之间的语义信息。然而,这种方法在处理复杂的语义特征时不能得到令人满意的结果。针对这一问题,提出了一种基于深度编码和交互的句子匹配方法,以提取深层语义信息。在编码器层,我们在对单个句子进行编码的过程中参考另一个句子的信息,然后使用启发式算法对信息进行融合。在交互层,我们采用双向注意力机制和自注意力机制来获取深层语义信息,最后进行池化操作,输入到MLP进行分类。我们在三个任务上评估我们的模型:识别文本蕴涵,释义识别和答案选择。我们在SNLI和SciTail数据集上进行了实验,用于识别文本蕴涵任务,Quora数据集用于释义识别任务,WikiQA数据集用于答案选择任务。实验结果表明,该算法能够有效地提取句子的深层语义特征,验证了该算法在句子匹配任务中的有效性。

英文摘要:

Natural language sentence matching is the task of comparing two sentences and identifying the relationship between them.It has a wide range of applications in natural language processing tasks such as reading comprehension, question and answer systems. The main approach is to compute the interaction between text representations and sentence pairs through an attention mechanism, which can extract the semantic information between sentence pairs well. However,this kind of method can not gain satisfactory results when dealing with complex semantic features. To solve this problem, we propose a sentence matching method based on deep encoding and interaction to extract deep semantic information. In the encoder layer,we refer to the information of another sentence in the process of encoding a single sentence, and later use a heuristic algorithm to fuse the information. In the interaction layer, we use a bidirectional attention mechanism and a self-attention mechanism to obtain deep semantic information.Finally, we perform a pooling operation and input it to the MLP for classification. we evaluate our model on three tasks: recognizing textual entailment, paraphrase recognition, and answer selection. We conducted experiments on the SNLI and SciTail datasets for the recognizing textual entailment task, the Quora dataset for the paraphrase recognition task, and the WikiQA dataset for the answer selection task. The experimental results show that the proposed algorithm can effectively extract deep semantic features that verify the effectiveness of the algorithm on sentence matching tasks.

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

↑