Emotional dialog generation system and method

A technology for generating systems and emotions. It is applied in special data processing applications, instruments, and unstructured text data retrieval. It can solve the problems of blunt responses, lack of semantics, and lack of emotional color, so as to improve quality and improve user experience. , emotional effects

Pending Publication Date: 2020-06-05
RENMIN UNIVERSITY OF CHINA
View PDF6 Cites 10 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Retrieval-based or template-based dialogue models can avoid irrelevant answers and grammatical errors, but their practical application is often limited by the quality of the matching model and the system cannot contain all reply sentences or templates
As a result, the machine's replies are usually relatively blunt, rigid, not rich in semantics, and have no emotional color
Especially for some relatively new vocabulary, expressions and some obvious emotional colors, it is impossible to give semantic 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 dialog generation system and method
  • Emotional dialog generation system and method
  • Emotional dialog generation system and method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0041] This embodiment discloses an emotional dialogue generation system, such as figure 1 As shown, including: an emotional dialogue generation module and a reordering module;

[0042] The emotional dialogue generation module includes a basic reply generation module, which generates a basic reply with correct semantics by detecting the entity words of the input sentence; a multi-model emotional reply generation module, which establishes emotional models corresponding to various emotions through hierarchical training, and based on emotion The model fine-tunes the basic reply to obtain an emotional reply; the single-model emotional reply generation module uses the emotional category as input to train the emotional model, and outputs the emotional reply according to the emotional model;

[0043] The reordering module receives the replies output by the three sub-modules in the dialogue generation module, scores the output replies, and rearranges the replies output by each module ...

Embodiment 2

[0090] Based on the same inventive concept, this embodiment discloses a method for generating emotional dialogue, including the following steps:

[0091] S1. By detecting the entity words of the input sentence, generate a basic reply with correct semantics;

[0092] S2. Establish emotional models corresponding to various emotions through hierarchical training, and fine-tune the basic responses based on the emotional models to obtain emotional responses;

[0093] S3. Using the emotion category as an input to train the emotion model, and respond according to the emotion output by the emotion model;

[0094] S4. Receive the replies output in steps S1-S3, score the output replies, and rearrange according to the scores, and the reply with the highest score is the final emotional reply.

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 relates to an emotional dialogue generation system and method. The emotional dialogue generation system comprises an emotional dialogue generation module and a reordering module; the emotional dialogue generation module comprises a basic reply generation module, a multi-model emotion reply generation module and a single-model emotion reply generation module; the basic reply generation module is used for generating a basic reply with correct semantics; the multi-model emotion reply generation module is used for establishing emotion models corresponding to various emotions throughhierarchical training and obtaining emotion replies based on the emotion models; the single-model emotion reply generation module takes the emotion category as input to train the emotion models and outputs an emotion reply according to the emotion models; the reordering module receives the replies output by three sub-modules in the dialogue generation module, scores the output replies, and rearranges the replies output by the modules according to the scores, and the reply with the highest score is the final emotion reply. In the man-machine dialogue process, the machine can generate dialogue replies meeting specific emotions, grammars are smooth, semantics are coherent, emotion consistency is met, and thus the user experience feeling in man-machine interaction is improved.

Description

technical field [0001] The invention relates to an emotional dialogue generation system and method, and belongs to the technical field of artificial intelligence. Background technique [0002] With the emergence of human-computer interaction products such as Siri, Google Home, Tmall Genie, Xiao Ai and other personal assistants, smart speakers, etc., human-computer interaction has not only attracted more and more attention from the industry and academia, but also has an impact on people's daily life. growing impact. At present, there are many ways to realize the dialogue system, but the dialogue mode of the dialogue system is mostly task-based dialogue, that is, the human-computer interaction is carried out by issuing commands. However, with the development of science and technology, simple task-based dialogue is no longer what people need. People hope that the reply content of the robot can be more fluent, in line with the way people speak, and be able to distinguish the em...

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/33G06F16/332G06F16/338
CPCG06F16/3329G06F16/3344G06F16/338
Inventor 窦志成
Owner RENMIN UNIVERSITY OF CHINA
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