Mutation-Based Deep Learning Framework Testing Method in JavaScript Environment
Yinglong Zou, Juan Zhai, Chunrong Fang, Jiawei Liu, Tao Zheng, Zhenyu, Chen

TL;DR
This paper introduces DLJSFuzzer, a mutation-based testing framework tailored for JavaScript deep learning frameworks, effectively detecting bugs by considering optimization mechanisms like cache reuse and inference acceleration.
Contribution
The paper presents a novel mutation-based testing method that targets specific optimization mechanisms in JavaScript DL frameworks, improving bug detection and testing efficiency.
Findings
Detected 21 unique crashes and 126 bugs in TensorFlow.js
Outperformed state-of-the-art methods in effectiveness and efficiency
Achieved over 47% improvement in model generation and 91% in bug detection
Abstract
In recent years, Deep Learning (DL) applications in JavaScript environment have become increasingly popular. As the infrastructure for DL applications, JavaScript DL frameworks play a crucial role in the development and deployment. It is essential to ensure the quality of JavaScript DL frameworks. However, the bottleneck of limited computational resources in the JavaScript environment brings new challenges to framework testing. Specifically, JavaScript DL frameworks are equipped with various optimization mechanisms (e.g., cache reuse, inference acceleration) to overcome the bottleneck of limited computational resources. These optimization mechanisms are overlooked by existing methods, resulting in many bugs in JavaScript DL frameworks being missed. To address the above challenges, we propose a mutation-based JavaScript DL framework testing method named DLJSFuzzer. DLJSFuzzer designs 13…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsSoftware Testing and Debugging Techniques · Advanced Malware Detection Techniques
