arrow
Return

Understanding the implementation issues when using deep learning frameworks

delete2024-02-01
delete1
PRE
AI
C
Chao Liu
R
Runfeng Cai
Y
Yiqun Zhou
X
Xin Chen *
胡海波 cover
胡海波 (Haibo Hu)
鄢
鄢萌 (Meng Yan)
DOI:10.1016/j.infsof.2023.107367delete
deleteOriginal
deleteOriginal request for help
deleteShare
deleteSave
Abstract

Abstract

En 中文
Context: Deep Learning (DL) frameworks like TensorFlow can help developers implement DL applications (e.g., computer vision) faster and easier. When using DL frameworks, developers encountered a large number of questions and posted them on Stack Overflow (SO). Objective: The goal of this paper is to conduct a comprehensive empirical study on the SO questions, summarize the implementation issues, and suggest future opportunities.Methods: This paper focuses on three DL frameworks (i.e., TensorFlow, PyTorch, and Theano), groups 2,401 relevant SO questions into various implementation issues, and constructs a taxonomy. We also analyze the popularity and difficulty of these issues under the taxonomy.Results: For the identified various implementation issues, we constructed a taxonomy consisting of seven major categories with 63 subcategories. Our analysis reveals that 91.7% of questions are related to the implementation categories of data processing, model setting, model training, and model prediction. Developers frequently address the remaining three categories (i.e., Model evaluation, runtime environment, and visualization), where runtime environment is the most difficult category. Based on empirical findings, we provide some suggestions for future research. Conclusion: In this paper, we summarized the issues of DL implementation and proposed corresponding opportunities for future study. We expect this paper to help developers and researchers understand these issues and design better tools to improve the productivity of DL implementation.
Keywords:
Deep learning
Implementation issues
Stack overflow
Empirical study

Journal

Information and Software Technology cover
Information and Software Technology
IF:
4.3
Papers:
3.8K
Citations:
7.7K

Organization

C
Chongqing University
Scholars:
5.1W
Papers: 4.1W
Citations: 6.0W
Cited Papers

Cited Papers

A Survey on Deep Learning for Software Engineering
err2022-09-13
err52
errOAAI
errYang, Yanming; Xia, Xin; Lo, David; Grundy, John
errShare
errSave
What do Programmers Discuss about Deep Learning Frameworks
err2020-04-24
err59
PREAI
errHan, Junxiao; Shihab, Emad; Wan, Zhiyuan; Deng, Shuiguang; Xia, Xin
errShare
errSave
A taxonomy for mining and classifying privacy requirements in issue reports
err2023-05-01
err5
errOAAI
errSangaroonsilp, Pattaraporn; Dam, Hoa Khanh; Choetkiertikul, Morakot; Ragkhitwetsagul, Chaiyong; Ghose, Aditya
errShare
errSave
ImageNet Classification with Deep Convolutional Neural Networks
err2017-05-24
err8.3W
errOAAI
errKrizhevsky, Alex; Sutskever, Ilya; Hinton, Geoffrey E.
errShare
errSave
errShare
errSave
An empirical study of question discussions on Stack Overflow
err2022-08-06
err8
PREAI
errZhu, Wenhan; Zhang, Haoxiang; Hassan, Ahmed E.; Godfrey, Michael W.
errShare
errSave
Friction Models and Friction Compensation
err1998-01-01
err0
PREAI
errH. Olsson; K.J. Åström; C. Canudas de Wit; M. Gäfvert; P. Lischinsky
errShare
errSave
Opportunities and Challenges in Code Search Tools
err2021-10-08
err37
errOAAI
errLiu, Chao; Xia, Xin; Lo, David; Gao, Cuiyun; Yang, Xiaohu; Grundy, John
errShare
errSave
researcher View more