将深度学习迁移到Web浏览器:我们能走多远?
Moving Deep Learning into Web Browser: How Far Can We Go?
摘要:
最近,出现了几个基于JavaScript的深度学习框架,使得直接在浏览器中执行深度学习任务成为可能。然而,我们对这些框架在浏览器中的深度学习能做什么以及做得多好知之甚少。为了弥合知识鸿沟,在本文中,我们在浏览器中进行了第一次深度学习的实证研究。我们调查了7个最流行的基于JavaScript的深度学习框架,调查了到目前为止浏览器对深度学习任务的支持程度。然后,我们测量不同框架在运行不同深度学习任务时的性能。最后,我们通过对比TensorFlow.js和Python中的TensorFlow的性能,挖掘出浏览器中的深度学习和原生平台上的性能差距。我们的发现可以帮助应用程序开发人员,深度学习框架供应商和浏览器供应商提高浏览器中深度学习的效率。
英文摘要:
Recently, several JavaScript-based deep learning frameworks have emerged, making it possible to perform deep learning tasks directly in browsers. However, little is known on what and how well we can do with these frameworks for deep learning in browsers. To bridge the knowledge gap, in this paper, we conduct the first empirical study of deep learning in browsers. We survey 7 most popular JavaScript-based deep learning frameworks, investigating to what extent deep learning tasks have been supported in browsers so far. Then we measure the performance of different frameworks when running different deep learning tasks. Finally, we dig out the performance gap between deep learning in browsers and on native platforms by comparing the performance of TensorFlow.js and TensorFlow in Python. Our findings could help application developers, deep-learning framework vendors and browser vendors to improve the efficiency of deep learning in browsers.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。