Lune

ISSTA2021Top-tier venue

Predoo: precision testing of deep learning operators

Xufan Zhang, Ning Sun, Chunrong Fang, Jiawei Liu, Jia Liu, Dong Chai, Jiang Wang, Zhenyu Chen

Abstract

Deep learning(DL) techniques attract people from various fields with superior performance in making progressive breakthroughs. To ensure the quality of DL techniques, researchers have been working on testing and verification approaches. Some recent studies reveal that the underlying DL operators could cause defects inside a DL model. DL operators work as fundamental components in DL libraries. Library developers still work on practical approaches to ensure the quality of operators they provide. However, the variety of DL operators and the implementation complexity make it challenging to evaluate their quality. Operator testing with limited test cases may fail to reveal hidden defects inside the implementation. Besides, the existing model-to-library testing approach requires extra labor and time cost to identify and locate errors, i.e., developers can only react to the exposed defects. This paper proposes a fuzzing-based operator-level precision testing approach to estimate individual DL operators' precision errors to bridge this gap. Unlike conventional fuzzing techniques, valid shape variable inputs and fine-grained precision error evaluation are implemented. The testing of DL operators is treated as a searching problem to maximize output precision errors. We implement our approach in a tool named Predoo and conduct an experiment on seven DL operators from TensorFlow. The experiment result shows that Predoo can trigger larger precision errors compared to the error threshold declared in the testing scripts from the TensorFlow repository.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

15 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Understanding performance problems in deep learning systems cites Detecting numerical bugs in neural network architectures
  • Understanding performance problems in deep learning systems cites Deep learning library testing via effective model generation
  • Understanding performance problems in deep learning systems cites Audee: Automated Testing for Deep Learning Frameworks
  • Free Lunch for Testing: Fuzzing Deep-Learning Libraries from Open Source cites Detecting numerical bugs in neural network architectures
  • Free Lunch for Testing: Fuzzing Deep-Learning Libraries from Open Source cites Deep learning library testing via effective model generation
  • NNSmith: Generating Diverse and Valid Test Cases for Deep Learning Compilers cites Free Lunch for Testing: Fuzzing Deep-Learning Libraries from Open Source
  • NNSmith: Generating Diverse and Valid Test Cases for Deep Learning Compilers cites Graph-based Fuzz Testing for Deep Learning Inference Engines
  • NNSmith: Generating Diverse and Valid Test Cases for Deep Learning Compilers cites Deep learning library testing via effective model generation
  • NNSmith: Generating Diverse and Valid Test Cases for Deep Learning Compilers cites Audee: Automated Testing for Deep Learning Frameworks
  • NNSmith: Generating Diverse and Valid Test Cases for Deep Learning Compilers cites Fuzzing deep-learning libraries via automated relational API inference
  • Fuzzing Automatic Differentiation in Deep-Learning Libraries cites Free Lunch for Testing: Fuzzing Deep-Learning Libraries from Open Source
  • Fuzzing Automatic Differentiation in Deep-Learning Libraries cites NNSmith: Generating Diverse and Valid Test Cases for Deep Learning Compilers
  • Fuzzing Automatic Differentiation in Deep-Learning Libraries cites Detecting numerical bugs in neural network architectures
  • Fuzzing Automatic Differentiation in Deep-Learning Libraries cites Deep learning library testing via effective model generation
  • Fuzzing Automatic Differentiation in Deep-Learning Libraries cites Audee: Automated Testing for Deep Learning Frameworks
  • Fuzzing Automatic Differentiation in Deep-Learning Libraries cites Fuzzing deep-learning libraries via automated relational API inference
  • Fuzzing deep-learning libraries via automated relational API inference cites Free Lunch for Testing: Fuzzing Deep-Learning Libraries from Open Source
  • Fuzzing deep-learning libraries via automated relational API inference cites Deep learning library testing via effective model generation
  • Fuzzing deep-learning libraries via automated relational API inference cites Audee: Automated Testing for Deep Learning Frameworks
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers15

  1. Free Lunch for Testing: Fuzzing Deep-Learning Libraries from Open SourceAnjiang Wei, Yinlin Deng, Chenyuan Yang, Lingming ZhangICSE 2022 · 91 citations
  2. NNSmith: Generating Diverse and Valid Test Cases for Deep Learning CompilersJiawei Liu, Jinkun Lin, Fabian Ruffy, Cheng Tan et al.ASPLOS 2023 · 90 citations
  3. Fuzzing deep-learning libraries via automated relational API inferenceYinlin Deng, Chenyuan Yang, Anjiang Wei, Lingming ZhangFSE 2022 · 83 citations
  4. Fuzzing Automatic Differentiation in Deep-Learning LibrariesChenyuan Yang, Yinlin Deng, Jiayi Yao, Yuxing Tu et al.ICSE 2023 · 34 citations
  5. Understanding performance problems in deep learning systemsJunming Cao, Bihuan Chen, Chao Sun, Longjie Hu et al.FSE 2022 · 33 citations

Builds on6

  1. Deep learning library testing via effective model generationZan Wang, Ming Yan, Junjie Chen, Shuang Liu et al.FSE 2020 · 165 citations
  2. Audee: Automated Testing for Deep Learning FrameworksQianyu Guo, Xiaofei Xie, Yi Li, Xiaoyu Zhang et al.ASE 2020 · 83 citations
  3. Detecting numerical bugs in neural network architecturesYuhao Zhang, Luyao Ren, Liqian Chen, Yingfei Xiong et al.FSE 2020 · 66 citations
  4. Graph-based Fuzz Testing for Deep Learning Inference EnginesWeisi Luo, Dong Chai, Xiaoyue Run, Jiang Wang et al.ICSE 2021 · 37 citations
  5. Efficient generation of error-inducing floating-point inputs via symbolic executionHui Guo, Cindy Rubio-GonzálezICSE 2020 · 27 citations

Related papers

  1. A Miss Is as Good as A Mile: Metamorphic Testing for Deep Learning OperatorsJinyin Chen, Chengyu Jia, Yunjie Yan, Jie Ge et al.FSE 2024 · 8 citations
  2. Your Fix Is My Exploit: Enabling Comprehensive DL Library API Fuzzing with Large Language ModelsKunpeng Zhang, Shuai Wang, Jitao Han, Xiaogang Zhu et al.ICSE 2025 · 6 citations
  3. Muffin: Testing Deep Learning Libraries via Neural Architecture FuzzingJiazhen Gu, Xuchuan Luo, Yangfan Zhou, Xin WangICSE 2022 · 63 citations
  4. ACETest: Automated Constraint Extraction for Testing Deep Learning OperatorsJingyi Shi, Yang Xiao, Yuekang Li, Yeting Li et al.ISSTA 2023 · 24 citations
  5. A Tale of Two DL Cities: When Library Tests Meet CompilerQingchao Shen, Yongqiang Tian, Haoyang Ma, Junjie Chen et al.ICSE 2025 · 4 citations
Dusk over the sea between two cliffs drawn in fine vertical lines