arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 1901.10584cs.CV
收藏

嵌入式系统深度推理精度与能量的权衡:一种协同设计方法

Trading-off Accuracy and Energy of Deep Inference on Embedded Systems: A Co-Design Approach

Washington State University(华盛顿州立大学)

Nitthilan Kannappan Jayakodi, Anwesha Chatterjee, Wonje Choi, Janardhan Rao Doppa, Partha Pratim Pande

摘要:

深度神经网络已经在包括图像、视频和语音在内的不同形式的数据方面取得了巨大的成功。这一成功导致了它们在移动和嵌入式系统中的部署,用于实时应用。然而,由于资源受限(例如,能源和计算能力)。为了应对这些挑战,我们开发了一种原则性的协同设计方法。在先前工作的基础上,我们开发了一种称为粗到细网络(C2F网)的形式主义,它允许我们采用不同复杂度的分类器来进行预测。我们提出了一个原则性的优化算法,自动配置C2F网络的准确性和推理的能量消耗之间的指定权衡。关键的思想是选择一个分类器的飞行,其复杂性是成比例的输入示例的硬度:简单的分类器容易输入和复杂的分类器的硬输入。我们使用四种不同的C2F网络架构对多个现实世界的图像分类任务进行全面的实验评估。我们的研究结果表明,与基线解决方案相比,优化的C2F Net可以将能量延迟产品(EDP)减少27%至60%,而不会损失准确性,其中所有预测都是使用C2F Net中最复杂的分类器进行的。

英文摘要:

Deep neural networks have seen tremendous success for different modalities of data including images, videos, and speech. This success has led to their deployment in mobile and embedded systems for real-time applications. However, making repeated inferences using deep networks on embedded systems poses significant challenges due to constrained resources (e.g., energy and computing power). To address these challenges, we develop a principled co-design approach. Building on prior work, we develop a formalism referred to as Coarse-to-Fine Networks (C2F Nets) that allow us to employ classifiers of varying complexity to make predictions. We propose a principled optimization algorithm to automatically configure C2F Nets for a specified trade-off between accuracy and energy consumption for inference. The key idea is to select a classifier on-the-fly whose complexity is proportional to the hardness of the input example: simple classifiers for easy inputs and complex classifiers for hard inputs. We perform comprehensive experimental evaluation using four different C2F Net architectures on multiple real-world image classification tasks. Our results show that optimized C2F Net can reduce the Energy Delay Product (EDP) by 27 to 60 percent with no loss in accuracy when compared to the baseline solution, where all predictions are made using the most complex classifier in C2F Net.

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

↑