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

Coded text generation method and device based on adversarial training and electronic equipment

A technology of electronic equipment and training methods, applied in the field of data processing, can solve problems such as reducing the robustness of the model, and achieve the effect of improving comprehension ability and coding efficiency

Pending Publication Date: 2022-07-01
北京快确信息科技有限公司
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] In view of the above deficiencies in the prior art, the present invention provides a method, device, and electronic device for generating coded text based on confrontational training, aiming to solve the problem of reducing the robustness of the model when the confrontational training method is applied to the pre-trained model in the prior art. sticky 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
  • Coded text generation method and device based on adversarial training and electronic equipment
  • Coded text generation method and device based on adversarial training and electronic equipment
  • Coded text generation method and device based on adversarial training and electronic equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0047] In order to make the objectives, technical solutions and effects of the present invention clearer and clearer, the present invention will be described in further detail below. It should be understood that the specific embodiments described herein are only used to explain the present invention, but not to limit the present invention.

[0048] The embodiments of the present invention are described below with reference to the accompanying drawings.

[0049] In view of the above problems, an embodiment of the present invention provides a method for generating encoded text based on adversarial training, please refer to figure 1 , figure 1 This is a flow chart of a preferred embodiment of a method for generating encoded text based on adversarial training of the present invention. like figure 1 shown, it includes:

[0050] Step S100, constructing an adversarial generation network in advance;

[0051] Step S200, optimizing the confrontation generation network to generate a...

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 coded text generation method and device based on adversarial training and electronic equipment. The method comprises the steps that an adversarial generative network is constructed in advance; the generative adversarial network is optimized, an optimized generative adversarial network is generated, and discarded masks in each training in the optimized generative adversarial network are not fixed; performing adversarial training on the pre-training model according to the generative adversarial network to generate a target pre-training model; and inputting bond information to be processed into the target pre-training model to generate a coded text. According to the embodiment of the invention, a fixed dropout mask is not adopted any more, but a probability distribution measurement index or a mean square error and the like are adopted to constrain the output difference of the two different dropout models, so that the dropout can play the role of the dropout, the output of the two different dropout models can be kept consistent as much as possible, the understanding ability of the pre-training model to a text is improved, and the method and the device have the advantages that the method and the device are easy to implement. And the text coding efficiency is improved.

Description

technical field [0001] The present invention relates to the technical field of data processing, and in particular, to a method, device and electronic device for generating encoded text based on adversarial training. Background technique [0002] In the field of deep learning, adversarial training is an effective method to improve model robustness. Adversarial training methods were first used in the field of computer vision. GAN is a relatively successful example in adversarial training. It generates samples that can deceive the discriminant network through the generation network, and the discriminant network determines the authenticity of the samples generated by the generation network, so that the samples generated by the generation network cannot deceive the discriminant network. Under the interaction of the discriminative network and the generative network, the recognition ability of the discriminant network is continuously improved, which is the idea of ​​adversarial tr...

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): G06F40/126G06N3/04G06N3/08
CPCG06F40/126G06N3/08G06N3/045
Inventor 林远平甘伟超喻广博邹鸿岳周靖宇
Owner 北京快确信息科技有限公司
Features
  • Generate Ideas
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More