Unlock instant, AI-driven research and patent intelligence for your innovation.

Method for constructing double-discriminator dialogue generation model based on generative adversarial network

A technology for network construction and discriminative models, applied in biological models, computing models, instruments, etc., can solve problems such as semantic barriers, grammatical errors, and model laziness, and achieve the effect of strong automatic learning and correct grammar

Active Publication Date: 2020-05-15
EAST CHINA NORMAL UNIV +1
View PDF6 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

At present, the "self-study" of most generative dialogue systems is based on the seq2seq model, allowing the model to learn how to encode the input, and then decode it to get a reply, and improve the model by continuously narrowing the gap between the generated sentence and the real sentence. However, this It will cause the model to be "lazy" - it only learns simple generation, that is, it is more inclined to generate universal responses such as "I don't know", "OK", and "um".
At the same time, since the corpus used in these traditional methods is a binary corpus such as "above + reply", there is no intervention from the reply sentence during the generation process, so that the model does not know what kind of sentence is correct. As a result, some grammatical errors and semantically incomprehensible discourses are sometimes generated

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
  • Method for constructing double-discriminator dialogue generation model based on generative adversarial network
  • Method for constructing double-discriminator dialogue generation model based on generative adversarial network

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0025] refer to figure 1 , the present invention provides a method for constructing a dialogue generation model with dual discriminators based on a generative confrontation network, that is, a method for constructing a dialogue generation model by rewriting instead of creating, rewriting the model and discriminator game learning, as shown in the figure. Knowing the current context C, use the text matching algorithm to match the similar context C' and its reply R'. The left dashed box in the figure is the rewriting model of this embodiment, which is based on the seq2seq framework, the encoder encodes R', and the decoder decodes while introducing the difference diff(C,C') between C and C', and finally Get the generated reply R*. The right dotted box in the figure is the discriminant model of this embodiment. The discriminator_1 learns to distinguish between the R* obtained by rewriting the model and the real reply R, and the discriminator_2 learns to distinguish the false dialo...

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 method for constructing a double-discriminator dialogue generation model based on a generative adversarial network. The method comprises the following steps: firstly, processing corpora to obtain quaternary corpora with similar dialogue information; secondly, pre-training a rewriting model and a discrimination model, enabling the rewriting model to rewrite the matched similar reply so as to generate a reply more conforming to the current context, enabling the discrimination model to discriminate true and false statements, and discriminating whether the statements comefrom a corpus or the rewriting model; and finally, performing adversarial learning on the rewriting model and the discrimination model, and obtaining an optimal rewriting effect in the game process of the two models. According to the method, two discriminators are introduced to improve the generation model from multiple angles, and great progress is achieved in the aspects of syntax, context correlation and the like of generated sentences.

Description

technical field [0001] The invention relates to natural language processing, deep learning, and dialog systems, and relates to a method for constructing a dual-discriminator dialog generation model based on a generative confrontation network (GAN). Background technique [0002] With the development of smart phones and smart homes, the interaction between people and machines has become more frequent, and users have higher and higher requirements for the quality of dialogue with machines, hoping to get a smooth and diverse communication experience. It means that the template-based dialogue system commonly used in the industry is no longer able to meet the needs of users. At present, the methods commonly used in the industry to build dialogue systems are mostly based on templates, that is, manually sorting out and defining a large number of words to form templates, and inputting what users say into the pre-defined templates to get fixed replies. This method covers fewer 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): G06N3/00
CPCG06N3/006Y02D10/00
Inventor 贺樑张凉朱频频杨燕陈成才
Owner EAST CHINA NORMAL UNIV