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

基于对称正则化的BERT成对语义推理

Symmetric Regularization based BERT for Pair-wise Semantic Reasoning

Ant Financial Services Group(蚂蚁金融服务集团);DAMO, Alibaba Group(阿里巴巴集团达摩院)

Weidi Xu, Xingyi Cheng, Kunlong Chen, Wei Wang, Bin Bi, Ming Yan, Chen Wu, Luo Si, Wei Chu, Taifeng Wang

摘要:

对句子对进行语义推理的能力对于许多自然语言理解任务是必不可少的,例如,自然语言推理和机器阅读理解。这些任务中最近的一个重大改进来自BERT。BERT中的下一句预测(NSP)学习了两个句子之间的上下文关系,对于解决具有双对输入的下游问题具有重要意义。尽管NSP的有效性,我们认为,NSP仍然缺乏必要的信号来区分蕴涵和浅相关。为了解决这个问题,我们建议将NSP任务增加到3类分类任务,其中包括一个用于先前句子预测(PSP)的类别。PSP的引入促使模型关注信息语义来确定句子顺序,从而提高了语义理解能力。这个简单的修改产生了显着的改善香草BERT。为了进一步整合文档级信息,NSP和PSP的范围被扩展到更广的范围,即,NSP和PSP还包括接近但不连续的句子,其噪声通过标签平滑技术来减轻。定性和定量的实验结果都证明了该方法的有效性。我们的方法一致地提高了NLI和MRC基准测试的性能,包括具有挑战性的HANS数据集\cite{hans},这表明文档级任务仍然有希望用于预训练。

英文摘要:

The ability of semantic reasoning over the sentence pair is essential for many natural language understanding tasks, e.g., natural language inference and machine reading comprehension. A recent significant improvement in these tasks comes from BERT. As reported, the next sentence prediction (NSP) in BERT, which learns the contextual relationship between two sentences, is of great significance for downstream problems with sentence-pair input. Despite the effectiveness of NSP, we suggest that NSP still lacks the essential signal to distinguish between entailment and shallow correlation. To remedy this, we propose to augment the NSP task to a 3-class categorization task, which includes a category for previous sentence prediction (PSP). The involvement of PSP encourages the model to focus on the informative semantics to determine the sentence order, thereby improves the ability of semantic understanding. This simple modification yields remarkable improvement against vanilla BERT. To further incorporate the document-level information, the scope of NSP and PSP is expanded into a broader range, i.e., NSP and PSP also include close but nonsuccessive sentences, the noise of which is mitigated by the label-smoothing technique. Both qualitative and quantitative experimental results demonstrate the effectiveness of the proposed method. Our method consistently improves the performance on the NLI and MRC benchmarks, including the challenging HANS dataset \cite{hans}, suggesting that the document-level task is still promising for the pre-training.

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

↑