BERT-DRE:带有深度递归编码器的BERT,用于自然语言句子匹配
BERT-DRE: BERT with Deep Recursive Encoder for Natural Language Sentence Matching
摘要:
本文提出了一种用于自然语言句子匹配(NLSM)的深度神经架构,通过向BERT添加深度递归编码器,即具有深度递归编码器的BERT(BERT-DRE)。我们对模型行为的分析表明,BERT仍然不能捕获文本的全部复杂性,因此在BERT之上应用了深度递归编码器。使用三个具有剩余连接的Bi-LSTM层来设计递归编码器,并在该编码器的顶部使用注意模块。为了获得最终向量,使用由平均池化和最大池化组成的池化层。我们在四个基准测试上实验了我们的模型,SNLI,FarsTail,MultiNLI,SciTail和一个新的波斯宗教问题数据集。本文主要研究如何改进NLSM任务中的BERT结果。在这方面,BERT-DRE和BERT之间的比较进行,它表明,在所有情况下,BERT-DRE优于BERT。宗教数据集上的BERT算法达到了89.70%的准确率,使用相同的数据集,BERT-DRE架构提高到90.29%。
英文摘要:
This paper presents a deep neural architecture, for Natural Language Sentence Matching (NLSM) by adding a deep recursive encoder to BERT so called BERT with Deep Recursive Encoder (BERT-DRE). Our analysis of model behavior shows that BERT still does not capture the full complexity of text, so a deep recursive encoder is applied on top of BERT. Three Bi-LSTM layers with residual connection are used to design a recursive encoder and an attention module is used on top of this encoder. To obtain the final vector, a pooling layer consisting of average and maximum pooling is used. We experiment our model on four benchmarks, SNLI, FarsTail, MultiNLI, SciTail, and a novel Persian religious questions dataset. This paper focuses on improving the BERT results in the NLSM task. In this regard, comparisons between BERT-DRE and BERT are conducted, and it is shown that in all cases, BERT-DRE outperforms BERT. The BERT algorithm on the religious dataset achieved an accuracy of 89.70%, and BERT-DRE architectures improved to 90.29% using the same dataset.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。