arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2210.08471cs.CLcs.AI
收藏

通过带自适应融合的依存增强预训练模型改进语义匹配

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

Tianjin University(天津大学);Meituan Inc.(美团公司);Fudan University(复旦大学)

Jian Song, Di Liang, Rumei Li, Yuntao Li, Sirui Wang, Minlong Peng, Wei Wu, Yongxin Yu

AI总结:

针对预训练模型难以高效整合依存先验结构以优化语义匹配的问题,提出依存增强自适应融合注意力DAFA,通过结构敏感范式构建依存矩阵校准注意力、自适应融合依存与语义信息并重构注意力流程,在10个公开数据集上取得SOTA或有竞争力的性能。

摘要:

基于Transformer的预训练模型(如BERT)已在语义句子匹配任务上取得了巨大进展。同时,依存先验知识也在多项NLP任务中展现出普遍增益。然而,如何高效地将依存先验结构整合进预训练模型,以更好地建模复杂的语义匹配关系,这一问题仍未得到解决。本文提出了依存增强自适应融合注意力(Dependency-Enhanced Adaptive Fusion Attention,DAFA),该方法显式地将依存结构引入预训练模型,并将其与语义信息自适应融合。具体而言:(i)DAFA首先提出一种结构敏感范式,构建用于校准注意力权重的依存矩阵;它采用自适应融合模块,将得到的依存信息与原始语义信号进行整合。此外,DAFA重构了注意力计算流程,具备更好的可解释性。将该方法应用于BERT后,我们的方法在10个公开数据集上取得了当前最优(SOTA)或具有竞争力的性能,证明了在语义匹配任务中自适应融合依存结构的增益效果。

英文摘要:

Transformer-based pre-trained models like BERT have achieved great progress on Semantic Sentence Matching. Meanwhile, dependency prior knowledge has also shown general benefits in multiple NLP tasks. However, how to efficiently integrate dependency prior structure into pre-trained models to better model complex semantic matching relations is still unsettled. In this paper, we propose the \textbf{D}ependency-Enhanced \textbf{A}daptive \textbf{F}usion \textbf{A}ttention (\textbf{DAFA}), which explicitly introduces dependency structure into pre-trained models and adaptively fuses it with semantic information. Specifically, \textbf{\emph{(i)}} DAFA first proposes a structure-sensitive paradigm to construct a dependency matrix for calibrating attention weights. It adopts an adaptive fusion module to integrate the obtained dependency information and the original semantic signals. Moreover, DAFA reconstructs the attention calculation flow and provides better interpretability. By applying it on BERT, our method achieves state-of-the-art or competitive performance on 10 public datasets, demonstrating the benefits of adaptively fusing dependency structure in semantic matching task.

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

↑