Fuzzing MLIR Compilers with Custom Mutation Synthesis
Ben Limpanukorn, Jiyuan Wang, Hong Jin Kang, Eric Zitong Zhou, Miryung, Kim

TL;DR
SYNTHFUZZ is a novel fuzzing tool for MLIR compilers that automatically infers and concretizes custom mutations, significantly improving coverage and validity of generated tests across diverse dialects without manual mutation definitions.
Contribution
The paper introduces SYNTHFUZZ, a new fuzzing approach that automatically infers and applies context-aware mutations for MLIR dialects, reducing manual effort and enhancing test effectiveness.
Findings
SYNTHFUZZ increases MLIR dialect coverage by 1.75 times.
It improves branch coverage by 1.22 times.
It raises the proportion of valid tests by up to 1.11 times.
Abstract
Compiler technologies in deep learning and domain-specific hardware acceleration are increasingly adopting extensible compiler frameworks such as Multi-Level Intermediate Representation (MLIR) to facilitate more efficient development. With MLIR, compiler developers can easily define their own custom IRs in the form of MLIR dialects. However, the diversity and rapid evolution of such custom IRs make it impractical to manually write a custom test generator for each dialect. To address this problem, we design a new test generator called SYNTHFUZZ that combines grammar-based fuzzing with custom mutation synthesis. The key essence of SYNTHFUZZ is two fold: (1) It automatically infers parameterized context-dependent custom mutations from existing test cases. (2) It then concretizes the mutation's content depending on the target context and reduces the chance of inserting invalid edits by…
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
TopicsAdvanced Image and Video Retrieval Techniques · Image Retrieval and Classification Techniques · Natural Language Processing Techniques
