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

WGAN method based on text generation

A text and generator technology, applied in the field of deep learning neural network

Inactive Publication Date: 2018-01-16
SOUTH CHINA UNIV OF TECH
View PDF1 Cites 36 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] However, in the traditional GAN ​​model, most of them let the generative confrontation network model complete the function of generating images, and there is no confrontation network training method involving generated text.

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
  • WGAN method based on text generation
  • WGAN method based on text generation

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0024] This embodiment discloses a WGAN method based on text generation, which specifically includes the following steps:

[0025] Step S1, constructing a Wasserstein Generative Adversarial Network WGAN model, which includes a generator and a discriminator.

[0026] Among them, the number of convolutional network layers of the generator is the same as that of the discriminator, and the convolution kernel of the generator is the transposition of the convolution kernel of the discriminator.

[0027] Step S2, preparing a text data set for training;

[0028] The text data sets are required to belong to the same type of content, for example, both describe scenery or stories.

[0029] Step S3, using an encoder to encode the text data.

[0030] Step S4, construct random noise, and obtain the output text of the generator. The specific method is as follows:

[0031] S41. Input random noise into the generator;

[0032] S42. The generator performs deep learning on the input random n...

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, which belongs to the field of the deep learning neural network, discloses a WGAN method based on text generation. The method comprises the following steps: S1, constructing a Wasserstein generative WGAN model; S2, preparing a text data set for training; S3, coding the test data by using a coder; S4, constructing random noises and acquiring obtain an output text of a generator; and S5, inputting the output text of the generator and the text after coding of the data set into a discriminator and carrying out network training. According to the invention, on the bass of characteristics of the generative WGAN model, a construction mode of combination of a deep convolution neural network and a WGAN is put forward creatively and the adversarial network training mode of the generatedtext is disclosed for the first time, so that the function that the previous generative WGAN model completes image generation is broken.

Description

technical field [0001] The invention relates to the technical field of deep learning neural networks, in particular to a WGAN method based on text generation. Background technique [0002] Generative Adversarial Network (GAN for short) is a framework proposed by Goodfellow in 2014. It is based on the idea of ​​"game theory" and constructs two models of generator (generator) and discriminator (discriminator). Uniform noise of (0, 1) or Gaussian random noise generates images, and the latter discriminates the input image to determine whether it is an image from the dataset or an image produced by the generator. Every time the discriminator completes a judgment, it returns the result error to the generator. [0003] However, in the traditional GAN ​​model, most of them let the generative confrontation network model complete the function of generating images, and there is no confrontation network training method involving text generation. Contents of the invention [0004] Th...

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/04G06N3/08
Inventor 周智恒李立军
Owner SOUTH CHINA UNIV OF TECH
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