mlsanityData to 7 Oct 2026

Coverage-Guided Tensor Compiler Fuzzing with Joint IR-Pass Mutation

arXiv 2202.09947 ↗First posted 21 Feb 2022cs.SE cs.CR cs.LGcited by 9

Not on the map. Why?

Abstract (arXiv)

In the past decade, Deep Learning (DL) systems have been widely deployed in various domains to facilitate our daily life. Meanwhile, it is extremely challenging to ensure the correctness of DL systems (e.g., due to their intrinsic nondeterminism), and bugs in DL systems can cause serious consequences and may even threaten human lives. In the literature, researchers have explored various techniques to test, analyze, and verify DL models, since their quality directly affects the corresponding system behaviors. Recently, researchers have also proposed novel techniques for testing the underlying operator-level DL libraries (such as TensorFlow and PyTorch), which provide general binary implementations for each high-level DL operator for running various DL models on many platforms. However, there is still limited work targeting the reliability of the emerging tensor compilers, which aim to directly compile high-level tensor computation graphs into high-performance binaries for better efficiency, portability, and scalability. In this paper, we target the important problem of tensor compiler testing, and have proposed Tzer, a practical fuzzing technique for the widely used TVM tensor compiler. Tzer focuses on mutating the low-level Intermediate Representation (IR) for TVM due to the limited mutation space for the high-level IR. More specifically, Tzer leverages both general-purpose and tensor-compiler-specific mutators guided by coverage feedback for evolutionary IR mutation; furthermore, Tzer also performs pass mutation in tandem with IR mutation for more effective fuzzing. Our results show that Tzer substantially outperforms existing fuzzing techniques on tensor compiler testing, with 75% higher coverage and 50% more valuable tests than the 2nd-best technique. To date, Tzer has detected 49 previously unknown bugs for TVM, with 37 bugs confirmed and 25 bugs fixed (PR merged).

Key facts. Cited by 9 papers in the map (data through 7 Oct 2026). Builds on 24 of its 75 references that are in the map. First posted on arXiv 21 Feb 2022.

Builds on

24 of 75 references.

References · 24

  1. 2017Attention Is All You Needcited by 59,932
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  3. 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,160
  4. 2018OpenPose: Realtime Multi-Person 2D Pose Estimation using Part Affinity Fieldscited by 1,161
  5. 2019A Survey of Deep Learning Techniques for Autonomous Drivingcited by 401
  6. 2017DeepXplore: Automated Whitebox Testing of Deep Learning Systemscited by 307
  7. 2017Recent Trends in Deep Learning Based Natural Language Processingcited by 262
  8. 2017DeepTest: Automated Testing of Deep-Neural-Network-driven Autonomous Carscited by 249
  9. 2014cuDNN: Efficient Primitives for Deep Learningcited by 240
  10. 2019PifPaf: Composite Fields for Human Pose Estimationcited by 120
  11. 2018Glow: Graph Lowering Compiler Techniques for Neural Networkscited by 73
  12. 2018TensorFuzz: Debugging Neural Networks with Coverage-Guided Fuzzingcited by 67
12 more
  1. 2020MLIR: A Compiler Infrastructure for the End of Moore's Lawcited by 64
  2. 2018TVM: An Automated End-to-End Optimizing Compiler for Deep Learningcited by 62
  3. 2018The Art, Science, and Engineering of Fuzzing: A Surveycited by 61
  4. 2018DeepBillboard: Systematic Physical-World Testing of Autonomous Driving Systemscited by 50
  5. 2020The Deep Learning Compiler: A Comprehensive Surveycited by 46
  6. 2018Evaluating Fuzz Testingcited by 29
  7. 2022Free Lunch for Testing: Fuzzing Deep-Learning Libraries from Open Sourcecited by 27
  8. 2017FairFuzz: Targeting Rare Branches to Rapidly Increase Greybox Fuzz Testing Coveragecited by 20
  9. 2020Compiling ONNX Neural Network Models Using MLIRcited by 18
  10. 2016Skeletal Program Enumeration for Rigorous Compiler Testingcited by 6
  11. 2021Fast and Flexible Human Pose Estimation with HyperPosecited by 5
  12. 2020SQUIRREL: Testing Database Management Systems with Language Validity and Coverage Feedbackcited by 4

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2022: 1; 2023: 4; 2024: 0; 2025: 3; 2026: 1.

9 papers.