arXivDaily arXiv每日学术速递 周一至周五更新
北美退伍军人节(Veterans Day),12 日无更新
arXiv 2404.17871cs.SEcs.AI
收藏

深度学习库测试:定义、方法与挑战

Deep Learning Library Testing: Definition, Methods and Challenges

School of Cyber Science and Engineering, Xi’an Jiaotong University(西安交通大学网络空间安全学院);Institute for Network Sciences and Cyberspace, Tsinghua University(清华大学网络科学与网络空间研究院);School of Cyber Science and Engineering, Wuhan University(武汉大学网络空间安全学院)

Xiaoyu Zhang, Weipeng Jiang, Chao Shen, Qi Li, Qian Wang, Chenhao Lin, Xiaohong Guan

AI总结:

本文综述了深度学习框架、编译器和硬件库的测试研究,定义了相关缺陷与测试概念,总结了现有方法与工具并分析其有效性、局限性及未来挑战。

摘要:

近年来,由深度学习(DL)技术驱动的软件系统在诸多方面显著便利了人们的生活。作为这些深度学习系统的骨干,各类深度学习库承担着底层的优化与计算任务。然而,与传统软件一样,深度学习库也难免存在缺陷,这些缺陷可能对用户的个人财产与安全构成严重威胁。研究深度学习库的特征、其相关缺陷以及相应的测试方法,对于增强深度学习系统的安全性并推动深度学习技术的广泛应用至关重要。本文对与各类深度学习库相关的测试研究进行了综述,讨论了现有方法的优势与不足,并为深度学习库的应用提供了指导与参考。本文首先介绍了深度学习底层库的工作流程,以及所涉及的三类深度学习库的特征,即深度学习框架、深度学习编译器与深度学习硬件库。随后,本文给出了深度学习底层库缺陷与测试的定义。此外,本文分别总结了针对这些深度学习库的现有测试方法与工具,并分析了它们的有效性与局限性。本文还讨论了深度学习库测试当前面临的挑战,并概述了未来研究的潜在方向。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑