Emotional chat type reply generation method with theme perception

An emotion and topic technology, applied in the field of task-based dialogue systems, can solve problems such as meaningless, trivial generation, ignoring topic relevance, etc., and achieve the effect of extensive practical significance, accurate reply, and simple design

Pending Publication Date: 2020-08-11
EAST CHINA NORMAL UNIVERSITY +1
View PDF4 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The current methods of generating emotional responses based on the Seq2seq model, due to the addition of emotional factors, many tend to generate trivial or generally relevant responses, which have almost no practical meaning, such as "haha", "I love you", " I hate you"
In addition, current methods often tend to ignore the topic correlation between the generated reply and the input conversation, resulting in the situation where the answer is not what was asked.

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 chat type reply generation method with theme perception
  • Emotional chat type reply generation method with theme perception
  • Emotional chat type reply generation method with theme perception

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0023] See attached figure 1 , the present invention mainly comprises the following steps:

[0024] Step 1: Encode the input conversation, and at the same time dynamically acquire external subject knowledge.

[0025] Session X=x on input using Bidirectional Gated Recurrent Neural Network (Bi-GRU) as encoder 1 , x 2 ,...,x n Encoding, in the training phase of the generated model, it is necessary to reply Y=y to the target 1 ,y 2 ,...,y m Encoding is performed in the same way to obtain the following encoded hidden state vector H=h 1 , h 2 ,...,h m :

[0026]

[0027] in: represents the word x t The corresponding vector, in order to obtain the most relevant external topic common sense and the current input session, use the trained topic model (BTM) suitable for short texts to assign the most relevant topic T to the current input session, and select the topic T under the probability The largest subject headings serve as external subject common sense. In addition, ...

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 chat type reply generation method with theme perception. The method is characterized in that a generation model composed of an encoder, a theme perception module,an emotion perception module and a decoder is adopted; an external topic common sense introduced into a generation model is fused with two attention mechanisms, semantic and emotion information of a session is effectively captured by using hidden variables under a variational auto-encoder framework, and an emotion reply with topic perception is generated. Compared with the prior art, the method has the advantages that the generated session and the input session are better in topic correlation; according to the method and the device, the reply which better conforms to the preset emotion category can be generated, the reply with emotion can be more accurately generated, the generated reply and the input session can be ensured to be under the same session theme, two attribute requirements ofa conversation system are simultaneously met, and the method and the device have wider practical significance.

Description

technical field [0001] The invention relates to the technical field of task-based dialogue systems, in particular to a recurrent neural network-based method for generating an emotional chat reply with theme awareness for a chat robot. Background technique [0002] At present, one of the hottest researches in the dialogue system is the chat dialogue system. This kind of system does not need to complete a clear task. Its purpose is often to accompany the user to chat and let the machine simulate the chat between people to the greatest extent. . Studies have shown that chatbots capable of expressing emotions can improve user satisfaction. Giving chatbots the ability to perceive and express emotions is an important manifestation of artificial intelligence in emotional computing. In addition, by analyzing the corpus, we also found that the conversations of real people are not only rich in topics, but also have high topic relevance and consistency between sentences. [0003] Th...

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
IPC IPC(8): G06F16/332G06F16/33G06F16/35G06F40/247G06F40/289G06F40/35G06K9/62G06N3/04
CPCG06F16/3329G06F16/35G06F40/35G06F40/247G06F16/334G06F40/289G06N3/045G06F18/214
Inventor 杨燕霍沛陈成才贺樑
Owner EAST CHINA NORMAL UNIVERSITY
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