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

CrowdHMTware:一种用于上下文感知移动DL部署的跨层级协同适应中间件

CrowdHMTware: A Cross-level Co-adaptation Middleware for Context-aware Mobile DL Deployment

Sicong Liu, Bin Guo, Shiyan Luo, Yuzhan Wang, Hao Luo, Cheng Fang, Yuan Xu, Ke Ma, Yao Li, Zhiwen Yu

AI总结:

提出CrowdHMTware,一种面向异构移动设备的动态上下文自适应DL模型部署中间件,通过在弹性推理、可扩展卸载和模型自适应引擎间建立自动化适应循环,解决了跨层级协同适应难题,有效提升了多平台多任务的扩展性与适应性。

摘要:

如今有许多基于深度学习(DL)的移动和可穿戴应用,它们持续且不引人注目地感知周围环境,以改善人类生活的各个方面。为了实现稳健且私密的移动感知,DL模型通常使用模型压缩或卸载等技术,本地部署在资源受限的移动设备上。然而,现有方法,无论是前端算法层级(即DL模型压缩/划分)还是后端调度层级(即算子/资源调度),都无法在本地在线运行,因为它们需要离线重训练以确保准确性,或依赖手动预定义的策略,难以实现动态适应性。主要挑战在于将运行时性能从后端层级反馈给前端层级的优化决策。此外,具有跨层级协同适应能力的自适应移动DL模型移植中间件的研究较少,特别是在具有多样性和动态性的移动环境中。为此,我们引入了CrowdHMTware,一种面向异构移动设备的动态上下文自适应DL模型部署中间件。它在跨层级功能组件(即弹性推理、可扩展卸载和模型自适应引擎)之间建立了一个自动化适应循环,增强了可扩展性和适应性。在15个平台上的四项典型任务实验和一项真实世界案例研究表明,CrowdHMTware能够有效地在多样化的平台和任务间扩展DL模型、卸载和引擎操作。它向开发者隐藏了运行时系统问题,降低了所需的开发者专业知识。

英文摘要:

There are many deep learning (DL) powered mobile and wearable applications today continuously and unobtrusively sensing the ambient surroundings to enhance all aspects of human lives.To enable robust and private mobile sensing, DL models are often deployed locally on resource-constrained mobile devices using techniques such as model compression or offloading.However, existing methods, either front-end algorithm level (i.e. DL model compression/partitioning) or back-end scheduling level (i.e. operator/resource scheduling), cannot be locally online because they require offline retraining to ensure accuracy or rely on manually pre-defined strategies, struggle with dynamic adaptability.The primary challenge lies in feeding back runtime performance from the back-end level to the front-end level optimization decision. Moreover, the adaptive mobile DL model porting middleware with cross-level co-adaptation is less explored, particularly in mobile environments with diversity and dynamics. In response, we introduce CrowdHMTware, a dynamic context-adaptive DL model deployment middleware for heterogeneous mobile devices. It establishes an automated adaptation loop between cross-level functional components, i.e. elastic inference, scalable offloading, and model-adaptive engine, enhancing scalability and adaptability. Experiments with four typical tasks across 15 platforms and a real-world case study demonstrate that CrowdHMTware can effectively scale DL model, offloading, and engine actions across diverse platforms and tasks. It hides run-time system issues from developers, reducing the required developer expertise.

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

↑