Emotional dialogue model construction method, emotional dialogue system and emotional dialogue method

A construction method and emotion technology, applied in the field of emotional dialogue model construction methods and related emotional dialogue systems, can solve problems such as single model answer, no consideration of the emotional relationship between questions and answers, and lack of emotional encoding and decoding in the model, so as to improve user experience. sense, the effect of improving quality

Active Publication Date: 2021-06-04
NORTHWEST UNIV(CN)
View PDF6 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] At present, the dialogue generation system mainly uses the sequence to sequence model (Sequence to Sequence, Seq2Seq), which uses the maximum likelihood estimation method to determine the generated words, which can easily lead to the selection of words with high frequency in the training data, but often such as "I don't I know" and "OK" are common sentences that lack information and have a high frequency, so it is easy to generate general answers, making the model answer relatively simple
And the model lacks emotional encoding and decoding, and does not consider the emotional relationship between questions and answers

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Emotional dialogue model construction method, emotional dialogue system and emotional dialogue method
  • Emotional dialogue model construction method, emotional dialogue system and emotional dialogue method
  • Emotional dialogue model construction method, emotional dialogue system and emotional dialogue method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0054] This embodiment provides a method for constructing an emotional dialogue model provided by the present invention. The emotional dialogue data set used in this embodiment adopts "Emotional Conversation Generation Task4", as shown in Table 2; in the operation of this embodiment, a general reply category label is added to each sentence in the "Emotional Conversation Generation Task4" data set, specifically the length in the data set is less than The general reply category label of three-word sentences and sentences repeated more than three times in a row is "1", and other sentences are "0";

[0055] Table 2 Emotional dialogue dataset

[0056]

[0057] The generator used in the generated confrontation network of this embodiment is based on the seq2seq framework, wherein both the encoder and the decoder adopt the LSTM network, and the first discriminator adopts each sentence in the "Emotional Conversation Generation Task4" data set and its general reply category label tra...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses an emotional dialogue model construction method, an emotional dialogue system and an emotional dialogue method. According to the method, production adversarial network training is adopted to obtain a corresponding model, a generator is used for generating a dialogue reply, and a content discriminator can distinguish whether an input reply text sequence belongs to a universal reply or not and participates in the adversarial training process of the model; the emotion discriminator can distinguish whether the emotion category of the reply text generated by the generation model is a certain specified emotion category, and by adding the emotion discrimination model, the emotion category of the dialogue text generated by the generation model can be guided to be closer to the certain specified emotion category. In the man-machine conversation process, the conversation reply meeting the specific emotion can be generated, so that the reply is diversified, the emotion consistency is met, the quality of reply generated by a machine can be improved, and the user experience in man-machine interaction can be improved.

Description

technical field [0001] The invention belongs to the technical field of human-computer dialogue, and in particular relates to a method for constructing an emotional dialogue model and a related emotional dialogue system and method. Background technique [0002] As a new type of human-computer interaction, human-computer dialogue can save manpower to a large extent. It is mainly divided into task-based dialogue and chat-style dialogue in terms of functions, which are used to meet different user needs. [0003] Task-based dialogue can be used in scenarios such as smart customer service, ticket booking, and weather query in a fixed field, such as Taobao smart customer service, JD smart customer service, etc. It is necessary to understand the user's intention and dialogue based on the domain knowledge and dialogue history related to the task. management etc. [0004] Chat-style dialogues are mostly used in chat robots, such as Microsoft Xiaobing, with various conversation topics...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F16/332G06F16/35G06F40/35G06F16/951G06N3/08G06N3/04
CPCG06F16/3329G06F16/35G06F40/35G06F16/951G06N3/08G06N3/044G06N3/045
Inventor 李凯伟马力
Owner NORTHWEST UNIV(CN)
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products