Transformer-based pre-trained language models such as BERT have achieved remarkable results in Semantic Sentence Matching. However, existing models still suffer from insufficient ability to capture subtle differences. Minor noise like word addition, deletion, and modification of sentences may cause flipped predictions. To alleviate this problem, we propose a novel Dual Attention Enhanced BERT (DABERT) to enhance the ability of BERT to capture fine-grained differences in sentence pairs. DABERT comprises (1) Dual Attention module, which measures soft word matches by introducing a new dual channel alignment mechanism to model affinity and difference attention. (2) Adaptive Fusion module, this module uses attention to learn the aggregation of difference and affinity features, and generates a vector describing the matching details of sentence pairs. We conduct extensive experiments on well-studied semantic matching and robustness test datasets, and the experimental results show the effectiveness of our proposed method.


翻译:基于Transformer的预训练语言模型(如BERT)在语义句子匹配任务中取得了显著成果。然而,现有模型在捕捉细微差异方面的能力仍显不足。句子中诸如词语添加、删除或修改等微小噪声可能导致预测结果反转。为缓解此问题,我们提出了一种新颖的双注意力增强BERT(DABERT),以提升BERT捕捉句子对中细粒度差异的能力。DABERT包含:(1)双注意力模块,通过引入新型双通道对齐机制来建模亲和度与差异度注意力,从而衡量软词语匹配;(2)自适应融合模块,该模块利用注意力机制学习差异度与亲和度特征的聚合,并生成描述句子对匹配细节的向量。我们在广泛研究的语义匹配与鲁棒性测试数据集上进行了大量实验,实验结果证明了所提方法的有效性。

0
下载
关闭预览

相关内容

【AAAI2022】用于视觉常识推理的场景图增强图像-文本学习
专知会员服务
50+阅读 · 2021年12月20日
最新《Transformers模型》教程,64页ppt
专知会员服务
326+阅读 · 2020年11月26日
【NeurIPS 2020】融入BERT到并行序列模型
专知会员服务
26+阅读 · 2020年10月15日
【阿里巴巴-CVPR2020】频域学习,Learning in the Frequency Domain
六篇 EMNLP 2019【图神经网络(GNN)+NLP】相关论文
专知会员服务
73+阅读 · 2019年11月3日
RoBERTa中文预训练模型:RoBERTa for Chinese
PaperWeekly
57+阅读 · 2019年9月16日
20项任务全面碾压BERT,全新XLNet预训练模型
机器学习算法与Python学习
15+阅读 · 2019年6月20日
BERT/Transformer/迁移学习NLP资源大列表
专知
19+阅读 · 2019年6月9日
国家自然科学基金
5+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2014年12月31日
国家自然科学基金
3+阅读 · 2013年12月31日
国家自然科学基金
0+阅读 · 2012年12月31日
国家自然科学基金
2+阅读 · 2011年12月31日
国家自然科学基金
0+阅读 · 2008年12月31日
国家自然科学基金
0+阅读 · 2008年12月31日
Arxiv
11+阅读 · 2019年6月19日
Arxiv
16+阅读 · 2019年4月4日
Arxiv
13+阅读 · 2019年2月28日
VIP会员
最新内容
对抗环境下超视距目标打击的情报支援
专知会员服务
2+阅读 · 37分钟前
《无人机对海面作战影响评估》
专知会员服务
11+阅读 · 7月21日
印度精确打击与指挥架构的断层
专知会员服务
6+阅读 · 7月20日
美空军AI完成F-16战斗机自主空战历史性试飞
专知会员服务
6+阅读 · 7月20日
相关基金
国家自然科学基金
5+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2014年12月31日
国家自然科学基金
3+阅读 · 2013年12月31日
国家自然科学基金
0+阅读 · 2012年12月31日
国家自然科学基金
2+阅读 · 2011年12月31日
国家自然科学基金
0+阅读 · 2008年12月31日
国家自然科学基金
0+阅读 · 2008年12月31日
Top
微信扫码咨询专知VIP会员