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

A sample generation method and device

A technology for generating devices and samples, applied in the field of data processing, can solve the problems of large training loss, poor sample legitimacy and diversity, and low accuracy of deep learning models, and achieve the effect of high legitimacy and diversity, and small training loss.

Active Publication Date: 2021-06-29
CHINA INFORMATION TECH SECURITY EVALUATION CENT
View PDF3 Cites 0 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 method and device for generating a sample. The data in the pre-collected training set is input into a neural network model to obtain a sample generation model. The neural network model is a neural network model using an attention mechanism; the pre-collected test set is The data input to the sample generation model generates samples. The present invention adopts the neural network model of the attention mechanism, so that the neural network model can assign different weights to the characters in the input data, thereby more selectively learning the data information in the input data, and finding the characters in the input data that are related to this output. Data with high data correlation will eventually obtain a high-precision deep learning model, and the training loss is small, and the samples generated by the high-precision deep learning model must have higher legitimacy 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
Patent Type & Authority Patents(China)
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