期刊文献+

基于依存句法和图注意力网络的句子匹配

Sentence Matching Based on Dependency Syntax and Graph Attention Network
下载PDF
导出
摘要 句子匹配是自然语言处理的一项基本任务,可应用于自然语言推理、释义识别等多个场景。目前,主流的模型大多采用注意力机制来实现两个句子之间单词或短语的对齐。然而,这些模型通常忽略了句子的内在结构,没有考虑文本单元之间的依存关系。针对此问题,提出了一种基于依存句法和图注意力网络的匹配模型。设计两种建模方式将句子对建模为语义图。使用图注意力网络对构建的图进行编码以进行句子匹配。实验结果表明,提出的模型可以较好地学习图结构,在自然语言推理数据集SNLI和释义识别数据集Quora上分别达到了88.7%和88.9%的准确率。 Sentence matching is a basic task in natural language processing,which can be applied to natural language inference,paraphrase recognition and other scenarios.At present,most of the mainstream models use attention mechanism to realize the alignment of words or phrases between two sentences.However,these models usually ignore the internal structure of sentences and do not consider the dependency between text units.To solve this problem,this paper proposes a matching model based on dependency syntax and graph attention network.Two methods are designed to model sentence pairs as semantic graph.Graph attention network is used to encode the constructed graph for sentence matching.Experimental results show that the proposed model can learn graph structure well,and the accuracy of the model on the natural language inference dataset SNLI and the paraphrase recognition dataset Quora is 88.7%and 88.9%respectively.
作者 杨春霞 陈启岗 徐奔 马文文 YANG Chunxia;CHEN Qigang;XU Ben;MAWenwen(School of Automation,Nanjing University of Information Science&Technology,Nanjing 210044,China;Jiangsu Key Laboratory of Big Data Analysis Technology,Nanjing 210044,China;Jiangsu Collaborative Innovation Center of Atmospheric Environment and Equipment Technology,Nanjing 210044,China)
出处 《计算机工程与应用》 CSCD 北大核心 2023年第9期123-129,共7页 Computer Engineering and Applications
基金 国家自然科学基金(61273229) 江苏省青蓝工程资助项目。
关键词 句子匹配 依存句法 图注意力网络 词共现语义图 全连通语义图 sentence matching dependency syntax graph attention network co-occurrence semantic graph full-connected semantic graph
  • 相关文献

参考文献6

二级参考文献24

共引文献37

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部