Towards Understanding the Faults of JavaScript-Based Deep Learning Systems
Not on the map. Why?
Abstract (arXiv)
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.
Key facts. Cited by 6 papers in the map (data through 7 Oct 2026). First posted on arXiv 11 Sep 2022.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2023: 2; 2024: 4.
6 papers.
- 2024A Survey on Failure Analysis and Fault Injection in AI Systemscited by 7
- 2024Anatomizing Deep Learning Inference in Web Browserscited by 5
- 2024Deep Learning Library Testing: Definition, Methods and Challengescited by 4
- 2024PyMilo: A Python Library for ML I/Ocited by 1
- 2023Understanding Bugs in Multi-Language Deep Learning Frameworkscited by 0
- 2023A Comprehensive Empirical Study of Bugs in Open-Source Federated Learning Frameworkscited by 0
- 2024PyMilo: A Python Library for ML I/O31 Dec 2024
- 2024A Survey on Failure Analysis and Fault Injection in AI Systems28 Jun 2024
- 2024Deep Learning Library Testing: Definition, Methods and Challenges27 Apr 2024
- 2024Anatomizing Deep Learning Inference in Web Browsers8 Feb 2024
- 2023A Comprehensive Empirical Study of Bugs in Open-Source Federated Learning Frameworks9 Aug 2023
- 2023Understanding Bugs in Multi-Language Deep Learning Frameworks5 Mar 2023