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

Condition-guided adversarial generation test method and system for deep neural network

A deep neural network and testing method technology, applied in the field of test case generation, can solve problems such as inability to have constraints, ignoring high-level semantics of images, waste of resources and time, etc., to achieve the effect of improving accuracy, reducing generation scale, and reducing scale

Active Publication Date: 2019-10-29
HOHAI UNIV
View PDF4 Cites 10 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The mutation algorithm of the above method to generate test cases uses the low-level visual information of the image, ignoring the high-level semantics of the image, and the middle and low-level visual information often represents the detailed information of the image.
And a large number of invalid test cases are generated, and the test cases we need cannot be generated constrainedly, wasting resources and time

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
  • Condition-guided adversarial generation test method and system for deep neural network
  • Condition-guided adversarial generation test method and system for deep neural network

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0035] Below in conjunction with specific embodiments, the present invention will be further illustrated, and it should be understood that these embodiments are only used to illustrate the present invention and not to limit the scope of the present invention. The modifications all fall within the scope defined by the appended claims of this application.

[0036] like figure 1 As shown, a conditional guided adversarial generation test method for deep neural networks mainly includes 6 steps:

[0037] Step 1: Obtain the corresponding data set and corresponding label information of the deep neural network to be tested;

[0038] Step 2: Randomly divide the dataset into several subsets, store these subsets as batches in the batch pool, and set the joining time for each batch;

[0039] Step 3: Heuristically select batches from the batch pool, and sample a set of seed sets from the selected batches as the input of the Conditional Adversarial Generation Network (CAGN);

[0040] Step...

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 provides a condition-guided adversarial generation test method and system for a deep neural network, and the method comprises the steps: collecting a needed data set and a correspondinglabel, carrying out the grouping of the needed data set and the corresponding label, obtaining a needed batch processing pool data set, selecting a seed set through employing a heuristic algorithm, and carrying out the condition-guided adversarial generation training set. The target of the test generation process is to maximize the network coverage rate of the test suite, obtain a generated picture set and input the picture set into a corresponding network as a training set for testing, and if the generated picture set enables the coverage rate of the original network to be improved, the pictures are added into a batch processing pool as a batch. According to the method, the condition-guided adversarial generation network is used, the labels of the pictures are used as conditions to generate the pictures, and the generation scale can be reduced. The test case is confronted and generated under the guidance of the coverage rate, the neuron coverage rate of a given network or system can be maximized, and the precision of the deep neural network to be tested is improved.

Description

technical field [0001] The invention relates to a test case generation method, in particular to a conditional and controllable test case generation method, which belongs to the field of artificial intelligence testing. Background technique [0002] In recent years, Deep Neural Networks (DNNs) have been widely used in various application fields such as image recognition, natural language processing, malware detection, self-driving cars, etc. due to their high accuracy and efficiency. However, as more and more safety-critical applications start to adopt DNNs, deploying DNNs without thorough testing can create serious problems, such as possible accidents during autonomous driving. Therefore, efficient and reliable testing of deep neural network-based systems is imminent. [0003] Fuzzing is a good way to test DNNs. Traditional fuzzing mutates through bit / byte flips, block replacements, and intersections between input files, etc., but these methods result in too many inputs to...

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): G06K9/62G06N3/04
CPCG06V30/10G06N3/045G06F18/214
Inventor 张鹏程戴启印曹文南吉顺慧
Owner HOHAI UNIV
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