Proj CDeepFuzz Paper Reading: Coverage-Guided Tensor Compiler Fuzzing with Joint IR-Pass Mutation
Abstract
背景:
- 目前已有工作test underlying operator-level DL Libraries,但测试compier的工作比较少
- compiler: compile high-level tensor computation graphs into high-performance binaries
- high-level IR has limited mutation space
本文:TZER
task: mutating the low-level IR for TVM tensor compiler
Method: 同时利用general purpose和tensor-compiler-specific mutators mutators guided by coverage feedback, pass mutation
Bug Type: Differential Testing with/without O0 binary(inconsistency, worse performance), Runtime Failure(Crash, Exception)
实验:
Competitor: TVMFuzz, LibFuzzer, LEMON
效果:
- +75% coverage, +50% valuable tests than 2nd-based tech
- use ablation study to validate different components of TZER
- +49 unknown bugs, + 37 bugs confirmed, + 25 fixed