NeuRI: Diversifying DNN Generation via Inductive Rule Inference
Not on the map. Why?
Abstract (arXiv)
Deep Learning (DL) is prevalently used in various industries to improve decision-making and automate processes, driven by the ever-evolving DL libraries and compilers. The correctness of DL systems is crucial for trust in DL applications. As such, the recent wave of research has been studying the automated synthesis of test-cases (i.e., DNN models and their inputs) for fuzzing DL systems. However, existing model generators only subsume a limited number of operators, lacking the ability to pervasively model operator constraints. To address this challenge, we propose NeuRI, a fully automated approach for generating valid and diverse DL models composed of hundreds of types of operators. NeuRI adopts a three-step process: (i) collecting valid and invalid API traces from various sources; (ii) applying inductive program synthesis over the traces to infer the constraints for constructing valid models; and (iii) using hybrid model generation which incorporates both symbolic and concrete operators. Our evaluation shows that NeuRI improves branch coverage of TensorFlow and PyTorch by 24% and 15% over the state-of-the-art model-level fuzzers. NeuRI finds 100 new bugs for PyTorch and TensorFlow in four months, with 81 already fixed or confirmed. Of these, 9 bugs are labelled as high priority or security vulnerability, constituting 10% of all high-priority bugs of the period. Open-source developers regard error-inducing tests reported by us as "high-quality" and "common in practice".
Key facts. Cited by 6 papers in the map (data through 7 Oct 2026). Builds on 15 of its 65 references that are in the map. First posted on arXiv 4 Feb 2023.
Builds on
15 of 65 references.
References · 15
- 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,160
- 2016Densely Connected Convolutional Networkscited by 6,691
- 2022Large Language Models are Zero-Shot Fuzzers: Fuzzing Deep-Learning Libraries via Large Language Modelscited by 102
- 2022NNSmith: Generating Diverse and Valid Test Cases for Deep Learning Compilerscited by 29
- 2020TF-Coder: Program Synthesis for Tensor Manipulationscited by 27
- 2022Free Lunch for Testing: Fuzzing Deep-Learning Libraries from Open Sourcecited by 27
- 2021DocTer: Documentation Guided Fuzzing for Testing Deep Learning API Functionscited by 21
- 2015A Theory of Formal Synthesis via Inductive Learningcited by 17
- 2022Fuzzing Deep-Learning Libraries via Automated Relational API Inferencecited by 16
- 2022Muffin: Testing Deep Learning Libraries via Neural Architecture Fuzzingcited by 15
- 2021Rewrite Rule Inference Using Equality Saturationcited by 10
- 2022Coverage-Guided Tensor Compiler Fuzzing with Joint IR-Pass Mutationcited by 9
Built on by
Citing papers per year: 2023: 1; 2024: 2; 2025: 2; 2026: 1.
6 papers.
- 2023WhiteFox: White-Box Compiler Fuzzing Empowered by Large Language Modelscited by 37
- 2025Training with Confidence: Catching Silent Errors in Deep Learning Training with Automated Proactive Checkscited by 10
- 2025Your Compiler is Backdooring Your Model: Understanding and Exploiting Compilation Inconsistency Vulnerabilities in Deep Learning Compilerscited by 6
- 2024Deep Learning Library Testing: Definition, Methods and Challengescited by 4
- 2024Productively Deploying Emerging Models on Emerging Platforms: A Top-Down Approach for Testing and Debuggingcited by 2
- 2026Demystifying the Silence of Correctness Bugs in PyTorch Compilercited by 0
- 2026Demystifying the Silence of Correctness Bugs in PyTorch Compiler9 Apr 2026
- 2025Your Compiler is Backdooring Your Model: Understanding and Exploiting Compilation Inconsistency Vulnerabilities in Deep Learning Compilers14 Sep 2025
- 2025Training with Confidence: Catching Silent Errors in Deep Learning Training with Automated Proactive Checks6 Jun 2025
- 2024Deep Learning Library Testing: Definition, Methods and Challenges27 Apr 2024
- 2024Productively Deploying Emerging Models on Emerging Platforms: A Top-Down Approach for Testing and Debugging14 Apr 2024
- 2023WhiteFox: White-Box Compiler Fuzzing Empowered by Large Language Models24 Oct 2023