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

A sample generation method and device

A technology for generating devices and samples, which is applied in the field of data processing, can solve the problems of large training loss, poor sample legitimacy and diversity, and low precision of deep learning models, achieving high legitimacy and diversity, and low training loss.

Active Publication Date: 2019-04-09
CHINA INFORMATION TECH SECURITY EVALUATION CENT
View PDF5 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The present invention provides a sample generation method and device, which can solve the problem of the low accuracy of the deep learning model and the large training loss caused by the neural network training with the two-layer LSTM model in the prior art, which leads to the legality and safety of the final generated samples. The problem of poor diversity

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
  • A sample generation method and device
  • A sample generation method and device
  • A sample generation method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0043] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0044] The present invention provides a sample generation method and device, which can solve the problem of the low accuracy of the deep learning model and the large training loss caused by the neural network training with the two-layer LSTM model in the prior art, which leads to the legality and safety of the final generated samples. The problem of poor diversity.

[0045] Such as figure 1 As shown, the embodiment of the present invention discloses a sample ...

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 sample generation method and device. The method comprises the steps: inputting data in a pre-collected training set into a neural network model, obtaining a sample generationmodel, and enabling the neural network model to be a neural network model employing an attention mechanism; Inputting pre-collected data in the test set into the sample generation model to generate asample. According to the invention, a neural network model of an attention mechanism is adopted; the neural network model can endow characters in the input data with different weights; Therefore, data information in the input data can be learned more selectively, data with high correlation with the current output data in the input data can be found, a high-precision deep learning model can be finally obtained, training loss is low, and samples generated by the high-precision deep learning model are inevitably higher in legality and diversity.

Description

technical field [0001] The invention relates to the field of data processing, in particular to a sample generation method and device. Background technique [0002] Fuzz testing is a common vulnerability mining technique to discover software vulnerabilities by providing unexpected inputs to the target program and monitoring abnormal results. Among them, samples with high legality and diversity need to be generated in fuzz testing. [0003] The existing sample generation method is to use a neural network with a two-layer Long Short-Term Memory (LSTM) model to train a deep learning model, and then input the test data set provided by the Windows official test team into the trained deep learning model. In the model, samples are obtained. [0004] In the existing sample generation method, the source of test data is provided by the government, which is relatively single, which makes the diversity of the final generated samples poor. Moreover, the LSTM model does not have the abi...

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): G06N3/04G06N3/08G06F11/36
CPCG06F11/3672G06N3/08G06N3/044G06N3/045
Inventor 邹权臣马金鑫张利吴润浦王欣
Owner CHINA INFORMATION TECH SECURITY EVALUATION CENT
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