Characterizing Performance Bugs in Deep Learning Systems

12/03/2021
by   Junming Cao, et al.
0

Deep learning (DL) has been increasingly applied to a variety of domains. The programming paradigm shift from traditional systems to DL systems poses unique challenges in engineering DL systems. Performance is one of the challenges, and performance bugs(PBs) in DL systems can cause severe consequences such as excessive resource consumption and financial loss. While bugs in DL systems have been extensively investigated, PBs in DL systems have hardly been explored. To bridge this gap, we present the first comprehensive study to characterize symptoms, root causes, and introducing and exposing stages of PBs in DL systems developed in TensorFLow and Keras, with a total of 238 PBs collected from 225 StackOverflow posts. Our findings shed light on the implications on developing high performance DL systems, and detecting and localizing PBs in DL systems. We also build the first benchmark of 56 PBs in DL systems, and assess the capability of existing approaches in tackling them. Moreover, we develop a static checker DeepPerf to detect three types of PBs, and identify 488 new PBs in 130 GitHub projects.62 and 18 of them have been respectively confirmed and fixed by developers.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
07/21/2022

Demystifying Dependency Bugs in Deep Learning Stack

Recent breakthroughs in deep learning (DL) techniques have stimulated si...
research
03/02/2022

Code Smells in Machine Learning Systems

As Deep learning (DL) systems continuously evolve and grow, assuring the...
research
02/07/2022

DeepStability: A Study of Unstable Numerical Methods and Their Solutions in Deep Learning

Deep learning (DL) has become an integral part of solutions to various i...
research
12/26/2021

Silent Bugs in Deep Learning Frameworks: An Empirical Study of Keras and TensorFlow

Deep Learning (DL) frameworks are now widely used, simplifying the creat...
research
05/17/2021

How Deep is your Learning: the DL-HARD Annotated Deep Learning Dataset

Deep Learning Hard (DL-HARD) is a new annotated dataset designed to more...
research
04/17/2022

On Reporting Performance and Accuracy Bugs for Deep Learning Frameworks: An Exploratory Study from GitHub

The tremendous success of Deep Learning (DL) has significantly boosted t...
research
08/03/2022

HirFuzz: Detecting High-Level Optimization Bugs in DL Compilers via Computational Graph Generation

Deep Learning (DL) compilers are widely adopted to optimize advanced DL ...

Please sign up or login with your details

Forgot password? Click here to reset