首页 | 官方网站   微博 | 高级检索  
     

基于问答交互的答案句选择算法
引用本文:侯佳正,张绍阳,鱼昆.基于问答交互的答案句选择算法[J].计算机与现代化,2021,0(1):120-126.
作者姓名:侯佳正  张绍阳  鱼昆
作者单位:长安大学信息工程学院,陕西 西安 710064;长安大学信息工程学院,陕西 西安 710064;长安大学信息工程学院,陕西 西安 710064
基金项目:陕西省技术创新引导专项;中央高校基本科研业务费高新技术研究培育项目
摘    要:答案选择任务的精度对问答系统、文本处理等应用的效果具有重要的影响。针对答案选择模型问句与候选答案句语义信息和句子浅层特征利用不充分的问题,提出一种基于问答句交互的答案选择模型。给定问句Q和候选答句A,模型首先使用BiLSTM编码器对它们进行编码,然后针对问句Q使用Feed-Forward注意力机制得到句子编码;针对答句A,将问句Q和答句A的所有时间步输出两两进行匹配,根据匹配结果计算出答句的每个单词的权重,进而加权计算出答句的句子编码。最后,将问答句的句子编码经过聚合操作后输入全连接层,并与词共现特征相融合输出最终判断结果。在DBQA数据集上的实验结果表明,该模型与主流的Siamese结构的神经网络相比,能够有效地提升答案选择任务的效果。

关 键 词:答案句选择  BiLSTM  Feed-Forward注意力机制  问答句交互的注意力机制  词共现  
收稿时间:2021-01-29

Algorithm of Answer Sentence Selection Based on Q and A Interaction
HOU Jia-zheng,ZHANG Shao-yang,YU Kun.Algorithm of Answer Sentence Selection Based on Q and A Interaction[J].Computer and Modernization,2021,0(1):120-126.
Authors:HOU Jia-zheng  ZHANG Shao-yang  YU Kun
Abstract:The accuracy of answer selection task has an important influence on the application of question answering system, text processing and so on. In order to solve the problem that the semantic information and the shallow features of question and the candidate answer are not fully utilized in the answer selection model, an answer selection model based on the interaction of question and answer is proposed. Given question Q and candidate answer A, the model first uses BiLSTM encoder to encode them, concatenates the two directions encode results of each time step of Q and A, and then uses Feed-Forward attention to encode question sentence Q; all the time steps of question Q are matched with all the time steps of A. According to the matching results, the weight of each word of the answer sentence is calculated, and then the sentence code of the answer sentence is calculated according to the weight of each word of the answer sentence. Finally, the sentence coding of Q and A sentences is input into the full connection layer after the aggregation operation, and the final judgment result is output by fusion with the co-occurrence feature of words. The experimental results on the DBQA data set show that this model can effectively improve the effect of answer selection task compared with the mainstream Siamese neural network.
Keywords:answer sentence selection  BiLSTM  Feed-Forward attention  attention mechanism of Q and A interaction  co-occurrence of words  
本文献已被 万方数据 等数据库收录!
点击此处可从《计算机与现代化》浏览原始摘要信息
点击此处可从《计算机与现代化》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司    京ICP备09084417号-23

京公网安备 11010802026262号