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

时间决策:利用时间相关性实现早退神经网络的高效决策

Temporal Decisions: Leveraging Temporal Correlation for Efficient Decisions in Early Exit Neural Networks

Infineon Technologies Dresden GmbH & Co. KG(英飞凌德累斯顿有限两合公司);Technical University of Munich(慕尼黑工业大学);Infineon Technologies AG(英飞凌股份公司);Technical University of Dresden(德累斯顿工业大学)

Max Sponner, Lorenzo Servadei, Bernd Waschneck, Robert Wille, Akash Kumar

AI总结:

本文提出差异检测与时间耐心两种决策机制,利用传感器数据的时间相关性高效终止早退神经网络推理,在保持高准确率的同时将计算量减少高达80%。

摘要:

深度学习在嵌入式系统和物联网应用中的重要性日益凸显。然而,由于资源限制,在嵌入式设备上部署模型面临挑战,这可能影响模型的推理准确性和延迟。一个潜在的解决方案是早退神经网络,它通过在隐藏层之间附加额外的分类器来动态调整模型深度。然而,实时终止决策机制对于系统的效率、延迟和持续准确性至关重要。本文介绍了差异检测和时间耐心作为早退神经网络的决策机制。它们利用传感器数据流中存在的时间相关性来高效终止推理。我们在健康监测、图像分类和唤醒词检测任务中评估了其有效性。与已建立的决策机制相比,我们的新颖贡献能够显著减少计算开销,同时保持更高的准确率。我们将每次推理的平均操作数减少了高达80%,同时将准确率保持在原始模型的5%以内。这些发现强调了在传感器数据中考虑时间相关性以改进终止决策的重要性。

英文摘要:

Deep Learning is becoming increasingly relevant in Embedded and Internet-of-things applications. However, deploying models on embedded devices poses a challenge due to their resource limitations. This can impact the model's inference accuracy and latency. One potential solution are Early Exit Neural Networks, which adjust model depth dynamically through additional classifiers attached between their hidden layers. However, the real-time termination decision mechanism is critical for the system's efficiency, latency, and sustained accuracy. This paper introduces Difference Detection and Temporal Patience as decision mechanisms for Early Exit Neural Networks. They leverage the temporal correlation present in sensor data streams to efficiently terminate the inference. We evaluate their effectiveness in health monitoring, image classification, and wake-word detection tasks. Our novel contributions were able to reduce the computational footprint compared to established decision mechanisms significantly while maintaining higher accuracy scores. We achieved a reduction of mean operations per inference by up to 80% while maintaining accuracy levels within 5% of the original model. These findings highlight the importance of considering temporal correlation in sensor data to improve the termination decision.

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

↑