Towards understanding the faults of JavaScript-based deep learning systems
Quality assurance is of great importance for deep learning (DL) systems, especially when they are applied in safety-critical applications. While quality issues of native DL applications have been extensively analyzed, the issues of JavaScript-based DL applications have never been systematically stud...
Saved in:
Main Authors: | , , , , , |
---|---|
Format: | text |
Language: | English |
Published: |
Institutional Knowledge at Singapore Management University
2022
|
Subjects: | |
Online Access: | https://ink.library.smu.edu.sg/sis_research/7715 https://ink.library.smu.edu.sg/context/sis_research/article/8718/viewcontent/2209.04791.pdf |
Tags: |
Add Tag
No Tags, Be the first to tag this record!
|
Institution: | Singapore Management University |
Language: | English |
id |
sg-smu-ink.sis_research-8718 |
---|---|
record_format |
dspace |
spelling |
sg-smu-ink.sis_research-87182023-01-10T02:59:58Z Towards understanding the faults of JavaScript-based deep learning systems QUAN, Lili GUO, Qianyu XIE, Xiaofei CHEN, Sen LI, Xiaohong LIU, Yang Quality assurance is of great importance for deep learning (DL) systems, especially when they are applied in safety-critical applications. While quality issues of native DL applications have been extensively analyzed, the issues of JavaScript-based DL applications have never been systematically studied. Compared with native DL applications, JavaScript-based DL applications can run on major browsers, making the platform- and device-independent. Specifically, the quality of JavaScript-based DL applications depends on the 3 parts: the application, the third-party DL library used and the underlying DL framework (e.g., TensorFlow.js), called JavaScript-based DL system. In this paper, we conduct the first empirical study on the quality issues of JavaScript-based DL systems. Specifically, we collect and analyze 700 real-world faults from relevant GitHub repositories, including the official TensorFlow.js repository, 13 third-party DL libraries, and 58 JavaScript-based DL applications. To better understand the characteristics of these faults, we manually analyze and construct taxonomies for the fault symptoms, root causes, and fix patterns, respectively. Moreover, we also study the fault distributions of symptoms and root causes, in terms of the different stages of the development lifecycle, the 3-level architecture in the DL system, and the 4 major components of TensorFlow.js framework. Based on the results, we suggest actionable implications and research avenues that can potentially facilitate the development, testing, and debugging of JavaScript-based DL systems. 2022-10-01T07:00:00Z text application/pdf https://ink.library.smu.edu.sg/sis_research/7715 https://ink.library.smu.edu.sg/context/sis_research/article/8718/viewcontent/2209.04791.pdf http://creativecommons.org/licenses/by-nc-nd/4.0/ Research Collection School Of Computing and Information Systems eng Institutional Knowledge at Singapore Management University JavaScript Deep Learning TensorFlow.js Faults Artificial Intelligence and Robotics Programming Languages and Compilers |
institution |
Singapore Management University |
building |
SMU Libraries |
continent |
Asia |
country |
Singapore Singapore |
content_provider |
SMU Libraries |
collection |
InK@SMU |
language |
English |
topic |
JavaScript Deep Learning TensorFlow.js Faults Artificial Intelligence and Robotics Programming Languages and Compilers |
spellingShingle |
JavaScript Deep Learning TensorFlow.js Faults Artificial Intelligence and Robotics Programming Languages and Compilers QUAN, Lili GUO, Qianyu XIE, Xiaofei CHEN, Sen LI, Xiaohong LIU, Yang Towards understanding the faults of JavaScript-based deep learning systems |
description |
Quality assurance is of great importance for deep learning (DL) systems, especially when they are applied in safety-critical applications. While quality issues of native DL applications have been extensively analyzed, the issues of JavaScript-based DL applications have never been systematically studied. Compared with native DL applications, JavaScript-based DL applications can run on major browsers, making the platform- and device-independent. Specifically, the quality of JavaScript-based DL applications depends on the 3 parts: the application, the third-party DL library used and the underlying DL framework (e.g., TensorFlow.js), called JavaScript-based DL system. In this paper, we conduct the first empirical study on the quality issues of JavaScript-based DL systems. Specifically, we collect and analyze 700 real-world faults from relevant GitHub repositories, including the official TensorFlow.js repository, 13 third-party DL libraries, and 58 JavaScript-based DL applications. To better understand the characteristics of these faults, we manually analyze and construct taxonomies for the fault symptoms, root causes, and fix patterns, respectively. Moreover, we also study the fault distributions of symptoms and root causes, in terms of the different stages of the development lifecycle, the 3-level architecture in the DL system, and the 4 major components of TensorFlow.js framework. Based on the results, we suggest actionable implications and research avenues that can potentially facilitate the development, testing, and debugging of JavaScript-based DL systems. |
format |
text |
author |
QUAN, Lili GUO, Qianyu XIE, Xiaofei CHEN, Sen LI, Xiaohong LIU, Yang |
author_facet |
QUAN, Lili GUO, Qianyu XIE, Xiaofei CHEN, Sen LI, Xiaohong LIU, Yang |
author_sort |
QUAN, Lili |
title |
Towards understanding the faults of JavaScript-based deep learning systems |
title_short |
Towards understanding the faults of JavaScript-based deep learning systems |
title_full |
Towards understanding the faults of JavaScript-based deep learning systems |
title_fullStr |
Towards understanding the faults of JavaScript-based deep learning systems |
title_full_unstemmed |
Towards understanding the faults of JavaScript-based deep learning systems |
title_sort |
towards understanding the faults of javascript-based deep learning systems |
publisher |
Institutional Knowledge at Singapore Management University |
publishDate |
2022 |
url |
https://ink.library.smu.edu.sg/sis_research/7715 https://ink.library.smu.edu.sg/context/sis_research/article/8718/viewcontent/2209.04791.pdf |
_version_ |
1770576420200775680 |