DABERT: Dual Attention Enhanced BERT for Semantic Matching

10/07/2022
by   Sirui Wang, et al.
0

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.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
04/18/2021

Dual-View Distilled BERT for Sentence Embedding

Recently, BERT realized significant progress for sentence matching via w...
research
10/16/2022

Improving Semantic Matching through Dependency-Enhanced Pre-trained Model with Adaptive Fusion

Transformer-based pre-trained models like BERT have achieved great progr...
research
08/06/2021

LadRa-Net: Locally-Aware Dynamic Re-read Attention Net for Sentence Semantic Matching

Sentence semantic matching requires an agent to determine the semantic r...
research
12/30/2020

Improving BERT with Syntax-aware Local Attention

Pre-trained Transformer-based neural language models, such as BERT, have...
research
11/07/2019

Explicit Pairwise Word Interaction Modeling Improves Pretrained Transformers for English Semantic Similarity Tasks

In English semantic similarity tasks, classic word embedding-based appro...
research
05/25/2021

Dynamic Dual Sampling Module for Fine-Grained Semantic Segmentation

Representation of semantic context and local details is the essential is...
research
06/09/2021

DGA-Net Dynamic Gaussian Attention Network for Sentence Semantic Matching

Sentence semantic matching requires an agent to determine the semantic r...

Please sign up or login with your details

Forgot password? Click here to reset