Graph-Based Fuzz Testing for Deep Learning Inference Engine
Not on the map. Why?
Abstract (arXiv)
With the wide use of Deep Learning (DL) systems, academy and industry begin to pay attention to their quality. Testing is one of the major methods of quality assurance. However, existing testing techniques focus on the quality of DL models but lacks attention to the core underlying inference engines (i.e., frameworks and libraries). Inspired by the success stories of fuzz testing, we design a graph-based fuzz testing method to improve the quality of DL inference engines. This method is naturally followed by the graph structure of DL models. A novel operator-level coverage criterion based on graph theory is introduced and six different mutations are implemented to generate diversified DL models by exploring combinations of model structures, parameters, and data inputs. The Monte Carlo Tree Search (MCTS) is used to drive DL model generation without a training process. The experimental results show that the MCTS outperforms the random method in boosting operator-level coverage and detecting exceptions. Our method has discovered more than 40 different exceptions in three types of undesired behaviors: model conversion failure, inference failure, output comparison failure. The mutation strategies are useful to generate new valid test inputs, by up to 8.2% more operator-level coverage on average and 8.6 more exceptions captured.
Key facts. Cited by 7 papers in the map (data through 7 Oct 2026). First posted on arXiv 13 Aug 2020.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2022: 2; 2023: 2; 2024: 1; 2025: 1; 2026: 1.
7 papers.
- 2022NNSmith: Generating Diverse and Valid Test Cases for Deep Learning Compilerscited by 29
- 2023NeuRI: Diversifying DNN Generation via Inductive Rule Inferencecited by 6
- 2024Enhancing Differential Testing With LLMs For Testing Deep Learning Librariescited by 4
- 2022COMET: Coverage-guided Model Generation For Deep Learning Library Testingcited by 3
- 2026Continuous Discovery of Vulnerabilities in LLM Serving Systems with Fuzzingcited by 1
- 2023ConFL: Constraint-guided Fuzzing for Machine Learning Frameworkcited by 0
- 2025Verify Distributed Deep Learning Model Implementation Refinement with Iterative Relation Inferencecited by 0
- 2026Continuous Discovery of Vulnerabilities in LLM Serving Systems with Fuzzing11 May 2026
- 2025Verify Distributed Deep Learning Model Implementation Refinement with Iterative Relation Inference13 Aug 2025
- 2024Enhancing Differential Testing With LLMs For Testing Deep Learning Libraries12 Jun 2024
- 2023ConFL: Constraint-guided Fuzzing for Machine Learning Framework11 Jul 2023
- 2023NeuRI: Diversifying DNN Generation via Inductive Rule Inference4 Feb 2023
- 2022COMET: Coverage-guided Model Generation For Deep Learning Library Testing2 Aug 2022
- 2022NNSmith: Generating Diverse and Valid Test Cases for Deep Learning Compilers26 Jul 2022