Training method of dialogue generation model and dialogue generation method and device

A technology for generating models and training methods, applied in biological neural network models, character and pattern recognition, probability networks, etc., and can solve problems such as complex semantics and high variability that cannot be captured

Active Publication Date: 2019-11-15
TENCENT TECH (SHENZHEN) CO LTD
View PDF3 Cites 13 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The embodiment of the present application provides a dialogue generation model training method, dialogue generation method and device, which can solve the problem that the posterior distribution fitted by a simple Gaussian distribution may not be able to capture the complex semantics and high variability required for answer generation question

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
  • Training method of dialogue generation model and dialogue generation method and device
  • Training method of dialogue generation model and dialogue generation method and device
  • Training method of dialogue generation model and dialogue generation method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0057] In order to make the purpose, technical solution and advantages of the present application clearer, the implementation manners of the present application will be further described in detail below in conjunction with the accompanying drawings.

[0058] figure 1 It is a schematic structural diagram of a dialog generation model provided by an exemplary embodiment shown in this application, and the dialog generation model includes a priori distribution module, a posteriori distribution module and a discriminator;

[0059] The posterior distribution module comprises at least two groups of phonation encoder groups 11, recognition network 12, first generator 13 and reply decoder group 14; each group of phonation encoder groups 11 in at least two groups of phonation encoder groups 11 is connected with recognition network respectively 12 are interconnected, the recognition network 12 is interconnected with the first generator 13, and the first generator 13 is interconnected with...

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 training method of a dialogue generation model and a dialogue generation method and device, and relates to the field of artificial intelligence. The method comprises the following steps: encoding a context sample to obtain a first hidden layer variable, and identifying the first hidden layer variable to obtain a prior hidden layer variable; encoding the reply sample to obtain a second hidden layer variable; encoding the reply similar sample to obtain a third hidden layer variable; according to the Gaussian mixture distribution of the first hidden layer variable, the second hidden layer variable and the third hidden layer variable, identifying to obtain a posterior hidden layer variable; and matching the prior hidden layer variable and the posterior hidden layer variable, and performing adversarial training on the dialogue generation model. According to the method, similar samples in a sample set are adopted, posteriori distribution of a dialogue generation model is fitted through Gaussian mixture distribution of the similar samples, the purpose of fitting more complex semantics is achieved, and complex semantics and high variability of dialogues can be captured.

Description

technical field [0001] The present application relates to the field of artificial intelligence, in particular to a training method for a dialogue generation model, a dialogue generation method and a device. Background technique [0002] Dialogue systems in the open domain are widely used in industry and academia, which can generate diverse and relevant responses. [0003] Dialog generation models based on Variational Auto-Encoders (VAEs) generate responses with diversity and relevance given the context of different topics. Taking the Wasserstein Auto-Encoder (Dialog Wasserstein Auto-Encoder, DialogWAE) as an example, the training process of the dialog generation model is explained. First, DialogWAE obtains a mixed Gaussian distribution through prior network (Prior Network) learning context, based on the mixed Gaussian Distribution sampling to obtain a random variable; then, the above random variable is transformed into a priori hidden layer variable through the generator; s...

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/332G06F16/33G06K9/62G06N3/04
CPCG06F16/3329G06F16/3343G06N3/045G06F18/22G06F40/35G06N3/042G06N7/01G06N3/048
Inventor 李泽康张金超雷泽阳孟凡东周杰牛成
Owner TENCENT TECH (SHENZHEN) CO LTD
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