Is Using Deep Learning Frameworks Free? Characterizing Technical Debt in Deep Learning Frameworks

Jiakun Liu, Qiao Huang, Xin Xia, Emad Shihab, D. Lo, Shanping Li
{"title":"Is Using Deep Learning Frameworks Free? Characterizing Technical Debt in Deep Learning Frameworks","authors":"Jiakun Liu, Qiao Huang, Xin Xia, Emad Shihab, D. Lo, Shanping Li","doi":"10.1145/3377815.3381377","DOIUrl":null,"url":null,"abstract":"Developers of deep learning applications (shortened as application developers) commonly use deep learning frameworks in their projects. However, due to time pressure, market competition, and cost reduction, developers of deep learning frameworks (shortened as framework developers) often have to sacrifice software quality to satisfy a shorter completion time. This practice leads to technical debt in deep learning frameworks, which results in the increasing burden to both the application developers and the framework developers in future development.In this paper, we analyze the comments indicating technical debt (self-admitted technical debt) in 7 of the most popular open-source deep learning frameworks. Although framework developers are aware of such technical debt, typically the application developers are not. We find that: 1) there is a significant number of technical debt in all the studied deep learning frameworks. 2) there is design debt, defect debt, documentation debt, test debt, requirement debt, compatibility debt, and algorithm debt in deep learning frameworks. 3) the majority of the technical debt in deep learning framework is design debt (24.07% – 65.27%), followed by requirement debt (7.09% – 31.48%) and algorithm debt (5.62% – 20.67%). In some projects, compatibility debt accounts for more than 10%. These findings illustrate that technical debt is common in deep learning frameworks, and many types of technical debt also impact the deep learning applications. Based on our findings, we highlight future research directions and provide recommendations for practitioners.","PeriodicalId":134050,"journal":{"name":"2020 IEEE/ACM 42nd International Conference on Software Engineering: Software Engineering in Society (ICSE-SEIS)","volume":"27 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2020-06-27","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"26","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2020 IEEE/ACM 42nd International Conference on Software Engineering: Software Engineering in Society (ICSE-SEIS)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/3377815.3381377","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 26

Abstract

Developers of deep learning applications (shortened as application developers) commonly use deep learning frameworks in their projects. However, due to time pressure, market competition, and cost reduction, developers of deep learning frameworks (shortened as framework developers) often have to sacrifice software quality to satisfy a shorter completion time. This practice leads to technical debt in deep learning frameworks, which results in the increasing burden to both the application developers and the framework developers in future development.In this paper, we analyze the comments indicating technical debt (self-admitted technical debt) in 7 of the most popular open-source deep learning frameworks. Although framework developers are aware of such technical debt, typically the application developers are not. We find that: 1) there is a significant number of technical debt in all the studied deep learning frameworks. 2) there is design debt, defect debt, documentation debt, test debt, requirement debt, compatibility debt, and algorithm debt in deep learning frameworks. 3) the majority of the technical debt in deep learning framework is design debt (24.07% – 65.27%), followed by requirement debt (7.09% – 31.48%) and algorithm debt (5.62% – 20.67%). In some projects, compatibility debt accounts for more than 10%. These findings illustrate that technical debt is common in deep learning frameworks, and many types of technical debt also impact the deep learning applications. Based on our findings, we highlight future research directions and provide recommendations for practitioners.
使用深度学习框架免费吗?表征深度学习框架中的技术债务
深度学习应用程序的开发人员(简称为应用程序开发人员)通常在他们的项目中使用深度学习框架。然而,由于时间压力、市场竞争和成本降低,深度学习框架的开发人员(简称为框架开发人员)往往不得不牺牲软件质量来满足更短的完成时间。这种做法导致了深度学习框架中的技术债务,从而导致应用程序开发人员和框架开发人员在未来开发中的负担不断增加。在本文中,我们分析了7个最流行的开源深度学习框架中表明技术债务(自我承认的技术债务)的评论。尽管框架开发人员意识到这种技术债务,但通常应用程序开发人员并不知道。我们发现:1)在所有研究的深度学习框架中都存在大量的技术债务。2)在深度学习框架中存在设计债、缺陷债、文档债、测试债、需求债、兼容性债和算法债。3)深度学习框架中的技术债以设计债为主(24.07% ~ 65.27%),其次是需求债(7.09% ~ 31.48%)和算法债(5.62% ~ 20.67%)。在一些项目中,兼容性债务占比超过10%。这些发现表明,技术债务在深度学习框架中很常见,许多类型的技术债务也会影响深度学习应用。在此基础上,提出了未来的研究方向和建议。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信
小红书