视差:面向异构边缘系统的运行时并行化以优化操作符回退
Parallax: Runtime Parallelization for Operator Fallbacks in Heterogeneous Edge Systems
AI总结:
Parallax通过并行化和内存优化,提升移动设备上动态神经网络推断的效率与响应性。
摘要:
随着边缘设备上实时深度神经网络应用需求的增长,需要更快地推断日益复杂的模型。尽管许多设备包含专用加速器(例如移动GPU),动态控制流操作符和不支持的内核往往回退到CPU执行。现有框架处理这些回退效果不佳,导致CPU核心空闲,产生高延迟和内存峰值。我们引入Parallax,一个无需模型重构或定制操作符实现的框架,以加速移动DNN推断。Parallax首先将计算DAG划分为以暴露并行性,然后采用分支感知的内存管理,使用专用领域和缓冲区重用以减少运行时足迹。一个自适应调度器根据设备内存约束执行分支,同时,细粒度子图控制实现了动态模型的异构推断。通过在三种不同的移动设备上评估五个代表性DNN,Parallax实现了高达46%的延迟降低,保持可控的内存开销(平均26.5%),并相比最先进的框架提供了高达30%的能量节省,这些改进与实时移动推断的响应需求相一致。
英文摘要:
The growing demand for real-time DNN applications on edge devices necessitates faster inference of increasingly complex models. Although many devices include specialized accelerators (e.g., mobile GPUs), dynamic control-flow operators and unsupported kernels often fall back to CPU execution. Existing frameworks handle these fallbacks poorly, leaving CPU cores idle and causing high latency and memory spikes. We introduce Parallax, a framework that accelerates mobile DNN inference without model refactoring or custom operator implementations. Parallax first partitions the computation DAG to expose parallelism, then employs branch-aware memory management with dedicated arenas and buffer reuse to reduce runtime footprint. An adaptive scheduler executes branches according to device memory constraints, meanwhile, fine-grained subgraph control enables heterogeneous inference of dynamic models. By evaluating on five representative DNNs across three different mobile devices, Parallax achieves up to 46% latency reduction, maintains controlled memory overhead (26.5% on average), and delivers up to 30% energy savings compared with state-of-the-art frameworks, offering improvements aligned with the responsiveness demands of real-time mobile inference.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。