Lune

ISSTA2021顶会

Predoo: precision testing of deep learning operators

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

摘要

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.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 15 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • Understanding performance problems in deep learning systems 引用了 Detecting numerical bugs in neural network architectures
  • Understanding performance problems in deep learning systems 引用了 Deep learning library testing via effective model generation
  • Understanding performance problems in deep learning systems 引用了 Audee: Automated Testing for Deep Learning Frameworks
  • Free Lunch for Testing: Fuzzing Deep-Learning Libraries from Open Source 引用了 Detecting numerical bugs in neural network architectures
  • Free Lunch for Testing: Fuzzing Deep-Learning Libraries from Open Source 引用了 Deep learning library testing via effective model generation
  • NNSmith: Generating Diverse and Valid Test Cases for Deep Learning Compilers 引用了 Free Lunch for Testing: Fuzzing Deep-Learning Libraries from Open Source
  • NNSmith: Generating Diverse and Valid Test Cases for Deep Learning Compilers 引用了 Graph-based Fuzz Testing for Deep Learning Inference Engines
  • NNSmith: Generating Diverse and Valid Test Cases for Deep Learning Compilers 引用了 Deep learning library testing via effective model generation
  • NNSmith: Generating Diverse and Valid Test Cases for Deep Learning Compilers 引用了 Audee: Automated Testing for Deep Learning Frameworks
  • NNSmith: Generating Diverse and Valid Test Cases for Deep Learning Compilers 引用了 Fuzzing deep-learning libraries via automated relational API inference
  • Fuzzing Automatic Differentiation in Deep-Learning Libraries 引用了 Free Lunch for Testing: Fuzzing Deep-Learning Libraries from Open Source
  • Fuzzing Automatic Differentiation in Deep-Learning Libraries 引用了 NNSmith: Generating Diverse and Valid Test Cases for Deep Learning Compilers
  • Fuzzing Automatic Differentiation in Deep-Learning Libraries 引用了 Detecting numerical bugs in neural network architectures
  • Fuzzing Automatic Differentiation in Deep-Learning Libraries 引用了 Deep learning library testing via effective model generation
  • Fuzzing Automatic Differentiation in Deep-Learning Libraries 引用了 Audee: Automated Testing for Deep Learning Frameworks
  • Fuzzing Automatic Differentiation in Deep-Learning Libraries 引用了 Fuzzing deep-learning libraries via automated relational API inference
  • Fuzzing deep-learning libraries via automated relational API inference 引用了 Free Lunch for Testing: Fuzzing Deep-Learning Libraries from Open Source
  • Fuzzing deep-learning libraries via automated relational API inference 引用了 Deep learning library testing via effective model generation
  • Fuzzing deep-learning libraries via automated relational API inference 引用了 Audee: Automated Testing for Deep Learning Frameworks
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper15

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

它引用的 Paper6

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

相关 Paper

  1. A Miss Is as Good as A Mile: Metamorphic Testing for Deep Learning OperatorsJinyin Chen, Chengyu Jia, Yunjie Yan, Jie Ge 等FSE 2024 · 8 次引用
  2. Your Fix Is My Exploit: Enabling Comprehensive DL Library API Fuzzing with Large Language ModelsKunpeng Zhang, Shuai Wang, Jitao Han, Xiaogang Zhu 等ICSE 2025 · 6 次引用
  3. Muffin: Testing Deep Learning Libraries via Neural Architecture FuzzingJiazhen Gu, Xuchuan Luo, Yangfan Zhou, Xin WangICSE 2022 · 63 次引用
  4. ACETest: Automated Constraint Extraction for Testing Deep Learning OperatorsJingyi Shi, Yang Xiao, Yuekang Li, Yeting Li 等ISSTA 2023 · 24 次引用
  5. A Tale of Two DL Cities: When Library Tests Meet CompilerQingchao Shen, Yongqiang Tian, Haoyang Ma, Junjie Chen 等ICSE 2025 · 4 次引用
黄昏的海面,两侧是细线勾勒的悬崖