arrow
返回

Studying logging practice in machine learning-based applications

delete2024-06-01
delete0
delete
OA
AI
P
Patrick Loic Foalem *
F
Foutse Khomh
H
Heng Li
DOI:10.1016/j.infsof.2024.107450delete
delete原文链接
delete分享
delete收藏
查看原文
摘要

摘要

En 中文
Context: Logging is a common practice in traditional software development. There have been multiple studies on the characteristics of logging in traditional software systems such as C/C++, Java, and Android applications. However, logging practices in Machine Learning -based (ML -based) applications are still not well understood. The size and complexity of data and models used in ML -based applications present unique challenges for logging. Objective: In this paper, we aim to bridge this knowledge gap and provide insight into the logging practices in ML -based applications, making the first attempt to characterize current logging practices within a large number of open -source ML -based applications. Method: We conducted an empirical study on 502 open -source ML applications to understand their logging practices, combining quantitative and qualitative analyses and a survey involving 31 practitioners. Results: Our quantitative analysis reveals that logging in ML applications is less common than in traditional software, with info and warn log levels being popular. Top ML -specific logging libraries include MLflow, Tensorboard, Neptune, and W&B. Qualitatively, logging is used for data and model management, especially in model training. Our survey reinforces the importance of logging in experiment tracking, complementing our qualitative findings. Conclusion: Our research carries significant implications. It reveals distinctive ML logging practices compared to traditional software. We have highlighted the prevalence of general-purpose logging libraries in ML code, indicating a potential gap in awareness regarding ML -specific logging tools. This insight benefits researchers and developers aiming to enhance ML project reproducibility and sets the stage for exploring ML -specific logging tools' impact on machine learning system quality and trustworthiness.
Keyword:
Logging practices
ML -based applications
Mining software repositories
Source code analysis
AI总结

AI总结

对已上传原文的论文进行重点信息的提取,主要内容包括:简要概述、研究摘要、背景介绍、关键亮点、图文解析、展望与总结。

期刊

Information and Software Technology 封面图
Information and Software Technology
IF:
4.3
论文数:
3.8K
被引数:
7.7K

机构

U
universite de montreal
学者数:
4.6W
论文数: 3.8W
被引数: 46
引用论文

引用论文

err分享
err收藏
Curating GitHub for engineered software projects为工程软件项目策划GitHub
err2017-04-18
err249
PREAI
errMunaiah, Nuthan; Kroh, Steven; Cabrey, Craig; Nagappan, Meiyappan
err分享
err收藏
Studying the characteristics of logging practices in mobile apps: a case study on F-Droid
err2019-02-07
err38
PREAI
errZeng, Yi; Chen, Jinfu; Shang, Weiyi; Chen, Tse-Hsun (Peter)
err分享
err收藏
Studying logging practice in test code研究测试代码中的测井实践
err2022-04-07
err5
PREAI
errZhang, Haonan; Tang, Yiming; Lamothe, Maxime; Li, Heng; Shang, Weiyi
err分享
err收藏
Synthesis and characterization of novel nanocomposite membrane of sodium titanate/Nafion®
err2011-06-01
err0
PREAI
errYongsheng Wei; Liangbo Shen; Fanghui Wang; Wein-Duo Yang; Hong Zhu; Zhongming Wang; Kefei Han
err分享
err收藏
err分享
err收藏
学者 查看更多内容