Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Conversation method and system based on GRU unit hidden state constraint, and storage medium

A hidden state, single-round technology, applied in neural learning methods, instruments, semantic analysis, etc., can solve the problem that the reply is difficult to take into account the content consistency and emotional rationality, does not consider the diversity of emotional categories, and the cost of corpus cleaning is high. problems, to achieve the effect of taking into account the consistency and accuracy of emotional expression, reducing the possibility of collapse, and improving the expression of emotional information

Active Publication Date: 2021-03-02
XI AN JIAOTONG UNIV
View PDF8 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Although there are a large number of corpus on the Internet, these corpus often contain a lot of noise, and the cost of corpus cleaning and labeling is relatively high
This restricts the development of emotional dialogue systems to a certain extent.
[0005] Second, the generated reply is difficult to take into account the consistency of the content and the rationality of the emotion
[0006] Third, simply integrating emotional information into the model does not bring satisfactory results, and requires refining and extracting emotional means, etc.
But these methods are mostly inspired by psychology, or constrained based on grammatical rules, and cannot be applied to large-scale corpora
These methods either focus on the consistency of dialogue content, or do not take into account the diversity of sentiment categories, and cannot provide satisfactory results.

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
  • Conversation method and system based on GRU unit hidden state constraint, and storage medium
  • Conversation method and system based on GRU unit hidden state constraint, and storage medium
  • Conversation method and system based on GRU unit hidden state constraint, and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0046] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are some of the embodiments of the present invention, but not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0047] The present invention provides a dialogue method, storage medium and system based on GRU unit hidden state constraints, which acquires dialogue data with emotion annotations for preprocessing, and converts the data into single-round dialogue data, that is, a sentence and its corresponding Reply, where the reply needs to have an emotional label to indicate which kind of emotion the current reply can be considered, and use this data set to 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 a dialogue method based on GRU unit hidden state constraint, a storage medium and a system. The dialogue method comprises the steps of converting dialogue data with emotion annotation into data in a single-round dialogue form to construct a data set; establishing a neural network model based on multiple layers of GRU units, and performing emotional constraint on the hiddenstate of the GRU units of the neural network model by utilizing emotional information in the data set to obtain the hidden state after emotional constraint; an upper-layer inheritance mechanism and alower-layer inheritance mechanism are used for the hidden state in the multi-layer GRU unit after emotion constraint, and obtaining an information fusion GRU unit hidden state; and generating probability distribution of a next word by using the GRU unit hidden state of information fusion, then optimizing parameters of the neural network model by using a back propagation algorithm to minimize a loss value, generating reply information with corresponding emotion, and realizing dialogue based on GRU unit hidden state constraints. According to the method, the reply conforming to the specific emotion category is generated according to the user input, and content consistency and emotion expression accuracy are both considered.

Description

technical field [0001] The invention belongs to the technical field of dialog systems, and in particular relates to a dialog method, storage medium and system based on GRU unit hidden state constraints. Background technique [0002] In recent years, dialogue systems have attracted much attention due to their huge potential and wide range of commercial application scenarios. On the one hand, the continuous development of natural language processing technology, such as recurrent neural network (RNN) and its variants (GRU, etc.), Seq2seq model, Attention technology, etc., provides a technical basis for the establishment of dialogue systems; The great prosperity also brought a large number of data sets, making it possible to build a data-driven, open-field dialogue system. However, it is still a very difficult challenge to build a dialogue system with correct grammar, coherent content, human-computer empathy, and reasonable responses. [0003] Studies have shown that identifyi...

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/126G06F40/30G06N3/04G06N3/08
CPCG06F16/3329G06F16/3344G06F16/355G06F40/30G06F40/126G06N3/084G06N3/045
Inventor 赵国帅毛艺钧许文雄钱学明
Owner XI AN JIAOTONG UNIV
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products