Deep Learning Library Testing: Definition, Methods and Challenges

📅 2024-04-27
📈 Citations: 1
Influential: 0
📄 PDF
🤖 AI Summary
Deep learning (DL) infrastructure libraries—including frameworks, compilers, and hardware-accelerator libraries—lack systematic definitions and methodological foundations for testing. Method: This paper presents the first comprehensive study on DL library testing: (1) it proposes a novel three-category taxonomy of DL libraries and corresponding defect definitions, unifying the scope and boundaries of DL library defects and testing; (2) it introduces the first end-to-end testing methodology framework covering the full DL stack, with a structured survey of domain-specific testing techniques and tools; and (3) it systematically identifies six cross-cutting testing challenges and outlines concrete directions for future research. Contribution/Results: Based on rigorous literature review, taxonomic analysis, and comparative evaluation, this work establishes the first authoritative technical guideline for DL library testing—providing industry practitioners with actionable, deployable testing strategies and offering academia a benchmark paradigm for further investigation.

Technology Category

Application Category

📝 Abstract
In recent years, software systems powered by deep learning (DL) techniques have significantly facilitated people's lives in many aspects. As the backbone of these DL systems, various DL libraries undertake the underlying optimization and computation. However, like traditional software, DL libraries are not immune to bugs, which can pose serious threats to users' personal property and safety. Studying the characteristics of DL libraries, their associated bugs, and the corresponding testing methods is crucial for enhancing the security of DL systems and advancing the widespread application of DL technology. This paper provides an overview of the testing research related to various DL libraries, discusses the strengths and weaknesses of existing methods, and provides guidance and reference for the application of the DL library. This paper first introduces the workflow of DL underlying libraries and the characteristics of three kinds of DL libraries involved, namely DL framework, DL compiler, and DL hardware library. It then provides definitions for DL underlying library bugs and testing. Additionally, this paper summarizes the existing testing methods and tools tailored to these DL libraries separately and analyzes their effectiveness and limitations. It also discusses the existing challenges of DL library testing and outlines potential directions for future research.
Problem

Research questions and friction points this paper is trying to address.

Deep Learning Library Testing
Bug Characteristics Analysis
Testing Methods Evaluation
Innovation

Methods, ideas, or system contributions that make the work stand out.

Deep learning library testing methods
DL framework and compiler analysis
Bug identification and security enhancement
🔎 Similar Papers
No similar papers found.
X
Xiaoyu Zhang
School of Cyber Science and Engineering, Xi’an Jiaotong University, China
Weipeng Jiang
Weipeng Jiang
Xi'an Jiaotong University
Software TestingCode GenerationTrustworthy LLM
C
Chao Shen
School of Cyber Science and Engineering, Xi’an Jiaotong University, China
Q
Qi Li
Institute for Network Sciences and Cyberspace, Tsinghua University, China
Q
Qian Wang
School of Cyber Science and Engineering, Wuhan University, China
C
Chenhao Lin
School of Cyber Science and Engineering, Xi’an Jiaotong University, China
X
Xiaohong Guan
School of Cyber Science and Engineering, Xi’an Jiaotong University, China