arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2310.07940cs.LG
收藏

机器学习流水线的成本驱动的软硬件协同优化

Cost-Driven Hardware-Software Co-Optimization of Machine Learning Pipelines

Ravit Sharma, Wojciech Romaszkan, Feiqian Zhu, Puneet Gupta, Ankur Mehta

AI总结:

本研究从成本、延迟和用户体验视角探索机器学习流水线的软硬件协同设计,提出针对成本受限边缘平台的最佳系统设计与模型部署指南,并基于20美元ESP-EYE开发板验证。

摘要:

研究人员一直宣扬由物联网设备(包括智能传感器、家庭和城市)普及所推动的未来愿景。在此类设备中嵌入智能越来越依赖于深度神经网络。然而,其存储和处理需求使其在廉价、现成的平台上难以实现。克服这些需求是实现广泛适用的智能设备的必要条件。尽管已经开发了许多使模型更小、更高效的方法,但缺乏对哪些方法最适合特定场景的理解。对于边缘平台而言,更重要的是,这些选择不能脱离成本和用户体验来孤立分析。在本研究中,我们全面探索了量化、模型缩放和多模态如何与内存、传感器和处理器等系统组件交互。我们从成本、延迟和用户体验的角度执行这种硬件/软件协同设计,并为最受成本限制的平台制定了一套最佳系统设计和模型部署指南。我们使用一个基于20美元ESP-EYE开发板的端到端、设备上生物特征用户认证系统演示了我们的方法。

英文摘要:

Researchers have long touted a vision of the future enabled by a proliferation of internet-of-things devices, including smart sensors, homes, and cities. Increasingly, embedding intelligence in such devices involves the use of deep neural networks. However, their storage and processing requirements make them prohibitive for cheap, off-the-shelf platforms. Overcoming those requirements is necessary for enabling widely-applicable smart devices. While many ways of making models smaller and more efficient have been developed, there is a lack of understanding of which ones are best suited for particular scenarios. More importantly for edge platforms, those choices cannot be analyzed in isolation from cost and user experience. In this work, we holistically explore how quantization, model scaling, and multi-modality interact with system components such as memory, sensors, and processors. We perform this hardware/software co-design from the cost, latency, and user-experience perspective, and develop a set of guidelines for optimal system design and model deployment for the most cost-constrained platforms. We demonstrate our approach using an end-to-end, on-device, biometric user authentication system using a $20 ESP-EYE board.

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

↑