arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2112.01771cs.SEcs.AIcs.LG
收藏

理解深度学习系统中的性能问题

Understanding Performance Problems in Deep Learning Systems

Fudan University(复旦大学)

Junming Cao, Bihuan Chen, Chao Sun, Longjie Hu, Shuaihong Wu, Xin Peng

摘要:

深度学习(Deep Learning,DL)已被广泛应用于许多领域。从传统系统到深度学习系统的编程范式转变给深度学习系统的工程设计带来了独特的挑战,性能是其中之一。DL系统中的性能问题(PP)可能会导致严重的后果,如过度的资源消耗和经济损失。虽然DL系统中的错误已经被广泛研究,但DL系统中的PP几乎没有被探索。为了弥合这一差距,我们提出了第一个全面的研究,以i)描述症状,根本原因,以及在TensorFlow和Keras开发的DL系统中引入和暴露PP的阶段,从210个StackOverflow帖子中收集了224个PP,并ii)评估现有性能分析方法在处理PP方面的能力,在DL系统中构建了58个PP的基准。我们的研究结果揭示了开发高性能DL系统,并检测和定位DL系统中的PP的影响。为了证明我们的研究结果的有用性,我们开发了一个静态检查器Deep-Perf来检测三种类型的PP。它在130个GitHub项目中检测到488个新PP。已确认并修复了105和27个PP。

英文摘要:

Deep learning (DL) has been widely applied to many domains. Unique challenges in engineering DL systems are posed by the programming paradigm shift from traditional systems to DL systems, and performance is one of the challenges. Performance problems (PPs) in DL systems can cause severe consequences such as excessive resource consumption and financial loss. While bugs in DL systems have been extensively investigated, PPs in DL systems have hardly been explored. To bridge this gap, we present the first comprehensive study to i) characterize symptoms, root causes, and introducing and exposing stages of PPs in DL systems developed in TensorFLow and Keras, with 224 PPs collected from 210 StackOverflow posts, and to ii) assess the capability of existing performance analysis approaches in tackling PPs, with a constructed benchmark of 58 PPs in DL systems. Our findings shed light on the implications on developing high-performance DL systems, and detecting and localizing PPs in DL systems. To demonstrate the usefulness of our findings, we develop a static checker Deep-Perf to detect three types of PPs. It has detected 488 new PPs in 130 GitHub projects. 105 and 27 PPs have been confirmed and fixed.

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

↑