arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2109.13963cs.LGcs.PF
收藏

聪明的代价是什么?在野外表征移动深度神经网络

Smart at what cost? Characterising Mobile Deep Neural Networks in the wild

Samsung AI Center, Cambridge(三星人工智能中心(剑桥));University of Cambridge(剑桥大学)

Mario Almeida, Stefanos Laskaridis, Abhinav Mehrotra, Lukasz Dudziak, Ilias Leontiadis, Nicholas D. Lane

摘要:

随着智能手机在人们口袋中的无处不在,随着设备变得越来越强大,移动设备上的机器学习(ML)正在获得吸引力。随着从视觉过滤器到语音助手的应用程序的广泛应用,移动智能具有多种形式和方面。然而,深度神经网络(DNN)推理仍然是一个计算密集型的工作负载,设备难以以响应能力为代价来支持智能。一方面,在降低模型运行时需求和支持在嵌入式设备上部署方面有大量研究。另一方面,最大限度地提高任务准确性的努力得到了更深、更广的神经网络的支持,这使得最先进的DNN的移动部署成为一个移动目标。在本文中,我们对DNN的使用进行了第一次全面的研究,试图跟踪部署的模型,并匹配这些模型在广泛部署的设备上的运行方式。为此,我们分析了Google Play商店中超过16k个最受欢迎的应用程序,以评估其DNN使用情况和性能在不同功能的设备上的跨层和跨代。同时,我们测量模型的能源足迹,作为任何移动部署的核心成本维度。为了简化流程,我们开发了gaugeNN,这是一种自动化设备上DNN的部署,测量和分析的工具,支持不同的框架和平台。我们的经验研究结果描绘了智能手机上深度学习部署的前景,并表明它们在应用程序开发人员中的流行程度。此外,我们的研究还显示了定制技术和现实部署之间的差距,以及在高度动态和异构的生态系统中优化部署深度学习模型的必要性。

英文摘要:

With smartphones' omnipresence in people's pockets, Machine Learning (ML) on mobile is gaining traction as devices become more powerful. With applications ranging from visual filters to voice assistants, intelligence on mobile comes in many forms and facets. However, Deep Neural Network (DNN) inference remains a compute intensive workload, with devices struggling to support intelligence at the cost of responsiveness.On the one hand, there is significant research on reducing model runtime requirements and supporting deployment on embedded devices. On the other hand, the strive to maximise the accuracy of a task is supported by deeper and wider neural networks, making mobile deployment of state-of-the-art DNNs a moving target. In this paper, we perform the first holistic study of DNN usage in the wild in an attempt to track deployed models and match how these run on widely deployed devices. To this end, we analyse over 16k of the most popular apps in the Google Play Store to characterise their DNN usage and performance across devices of different capabilities, both across tiers and generations. Simultaneously, we measure the models' energy footprint, as a core cost dimension of any mobile deployment. To streamline the process, we have developed gaugeNN, a tool that automates the deployment, measurement and analysis of DNNs on devices, with support for different frameworks and platforms. Results from our experience study paint the landscape of deep learning deployments on smartphones and indicate their popularity across app developers. Furthermore, our study shows the gap between bespoke techniques and real-world deployments and the need for optimised deployment of deep learning models in a highly dynamic and heterogeneous ecosystem.

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

↑