Muffin: Testing Deep Learning Libraries via Neural Architecture Fuzzing
Not on the map. Why?
Abstract (arXiv)
Deep learning (DL) techniques are proven effective in many challenging tasks, and become widely-adopted in practice. However, previous work has shown that DL libraries, the basis of building and executing DL models, contain bugs and can cause severe consequences. Unfortunately, existing testing approaches still cannot comprehensively exercise DL libraries. They utilize existing trained models and only detect bugs in model inference phase. In this work we propose Muffin to address these issues. To this end, Muffin applies a specifically-designed model fuzzing approach, which allows it to generate diverse DL models to explore the target library, instead of relying only on existing trained models. Muffin makes differential testing feasible in the model training phase by tailoring a set of metrics to measure the inconsistencies between different DL libraries. In this way, Muffin can best exercise the library code to detect more bugs. To evaluate the effectiveness of Muffin, we conduct experiments on three widely-used DL libraries. The results demonstrate that Muffin can detect 39 new bugs in the latest release versions of popular DL libraries, including Tensorflow, CNTK, and Theano.
Key facts. Cited by 15 papers in the map (data through 7 Oct 2026). First posted on arXiv 19 Apr 2022.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2022: 3; 2023: 3; 2024: 7; 2025: 1; 2026: 1.
15 papers.
Sort:
- 2023WhiteFox: White-Box Compiler Fuzzing Empowered by Large Language Modelscited by 37
- 2022NNSmith: Generating Diverse and Valid Test Cases for Deep Learning Compilerscited by 29
- 2024Large Language Models Synergize with Automated Machine Learningcited by 8
- 2023NeuRI: Diversifying DNN Generation via Inductive Rule Inferencecited by 6
- 2026Hidden Reliability Risks in Large Language Models: Systematic Identification of Precision-Induced Output Disagreementscited by 5
- 2024On the Challenges of Fuzzing Techniques via Large Language Modelscited by 4
- 2024Deep Learning Library Testing: Definition, Methods and Challengescited by 4
- 2024Enhancing Differential Testing With LLMs For Testing Deep Learning Librariescited by 4
- 2022Test2Vec: An Execution Trace Embedding for Test Case Prioritizationcited by 3
- 2022COMET: Coverage-guided Model Generation For Deep Learning Library Testingcited by 3
- 2024Generative transformations and patterns in LLM-native approaches for software verification and falsificationcited by 2
- 2023Analysis of Failures and Risks in Deep Learning Model Converters: A Case Study in the ONNX Ecosystemcited by 0
3 more
- 2024Fuzzy Logic Guided Reward Function Variation: An Oracle for Testing Reinforcement Learning Programscited by 0
- 2024CAP: Detecting Unauthorized Data Usage in Generative Models via Prompt Generationcited by 0
- 2025GPU Temperature Simulation-Based Testing for In-Vehicle Deep Learning Frameworkscited by 0
- 2026Hidden Reliability Risks in Large Language Models: Systematic Identification of Precision-Induced Output Disagreements2 Apr 2026
- 2025GPU Temperature Simulation-Based Testing for In-Vehicle Deep Learning Frameworks19 Sep 2025
- 2024CAP: Detecting Unauthorized Data Usage in Generative Models via Prompt Generation8 Oct 2024
- 2024Fuzzy Logic Guided Reward Function Variation: An Oracle for Testing Reinforcement Learning Programs28 Jun 2024
- 2024Enhancing Differential Testing With LLMs For Testing Deep Learning Libraries12 Jun 2024
- 2024Large Language Models Synergize with Automated Machine Learning6 May 2024
- 2024Deep Learning Library Testing: Definition, Methods and Challenges27 Apr 2024
- 2024Generative transformations and patterns in LLM-native approaches for software verification and falsification14 Apr 2024
- 2024On the Challenges of Fuzzing Techniques via Large Language Models1 Feb 2024
- 2023WhiteFox: White-Box Compiler Fuzzing Empowered by Large Language Models24 Oct 2023
- 2023Analysis of Failures and Risks in Deep Learning Model Converters: A Case Study in the ONNX Ecosystem30 Mar 2023
- 2023NeuRI: Diversifying DNN Generation via Inductive Rule Inference4 Feb 2023
- 2023WhiteFox: White-Box Compiler Fuzzing Empowered by Large Language Modelscited by 37
- 2022NNSmith: Generating Diverse and Valid Test Cases for Deep Learning Compilerscited by 29
- 2024Large Language Models Synergize with Automated Machine Learningcited by 8
- 2023NeuRI: Diversifying DNN Generation via Inductive Rule Inferencecited by 6
- 2026Hidden Reliability Risks in Large Language Models: Systematic Identification of Precision-Induced Output Disagreementscited by 5
- 2024On the Challenges of Fuzzing Techniques via Large Language Modelscited by 4
- 2024Deep Learning Library Testing: Definition, Methods and Challengescited by 4
- 2024Enhancing Differential Testing With LLMs For Testing Deep Learning Librariescited by 4
- 2022Test2Vec: An Execution Trace Embedding for Test Case Prioritizationcited by 3
- 2022COMET: Coverage-guided Model Generation For Deep Learning Library Testingcited by 3
- 2024Generative transformations and patterns in LLM-native approaches for software verification and falsificationcited by 2
- 2023Analysis of Failures and Risks in Deep Learning Model Converters: A Case Study in the ONNX Ecosystemcited by 0
12 most cited of 15 All 15 (JSON)
- 2026Hidden Reliability Risks in Large Language Models: Systematic Identification of Precision-Induced Output Disagreements2 Apr 2026
- 2025GPU Temperature Simulation-Based Testing for In-Vehicle Deep Learning Frameworks19 Sep 2025
- 2024CAP: Detecting Unauthorized Data Usage in Generative Models via Prompt Generation8 Oct 2024
- 2024Fuzzy Logic Guided Reward Function Variation: An Oracle for Testing Reinforcement Learning Programs28 Jun 2024
- 2024Enhancing Differential Testing With LLMs For Testing Deep Learning Libraries12 Jun 2024
- 2024Large Language Models Synergize with Automated Machine Learning6 May 2024
- 2024Deep Learning Library Testing: Definition, Methods and Challenges27 Apr 2024
- 2024Generative transformations and patterns in LLM-native approaches for software verification and falsification14 Apr 2024
- 2024On the Challenges of Fuzzing Techniques via Large Language Models1 Feb 2024
- 2023WhiteFox: White-Box Compiler Fuzzing Empowered by Large Language Models24 Oct 2023
- 2023Analysis of Failures and Risks in Deep Learning Model Converters: A Case Study in the ONNX Ecosystem30 Mar 2023
- 2023NeuRI: Diversifying DNN Generation via Inductive Rule Inference4 Feb 2023
12 newest of 15 All 15 (JSON)