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

Dialogue reply generation method and system based on self-commenting sequence learning

A sequence and computer system technology, applied in the field of dialogue reply generation based on self-comment sequence learning, can solve problems such as difficult initialization strategy, mismatch of objective functions, instability, etc., to ensure the consistency of evaluation indicators, improve performance, reduce The effect of instability

Active Publication Date: 2018-11-13
ZHEJIANG UNIV
View PDF13 Cites 20 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, this technology still has some inherent defects: one is the generation distribution deviation, that is, the dialogue generation distribution on the training set and the test set is likely to be different
Second, the objective function does not match, and it is impossible to directly optimize the evaluation index during the training process.
However, there are still thorny problems in the dialogue reply generation algorithm based on reinforcement learning: one is based on the minimum batch gradient descent method, there are a lot of changes, if it is not well regularized, it is easy to become unstable; Under the characteristics of learning, the word space of text generation becomes extremely large, and it is difficult to get a good initialization strategy

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
  • Dialogue reply generation method and system based on self-commenting sequence learning
  • Dialogue reply generation method and system based on self-commenting sequence learning
  • Dialogue reply generation method and system based on self-commenting sequence learning

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0062] The present invention will be further elaborated and illustrated below in conjunction with the accompanying drawings and specific embodiments.

[0063] Such as figure 1 As shown, the present invention divides the encoder-decoder framework into a training module and a testing module, and puts these two modules into the optimization process of the whole model synchronously. Among them, (a) module is a training module, (b) module is a testing module, and the specific steps are as follows:

[0064] (a) Use cross entropy to learn the generation probability between each word in the text generation training process, the basic steps are as follows:

[0065] 1. Initialize the model parameters. For each sentence input, there is a start character , and initialize the hidden state h 0 and unit c 0 as input.

[0066] 2. For each unit, enter the hidden state h of the previous unit i and c i , and the newly entered word w i , after the learning of the recurrent neural ...

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 reply generation method and system based on self-commenting sequence learning. The dialogue reply generation method comprises the following steps that: (1) carryingout modeling on the context language environment of a current dialogue to obtain a context semantic vector; (2) according to the context semantic vector, establishing a dialogue language based on theself-commenting sequence learning; (3) training and testing the dialogue model to independently obtain a training award value and a testing award value; (4) calculating a difference between two awardvalues, and optimizing the dialogue model through policy gradient calculation; and (5) finishing dialogue model training, and outputting the dialogue reply. By use of the method, in a training processof a dialogue generation model, the reply with a better substantive meaning can be generated towards an evaluation index optimization direction, and dialogue generation instability can be greatly lowered.

Description

technical field [0001] The invention relates to the field of natural language processing dialog systems, in particular to a method and system for generating dialog replies based on self-comment sequence learning. Background technique [0002] In recent years, dialogue systems, as an important technical support for human-computer interaction, have attracted the attention of researchers from industry and academia. Dialogue reply generation has always been one of the most popular and difficult tasks in dialogue systems. Dialogue reply generation technology, that is, given the specific context and the current chat dialogue given by the other party, the machine can generate a reply that conforms to the context and has substantive reply content through semantic understanding and semantic generation technology. This technology has been widely used in many human-computer interaction systems, such as intelligent customer service systems, chat robots, personal intelligent assistants,...

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): G06F17/30
Inventor 陈哲乾蔡登杨荣钦潘博远赵洲何晓飞
Owner ZHEJIANG 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