跳到正文
EasyXiv 检索
投稿 关于 登录

按回车检索 · 直接输入编号(如 1706.03762)可跳转到论文

计算机科学 > 软件工程

arXiv:2201.09953 (cs)
[提交于 2022年1月24日 (v1),最后修订于 2022年2月25日 (此版本, v2)]

标题:Challenges in Migrating Imperative Deep Learning Programs to Graph Execution: An Empirical Study

作者:Tatiana Castro Vélez, Raffi Khatchadourian, Mehdi Bagherzadeh, Anita Raja
查看论文《Challenges in Migrating Imperative Deep Learning Programs to Graph Execution: An Empirical Study》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要:Efficiency is essential to support responsiveness w.r.t. ever-growing datasets, especially for Deep Learning (DL) systems. DL frameworks have traditionally embraced deferred execution-style DL code that supports symbolic, graph-based Deep Neural Network (DNN) computation. While scalable, such development tends to produce DL code that is error-prone, non-intuitive, and difficult to debug. Consequently, more natural, less error-prone imperative DL frameworks encouraging eager execution have emerged but at the expense of run-time performance. While hybrid approaches aim for the "best of both worlds," the challenges in applying them in the real world are largely unknown. We conduct a data-driven analysis of challenges -- and resultant bugs -- involved in writing reliable yet performant imperative DL code by studying 250 open-source projects, consisting of 19.7 MLOC, along with 470 and 446 manually examined code patches and bug reports, respectively. The results indicate that hybridization: (i) is prone to API misuse, (ii) can result in performance degradation -- the opposite of its intention, and (iii) has limited application due to execution mode incompatibility. We put forth several recommendations, best practices, and anti-patterns for effectively hybridizing imperative DL code, potentially benefiting DL practitioners, API designers, tool developers, and educators.
评论: International Conference on Mining Software Repositories, MSR 2022. ACM/IEEE, ACM, May 2022
主题: 软件工程 (cs.SE); 机器学习 (cs.LG); 程序设计语言 (cs.PL)
引用方式: arXiv:2201.09953 [cs.SE]
  (或者 arXiv:2201.09953v2 [cs.SE] 对于此版本)
  https://doi.org/10.48550/arXiv.2201.09953
期刊参考: ACM/IEEE International Conference on Mining Software Repositories, May 2022
相关 DOI: https://doi.org/10.1145/3524842.3528455

提交历史

来自:Raffi Khatchadourian
[v1] 2022年1月24日 星期一 21:12:38 UTC
[v2] 2022年2月25日 星期五 23:11:57 UTC
全文链接:

访问论文:

  • 查看原文 PDF
  • 中文 PDF (下批处理)
  • EasyResearch 阅读
  • TeX 源文件
  • arXiv 原文页面
查看许可

当前浏览上下文:

cs
< 上一篇   |   下一篇 >
最新 | 近期 | 2022-02
切换浏览方式为:
cs.SE
cs.LG
cs.PL

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

EasyXiv 是独立运营的中文预印本站点,与 arXiv 及康奈尔大学无隶属关系。 论文元数据与原文来自 arXiv.org,感谢 arXiv 提供开放获取服务。
关于 · 帮助 · 投稿指南 · 版权 · arXiv 原站