2022
DOI: 10.48550/arxiv.2204.08734
|View full text |Cite
Preprint
|
Sign up to set email alerts
|

Muffin: Testing Deep Learning Libraries via Neural Architecture Fuzzing

Abstract: 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, Muf… Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
2
2
1

Citation Types

0
5
0

Year Published

2022
2022
2023
2023

Publication Types

Select...
2

Relationship

0
2

Authors

Journals

citations
Cited by 2 publications
(5 citation statements)
references
References 34 publications
0
5
0
Order By: Relevance
“…Meanwhile, there are two categories of proposals for constructing valid models. Weakly constrained model generation [13,23,42] limits the use of APIs to avoid dealing with fine-grained constraints. For example, LEMON [42] only operates shape-preserving operators without input constraints.…”
Section: Our Goalmentioning
confidence: 99%
See 3 more Smart Citations
“…Meanwhile, there are two categories of proposals for constructing valid models. Weakly constrained model generation [13,23,42] limits the use of APIs to avoid dealing with fine-grained constraints. For example, LEMON [42] only operates shape-preserving operators without input constraints.…”
Section: Our Goalmentioning
confidence: 99%
“…For example, LEMON [42] only operates shape-preserving operators without input constraints. More recent work [13,23] additionally inserts "reshaping" layers such that reshaped output tensors can stay in compatible shapes. However, it still may not construct operators with valid attributes (non-tensor arguments).…”
Section: Our Goalmentioning
confidence: 99%
See 2 more Smart Citations
“…However, this design still substantially limits model diversity (as demonstrated in §2.3). The very recent (and concurrent) Muffin work [18] shares a similar limitation as GraphFuzzer: it uses "reshaping" layers to align tensor shapes during model generation; in addition, Muffin focuses on finding gradient computation bugs in DL libraries rather than DL compiler bugs. In this work, we aim to support more diverse/valid model generation for DL compiler fuzzing via a fundamentally different design powered by symbolic constraint solving [10] and gradient-driven search.…”
Section: System Fuzzingmentioning
confidence: 99%