mlsanityData to 7 Oct 2026

NeuRI: Diversifying DNN Generation via Inductive Rule Inference

arXiv 2302.02261 ↗First posted 4 Feb 2023cs.SE cs.LGcited by 6

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

  1. 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,160
  2. 2016Densely Connected Convolutional Networkscited by 6,691
  3. 2022Large Language Models are Zero-Shot Fuzzers: Fuzzing Deep-Learning Libraries via Large Language Modelscited by 102
  4. 2022NNSmith: Generating Diverse and Valid Test Cases for Deep Learning Compilerscited by 29
  5. 2020TF-Coder: Program Synthesis for Tensor Manipulationscited by 27
  6. 2022Free Lunch for Testing: Fuzzing Deep-Learning Libraries from Open Sourcecited by 27
  7. 2021DocTer: Documentation Guided Fuzzing for Testing Deep Learning API Functionscited by 21
  8. 2015A Theory of Formal Synthesis via Inductive Learningcited by 17
  9. 2022Fuzzing Deep-Learning Libraries via Automated Relational API Inferencecited by 16
  10. 2022Muffin: Testing Deep Learning Libraries via Neural Architecture Fuzzingcited by 15
  11. 2021Rewrite Rule Inference Using Equality Saturationcited by 10
  12. 2022Coverage-Guided Tensor Compiler Fuzzing with Joint IR-Pass Mutationcited by 9
3 more
  1. 2021SOAR: A Synthesis Approach for Data Science API Refactoringcited by 8
  2. 2020Graph-Based Fuzz Testing for Deep Learning Inference Enginecited by 7
  3. 2021A Static Analyzer for Detecting Tensor Shape Errors in Deep Neural Network Training Codecited by 2

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2023: 1; 2024: 2; 2025: 2; 2026: 1.

6 papers.