作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

计算机工程 ›› 2019, Vol. 45 ›› Issue (9): 284-290. doi: 10.19678/j.issn.1000-3428.0052098

• 开发研究与工程应用 • 上一篇    下一篇

基于多注意力CNN的问题相似度计算模型

冯兴杰, 张乐, 曾云泽   

  1. 中国民航大学 计算机科学与技术学院, 天津 300300
  • 收稿日期:2018-07-13 修回日期:2018-08-19 出版日期:2019-09-15 发布日期:2019-09-03
  • 作者简介:冯兴杰(1969-),男,教授、博士,主研方向为智能信息处理、智能算法;张乐(通信作者)、曾云泽,硕士研究生
  • 基金资助:
    国家自然科学基金青年科学基金(61301245,61201414);赛尔网络下一代互联网技术创新项目(NGII20160605)。

Question Similarity Calculation Model Based on Multi-Attention CNN

FENG Xingjie, ZHANG Le, ZENG Yunze   

  1. College of Computer Science and Technology, Civil Aviation University of China, Tianjin 300300, China
  • Received:2018-07-13 Revised:2018-08-19 Online:2019-09-15 Published:2019-09-03

摘要: 在智能客服问答系统中,用户所提问句具有咨询意图复杂、上下文相关性弱以及口语化等特点,导致问句相似度计算的准确率不高,出现答非所问的情况。提出一种基于卷积神经网络的相似度计算模型MA-CNN。通过2个不同的注意力机制,同时关注词汇间的语义信息和句子间的整体语义信息,提高智能客服对问题的理解能力。实验结果表明,与基于词向量和基于循环神经网络的模型相比,MA-CNN模型对问句的辨识能力更强,其F1值最高可达0.501。

关键词: 智能客服, 文本相似度, 词语语义, 句子语义, 卷积神经网络, 注意力机制

Abstract: In the intelligent customer service question-answering system,the questions asked by users are characterized by complex consultation intention,weak contextual relevance,and serious colloquialization.As a result,the accuracy of question similarity calculation is not high and irrelevant answer occurs.In order to solve these problems,a similarity calculation model MA-CNN based on Convolutional Neural Network (CNN) is proposed.Focusing on the semantic information between words and the overall semantic information between sentences through two different attention mechanisms,the problem understanding ability of the intelligent customer service can be improved.Experimental results show that,compared with the models based on word vector and Recurrent Neural Network(RNN),the MA-CNN model has stronger ability to identify questions,and its F1 value can reach up to 0.501.

Key words: intelligent customer service, text similarity, semantic of words, semantic of sentence, Convolutional Neural Network(CNN), attention mechanism

中图分类号: