Graph-Based Fuzz Testing for Deep Learning Inference Engine

08/13/2020
by   Weisi Luo, et al.
0

Testing deep learning (DL) systems are increasingly crucial as the increasing usage of the DL system in various domains. Existing testing techniques focus on testing the quality of specific DL models but lacks attention to the core underlying inference engines(frameworks and libraries) on which all DL models depend. In this study, we designed a novel graph-based fuzz testing framework to test the DL inference engine. The proposed framework adopts an operator-level coverage based on graph theory and implements six different mutations to generate diverse DL models by exploring combinations of model structures, parameters, and data. It also employs Monte Carlo Tree Search to drive the decision processes of DL model generation. The experimental results show that: (1) guided by operator-level coverage, our approach is effective in detecting three types of undesired behaviors: models conversion failure, inference failure, output comparison failure; (2) the MCTS-based search outperforms random-based search in boosting operator-level coverage and detecting exceptions; (3) our mutants are useful to generate new valid test inputs with the original graph or subgraph, by up to a 21.6% more operator-level coverage on average and 24.3 more exceptions captured.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
09/05/2019

DeepEvolution: A Search-Based Testing Approach for Deep Neural Networks

The increasing inclusion of Deep Learning (DL) models in safety-critical...
research
08/02/2022

MEMO: Coverage-guided Model Generation For Deep Learning Library Testing

Recent deep learning (DL) applications are mostly built on top of DL lib...
research
11/24/2019

DeepSmartFuzzer: Reward Guided Test Generation For Deep Learning

Testing Deep Neural Network (DNN) models has become more important than ...
research
02/04/2023

NeuRI: Diversifying DNN Generation via Inductive Rule Inference

Deep Learning (DL) is prevalently used in various industries to improve ...
research
12/13/2018

DeepCruiser: Automated Guided Testing for Stateful Deep Learning Systems

Deep learning (DL) defines a data-driven programming paradigm that autom...
research
07/06/2020

Model-based Exploration of the Frontier of Behaviours for Deep Learning System Testing

With the increasing adoption of Deep Learning (DL) for critical tasks, s...
research
05/17/2022

Hierarchical Distribution-Aware Testing of Deep Learning

With its growing use in safety/security-critical applications, Deep Lear...

Please sign up or login with your details

Forgot password? Click here to reset