arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2411.02471cs.LGcs.AIcs.SYeess.SPeess.SY
收藏

能量感知的动态神经推理

Energy-Aware Dynamic Neural Inference

Imperial College London(帝国理工学院);Toshiba Bristol Research and Innovation Laboratory(东芝布里斯托尔研究与创新实验室)

Marcello Bullo, Seifallah Jardak, Pietro Carnelli, Deniz Gündüz

AI总结:

针对能量受限设备的推理性能下降问题,提出能量感知的动态神经推理系统,通过多模型选择或提前退出动态调整计算成本,并融入置信度与强化学习控制,实验显示可提升约5%准确率。

摘要:

随着对网络边缘之外的智能应用需求的增长,以及对可持续运行的需求,正在推动深度学习(DL)算法无缝集成到能量受限甚至能量收集的终端设备中。然而,环境能源的随机性常常导致收集率不足,无法满足推理的能源需求,并在能量不可知系统中造成显著的性能下降。为了解决这个问题,我们考虑了一个配备能量收集器和有限容量能量存储的设备端自适应推理系统。然后,我们允许设备按需降低运行时执行成本,通过在不同大小的神经网络之间切换(称为多模型选择(MMS)),或在中间层启用更早的预测(称为提前退出(EE))。然后,根据能量存储和收集过程的状态动态选择要使用的模型或退出点。我们还研究了将预测置信度整合到决策过程中的有效性。我们为置信度感知和不可知的控制器推导了一个具有理论保证的原则性策略。此外,在多出口网络中,我们通过设计一个轻量级的基于强化学习的控制器,研究了逐出口增量决策的优势。实验结果表明,随着环境能量的增加,能量和置信度感知的控制方案相比仅能量感知的置信度不可知方案,在准确性上显示出约5%的提升。增量方法实现了更高的准确性,特别是在能量存储容量相对于推理模型的能量消耗有限的情况下。

英文摘要:

The growing demand for intelligent applications beyond the network edge, coupled with the need for sustainable operation, are driving the seamless integration of deep learning (DL) algorithms into energy-limited, and even energy-harvesting end-devices. However, the stochastic nature of ambient energy sources often results in insufficient harvesting rates, failing to meet the energy requirements for inference and causing significant performance degradation in energy-agnostic systems. To address this problem, we consider an on-device adaptive inference system equipped with an energy-harvester and finite-capacity energy storage. We then allow the device to reduce the run-time execution cost on-demand, by either switching between differently-sized neural networks, referred to as multi-model selection (MMS), or by enabling earlier predictions at intermediate layers, called early exiting (EE). The model to be employed, or the exit point is then dynamically chosen based on the energy storage and harvesting process states. We also study the efficacy of integrating the prediction confidence into the decision-making process. We derive a principled policy with theoretical guarantees for confidence-aware and -agnostic controllers. Moreover, in multi-exit networks, we study the advantages of taking decisions incrementally, exit-by-exit, by designing a lightweight reinforcement learning-based controller. Experimental results show that, as the rate of the ambient energy increases, energy- and confidence-aware control schemes show approximately 5% improvement in accuracy compared to their energy-aware confidence-agnostic counterparts. Incremental approaches achieve even higher accuracy, particularly when the energy storage capacity is limited relative to the energy consumption of the inference model.

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

↑