MoCo: Fuzzing Deep Learning Libraries via Assembling Code
Pin Ji, Yang Feng, Duo Wu, Lingyue Yan, Pengling Chen, Jia Liu, and, Zhihong Zhao

TL;DR
MoCo introduces a novel code assembly-based fuzzing approach for DL libraries, improving bug detection accuracy and efficiency, and successfully discovering numerous new bugs in popular DL frameworks.
Contribution
MoCo's innovative code assembly and mutation strategy enhances fuzzing diversity and precision, addressing limitations of prior DL library testing methods.
Findings
Detected 64 new bugs across three DL libraries
Confirmed 51 bugs and 13 fixed by developers
Demonstrated high efficiency and effectiveness of MoCo
Abstract
The rapidly developing deep learning (DL) techniques have been applied in software systems with various application scenarios. However, they could also pose new safety threats with potentially serious consequences, especially in safety-critical domains. DL libraries serve as the underlying foundation for DL systems, and bugs in them can have unpredictable impacts that directly affect the behaviors of DL systems. Previous research on fuzzing DL libraries still has limitations in the diversity of test inputs, the construction of test oracles, and the precision of detection. In this paper, we propose MoCo, a novel fuzzing testing method for DL libraries via assembling code. MoCo first disassembles the seed code file to obtain the template and code blocks, and then employs code block mutation operators (e.g., API replacement, random generation, and boundary checking) to generate more new…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsWeb Data Mining and Analysis · Wikis in Education and Collaboration
