面向设备-边缘协同推理的最优模型放置和在线模型分裂
Optimal Model Placement and Online Model Splitting for Device-Edge Co-Inference
摘要:
设备边缘协同推理为资源受限的无线设备(WD)执行具有繁重计算工作负载的基于深度神经网络(DNN)的应用开辟了新的可能性。具体地,WD执行DNN的前几层,并将中间特征发送到处理DNN的剩余层的边缘服务器。通过调整模型分裂决策,存在一个折衷的本地计算成本和通信开销。在实践中,DNN模型在边缘服务器上定期进行重新训练和更新。一旦重新生成DNN参数,则必须将更新模型的一部分放置在WD处,以便于设备上的推断。在本文中,我们研究了联合优化的模型放置和在线模型分裂的决定,以最大限度地减少能量和时间成本的设备边缘共同推理存在的无线信道衰落。这个问题是具有挑战性的,因为模型放置和模型分裂的决定是强耦合的,同时涉及两个不同的时间尺度。我们首先解决在线模型分裂制定一个最佳停止问题,其中有限的地平线上的问题是由模型的位置决定。除了推导出最佳的模型分裂规则的基础上向后归纳,我们进一步研究了一个简单的一阶段前瞻规则,我们能够获得解析表达式的模型分裂决策。该分析有助于我们在更大的时间尺度上有效地优化模型布局决策。特别是,我们得到了一个封闭形式的模型放置解决方案的全连接的多层感知器与相等的神经元。仿真结果验证了联合优化模型放置和分裂与各种DNN结构的优越性能。
英文摘要:
Device-edge co-inference opens up new possibilities for resource-constrained wireless devices (WDs) to execute deep neural network (DNN)-based applications with heavy computation workloads. In particular, the WD executes the first few layers of the DNN and sends the intermediate features to the edge server that processes the remaining layers of the DNN. By adapting the model splitting decision, there exists a tradeoff between local computation cost and communication overhead. In practice, the DNN model is re-trained and updated periodically at the edge server. Once the DNN parameters are regenerated, part of the updated model must be placed at the WD to facilitate on-device inference. In this paper, we study the joint optimization of the model placement and online model splitting decisions to minimize the energy-and-time cost of device-edge co-inference in presence of wireless channel fading. The problem is challenging because the model placement and model splitting decisions are strongly coupled, while involving two different time scales. We first tackle online model splitting by formulating an optimal stopping problem, where the finite horizon of the problem is determined by the model placement decision. In addition to deriving the optimal model splitting rule based on backward induction, we further investigate a simple one-stage look-ahead rule, for which we are able to obtain analytical expressions of the model splitting decision. The analysis is useful for us to efficiently optimize the model placement decision in a larger time scale. In particular, we obtain a closed-form model placement solution for the fully-connected multilayer perceptron with equal neurons. Simulation results validate the superior performance of the joint optimal model placement and splitting with various DNN structures.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。