《计算机应用》唯一官方网站 ›› 2022, Vol. 42 ›› Issue (3): 867-873.DOI: 10.11772/j.issn.1001-9081.2021030375

• 人工智能 • 上一篇    

智能问诊中基于深度神经网络的反问生成方法

杜曾贞1, 唐东昕2, 解丹1()   

  1. 1.湖北中医药大学 信息工程学院,武汉 430065
    2.贵州中医药大学 第一附属医院,贵阳 550001
  • 收稿日期:2021-03-15 修回日期:2021-05-20 接受日期:2021-05-31 发布日期:2022-04-09 出版日期:2022-03-10
  • 通讯作者: 解丹
  • 作者简介:杜曾贞(1998—),女,湖北荆州人,硕士研究生,主要研究方向:自然语言处理、人工智能
    唐东昕(1977—),男,贵州贵阳人,教授,博士,主要研究方向:中医药防治肿瘤的基础及临床研究;
  • 基金资助:
    国家重点研发计划项目(2019YFC1712504)

Method of generating rhetorical questions based on deep neural network in intelligent consultation

Zengzhen DU1, Dongxin TANG2, Dan XIE1()   

  1. 1.Department of Information Engineering,Hubei University of Chinese Medicine,Wuhan Hubei 430065,China
    2.First Affiliated Hospital,Guizhou University of Traditional Chinese Medicine,Guiyang Guizhou 550001,China
  • Received:2021-03-15 Revised:2021-05-20 Accepted:2021-05-31 Online:2022-04-09 Published:2022-03-10
  • Contact: Dan XIE
  • About author:DU Zengzhen, born in 1998, M. S. candidate. Her research interests include natural language processing, artificial intelligence.
    TANG Dongxin, born in 1977, Ph. D., professor. His research interest includes foundation of prevention and treatment of tumor by traditional Chinese medicine and its clinical research.
  • Supported by:
    National Key Research and Development Program of China(2019YFC1712504)

摘要:

在智能问诊中,为了让医生快速提出合理的反问以提高医患对话效率,提出了基于深度神经网络的反问生成方法。首先获取大量医患对话文本并进行标注;然后使用文本循环神经网络(TextRNN)、文本卷积神经网络(TextCNN)二种分类模型分别对医生的陈述进行分类;再利用双向文本循环神经网络(TextRNN-B)、双向变形编码器(BERT)分类模型进行问题触发;设计六种不同的问答选取方式来模拟医疗咨询领域情景,采用开源神经机器翻译(OpenNMT)模型进行反问生成;最后对已生成的反问进行综合评估。实验结果表明,使用TextRNN进行分类优于TextCNN,利用BERT模型进行问题触发优于TextRNN-B,采用OpenNMT模型在Window-top方式下实现反问生成时,使用双语评估替补(BLEU)和困惑度(PPL)指标进行评价的结果最好。所提方法验证了深度神经网络技术在反问生成中的有效性,可以有效解决智能问诊中医生反问生成的问题。

关键词: 智能问诊, 反问生成, 文本循环神经网络, 双向变形编码器, 开源神经机器翻译

Abstract:

In order to improve the efficiency of doctor-patient dialogue by enabling doctors to quickly propose reasonable rhetorical questions in intelligent consultation, a method of rhetorical question generation based on deep neural network was proposed. Firstly, a large number of doctor-patient dialogue texts were obtained and labeled. Then, two classification models, Text Recurrent Neural Network (TextRNN) and Text Convolutional Neural Network (TextCNN), were used to classify doctor’s statements respectively. Then, Text Recurrent Neural Network-Bidirectional Long Short-Term Memory (TextRNN-B) and Bidirectional Encoder Representations from Transformers (BERT) classification models were used to trigger questions. Six different Q&A selection methods were designed to simulate the situations in the field of medical consultation. Then, Open-Source Neural Machine Translation (OpenNMT) model was used to generate rhetorical questions. Finally, the generated rhetorical questions were evaluated comprehensively. Experimental results show that TextRNN is better than TextCNN in classification, and BERT model is better than TextRNN-B in question triggering; when OpenNMT model is used to realize rhetorical question generation in Window-top mode, the best results are obtained by using two evaluation indexes: Bilingual Evaluation Understudy (BLEU) and Perplexity (PPL). The proposed method verifies the effectiveness of deep neural network technology in the generation of rhetorical questions, which can effectively solve the problem of doctor-patient question generation.

Key words: intelligent consultation, rhetorical question generation, Text Recurrent Neural Network (TextRNN), Bidirectional Encoder Representations from Transformers (BERT), Open-Source Neural Machine Translation (OpenNMT)

中图分类号: