arrow
返回

Beyond Accuracy: An Empirical Study on Unit Testing in Open-source Deep Learning Projects

delete2024-04-18
delete1
delete
OA
AI
王
王涵 (Han Wang)
S
Sijia Yu
C
Chunyang Chen
B
Burak Turhan *
X
Xiaodong Zhu
DOI:10.1145/3638245delete
delete原文链接
delete原文求助
delete分享
delete收藏
摘要

摘要

En 中文
Deep Learning (DL) models have rapidly advanced, focusing on achieving high performance through testing model accuracy and robustness. However, it is unclear whether DL projects, as software systems, are tested thoroughly or functionally correct when there is a need to treat and test them like other software systems. Therefore, we empirically study the unit tests in open-source DL projects, analyzing 9,129 projects from GitHub. We find that: (1) unit tested DL projects have positive correlationwith the open-source project metrics and have a higher acceptance rate of pull requests; (2) 68% of the sampled DL projects are not unit tested at all; (3) the layer and utilities (utils) of DL models have the most unit tests. Based on these findings and previous research outcomes, we built a mapping taxonomy between unit tests and faults in DL projects. We discuss the implications of our findings for developers and researchers and highlight the need for unit testing in opensource DL projects to ensure their reliability and stability. The study contributes to this community by raising awareness of the importance of unit testing in DL projects and encouraging further research in this area.
Keyword:
Deep learning
unit testing

期刊

A
ACM Transactions on Software Engineering and Methodology
IF:
6.2
论文数:
1.2K
被引数:
3.4K

机构

M
Monash University
学者数:
5.4W
论文数: 5.4W
被引数: 79
U
University of Oulu
学者数:
1.5W
论文数: 1.3W
被引数: 1.6W
J
Jilin University
学者数:
8.7W
论文数: 5.6W
被引数: 8.9K
学者 查看更多机构
引用论文

引用论文

Fluconazole in the treatment of pulmonary zygomycosis
err2009-04-24
err0
PREAI
errB. Koszyca; D. Ellis; I. Toogood; R. W. Byard
err分享
err收藏
Predicting patients' exposure to cyclosporin
err1996-08-01
err0
PREAI
errA. Johnston; J. M. Kovarik; E. A. Mueller; D. W. Holt
err分享
err收藏
Repair of long tracheal defects with cryopreserved cartilaginous allografts
err1992-08-01
err0
PREAI
errAntonio Messineo; Robert M. Filler; Andrej Bahoric; Charles R. Smith
err分享
err收藏
err
IF0
err
err0
PREAI
err
err分享
err收藏
err分享
err收藏
Effect of oral nitrates on pulse pressure and arterial elasticity in patients aged over 65 years with refractory isolated systolic hypertension: study protocol for a randomized controlled trial
err2013-01-01
err0
errOAAI
errDaniel Abad-Pérez; Blanca Novella-Arribas; Francisco J Rodríguez-Salvanés; Luis M Sánchez-Gómez; Iluminada García-Polo; Carmen Verge-González; Carmen Suárez-Fernández
err分享
err收藏
NICE guidance
err2009-05-01
err0
PREAI
errTina Bishop
err分享
err收藏
学者 查看更多内容