Generative multi-round chat dialogue method and system and computer-readable storage medium

Wang Wenjie,Nie Liqiang,Huang Minlie,Song Xuemeng,Wang Yinglong
2018-01-01
Abstract:The invention discloses a generative multi-round chat dialogue method and system and a computer-readable storage medium. The method is divided into two stages: a stage 1, training a multi-round chat dialogue model by using dialogues of a corpus; and a stage 2, inputting a question to be answered, posed by a user, into the trained multi-round chat dialogue model, and outputting an actual answer. Bymining keywords in historical dialogues and introducing an attention mechanism into the model, all words in the historical dialogues are treated differently, which expands the role of the keywords inthe historical dialogues in generating answers. A width channel is used to predict keywords and broaden topics, a depth channel is used to predict the weights of the keywords in the historical dialogues so as to penetrate into the current topic, and the topic information obtained from the two parts is introduced into a decoder to assist in decoding. The guidance of the topic information effectively solves the problem of meaningless answers, and greatly reduces the number of meaningless answer.
What problem does this paper attempt to address?