arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2211.15733cs.SEcs.AI
收藏

深度学习框架中库使用和依赖的实证研究

An Empirical Study of Library Usage and Dependency in Deep Learning Frameworks

Polytechnique Montreal(蒙特利尔理工学院);Queen’s University(女王大学)

Mohamed Raed El aoun, Lionel Nganyewou Tidjon, Ben Rombaut, Foutse Khomh, Ahmed E. Hassan

摘要:

深度学习(dl)的最新进展已经导致了几个dl软件库的发布,如pytorch,Caffe和TensorFlow,以帮助机器学习(ml)从业者开发和部署最先进的深度神经网络(DNN),但他们无法正确应对dl库中的限制,如测试或数据处理。在本文中,我们提出了一个定性和定量分析的最频繁的dl库组合,分布的dl库依赖性的ml工作流程,并制定了一套建议(i)硬件建设者更优化的加速器和(ii)库建设者更完善的未来版本。我们的研究基于1,484个开源深度学习项目,其中46,110个贡献者是根据他们的声誉选择的。首先,我们发现深度学习库的使用呈增长趋势。其次,我们强调了深度学习库的几种使用模式。此外,我们还发现了dl库与最常见的组合之间的依赖关系,我们发现pytorch和Scikit-learn以及Keras和TensorFlow是18%和14%的项目中最常见的组合。开发人员在相同的项目中使用两个或三个dl库,并且倾向于在相同的函数和相同的文件中使用不同的多个dl库。开发人员展示了使用各种深度学习库的模式,并且更喜欢参数少、目标简单的简单函数。最后,我们提出了研究人员,图书馆维护人员和硬件供应商的影响,我们的研究结果。

英文摘要:

Recent advances in deep learning (dl) have led to the release of several dl software libraries such as pytorch, Caffe, and TensorFlow, in order to assist machine learning (ml) practitioners in developing and deploying state-of-the-art deep neural networks (DNN), but they are not able to properly cope with limitations in the dl libraries such as testing or data processing. In this paper, we present a qualitative and quantitative analysis of the most frequent dl libraries combination, the distribution of dl library dependencies across the ml workflow, and formulate a set of recommendations to (i) hardware builders for more optimized accelerators and (ii) library builder for more refined future releases. Our study is based on 1,484 open-source dl projects with 46,110 contributors selected based on their reputation. First, we found an increasing trend in the usage of deep learning libraries. Second, we highlight several usage patterns of deep learning libraries. In addition, we identify dependencies between dl libraries and the most frequent combination where we discover that pytorch and Scikit-learn and, Keras and TensorFlow are the most frequent combination in 18% and 14% of the projects. The developer uses two or three dl libraries in the same projects and tends to use different multiple dl libraries in both the same function and the same files. The developer shows patterns in using various deep-learning libraries and prefers simple functions with fewer arguments and straightforward goals. Finally, we present the implications of our findings for researchers, library maintainers, and hardware vendors.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑