arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2005.10851cs.LGcs.CVcs.NEstat.ML
收藏

跨边缘和云的深度混合神经网络

Conditionally Deep Hybrid Neural Networks Across Edge and Cloud

Purdue University(普渡大学)

Yinghan Long, Indranil Chakraborty, Kaushik Roy

摘要:

“物联网”在我们日常生活中的普遍存在,导致了最近雾计算的激增,包括云计算和边缘智能的协作。为此,深度学习一直是实现此类智能系统的主要驱动力。然而,深度学习中不断增长的模型大小对资源受限的边缘设备中的部署提出了重大挑战。此外,在分布式智能环境中,在边缘和云系统之间进行有效的工作负载分配是必要的。为了解决这些挑战,我们提出了一个条件深度混合神经网络,用于实现基于AI的雾计算。所提出的网络可以以分布式方式部署,包括边缘的量化层和早期退出以及云上的全精度层。在推理过程中,如果早期退出对分类结果具有高置信度,则它将允许样本在边缘退出,并且云上的较深层被有条件地激活,这可以导致提高的能量效率和推理延迟。我们进行了广泛的设计空间探索,目标是最大限度地减少边缘的能耗,同时在图像分类任务上实现最先进的分类精度。我们表明,在边缘处使用二值化层,所提出的条件混合网络可以处理边缘处65%的推理,从而在CIFAR-10数据集上以最小的精度降低5.5倍的计算能量。对于更复杂的数据集CIFAR-100,我们观察到,在边缘进行4位量化的拟议网络在边缘实现了52%的早期分类,能量降低了4.8倍。该分析为我们设计高效的混合网络提供了见解,这些网络比基于边缘云的分布式智能系统的全精度网络具有更高的能效。

英文摘要:

The pervasiveness of "Internet-of-Things" in our daily life has led to a recent surge in fog computing, encompassing a collaboration of cloud computing and edge intelligence. To that effect, deep learning has been a major driving force towards enabling such intelligent systems. However, growing model sizes in deep learning pose a significant challenge towards deployment in resource-constrained edge devices. Moreover, in a distributed intelligence environment, efficient workload distribution is necessary between edge and cloud systems. To address these challenges, we propose a conditionally deep hybrid neural network for enabling AI-based fog computing. The proposed network can be deployed in a distributed manner, consisting of quantized layers and early exits at the edge and full-precision layers on the cloud. During inference, if an early exit has high confidence in the classification results, it would allow samples to exit at the edge, and the deeper layers on the cloud are activated conditionally, which can lead to improved energy efficiency and inference latency. We perform an extensive design space exploration with the goal of minimizing energy consumption at the edge while achieving state-of-the-art classification accuracies on image classification tasks. We show that with binarized layers at the edge, the proposed conditional hybrid network can process 65% of inferences at the edge, leading to 5.5x computational energy reduction with minimal accuracy degradation on CIFAR-10 dataset. For the more complex dataset CIFAR-100, we observe that the proposed network with 4-bit quantization at the edge achieves 52% early classification at the edge with 4.8x energy reduction. The analysis gives us insights on designing efficient hybrid networks which achieve significantly higher energy efficiency than full-precision networks for edge-cloud based distributed intelligence systems.

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

↑