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

Convolutional neural network-oriented mutation coverage test method and computer storage medium

A technology of convolutional neural network and coverage testing, which is applied in the field of software testing methods and computer storage media, can solve problems such as difficulty in ensuring the testing adequacy of convolutional neural network application programs, and improve testing adequacy, guarantee quality and safety, The effect of improving adequacy

Active Publication Date: 2019-10-18
ARMY ENG UNIV OF PLA
View PDF4 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] Purpose of the invention: the technical problem to be solved by the present invention is to provide a variation coverage test method and computer storage medium for convolutional neural networks, to solve the problem that traditional testing methods are difficult to ensure the test adequacy of convolutional neural network applications, and to effectively Improve the test adequacy of the convolutional neural network, which is more effective in testing the neural network model, and can find the local optimal model according to the test accuracy

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
  • Convolutional neural network-oriented mutation coverage test method and computer storage medium
  • Convolutional neural network-oriented mutation coverage test method and computer storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0022] The method process of the embodiment of the present invention is as figure 1 As shown, the input is the convolutional neural network program P to be tested, the training data set D and the test data set T, and the steps are as follows:

[0023] Step 1: Inject the set n types of mutation operators into the convolutional neural network program P to be tested, and a series of mutation programs p' will be obtained;

[0024] Step 2: Use the training data set D to train the series of mutation programs p' respectively, and a series of mutation models {M 1 , M 2 , M 3 ,...,M n};

[0025] Step 3: Use the test data set T to pair the variation model set M' (from the original model and the obtained variation model {M 1 , M 2 , M 3 ,...,M n} composition) to test;

[0026] Step 4: Compare the experimental results, observe whether the test accuracy of the original model is the highest among the models of this type, and select the model with the highest test accuracy.

[0027...

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 convolutional neural network-oriented mutation coverage test method and a computer storage medium, and the method comprises the following steps: 1) setting n mutation operators, and respectively injecting the n mutation operators into a to-be-tested convolutional neural network program P to obtain a mutation program set {P1, P2, P3,and the like, Pn}; 2) training the variation program set {P1, P2, P3, and the like, Pn} by using a training data set D to obtain a variation model set {M1, M2, M3, and the like, Mn}; 3) testing the original model M and the variation model set {M1, M2, M3, and the like, Mn} by using a test data set T; and 4) comparing the test accuracy of all the models, and selecting the model with the highest accuracy. According to the invention, the defect that the traditional test method is difficult to ensure the test sufficiency of the convolutional neural network application program is solved. The test sufficiency of the convolutional neural network can be effectively improved, the method is more effective in neural network model testing, the local optimal model can be found out according to the test accuracy, and the quality and safety ofthe convolutional neural network application program are effectively guaranteed.

Description

technical field [0001] The invention relates to a software testing method and a computer storage medium, in particular to a convolutional neural network-oriented mutation coverage testing method and a computer storage medium. Background technique [0002] The practical application of convolutional neural networks in image classification and recognition, natural language processing and other fields has achieved great success, and many safety-critical fields are also eager to introduce convolutional neural networks. However, due to some errors in convolutional neural network systems recently, people are paying more and more attention to the security and reliability of convolutional neural network applications. Current testing methods mainly consist of white-box differential testing algorithms for systematically generating adversarial examples covering all neurons in the network. For convolutional neural network testing adequacy, existing software testing adequacy methods and ...

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): G06F11/36
CPCG06F11/3676G06F11/3688
Inventor 姚奕刘佳洛赵潇黄松吴开舜邓超陈文科刘伟豪刘峰
Owner ARMY ENG UNIV OF PLA
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