arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2410.09650cs.DCcs.NE
收藏

减少分布式异构神经网络中的数据瓶颈

Reducing Data Bottlenecks in Distributed, Heterogeneous Neural Networks

Ruhai Lin, Rui-Jie Zhu, Jason K. Eshraghian

AI总结:

本文研究嵌入式多核系统中芯片间数据流量对深度学习性能的影响,提出用极窄层替换数据瓶颈的软硬件协同设计方法,在CIFAR100上验证了模型准确率与数据传输量的权衡关系,为资源受限环境开发高效模型。

摘要:

嵌入式多核与众核系统的快速发展彻底改变了计算领域,使其能够为广泛的应用开发高性能、高能效的解决方案。随着模型规模不断扩大,数据移动日益成为性能的瓶颈。这种数据移动可能存在于处理器与内存之间,或核心与芯片之间。本文以芯片间数据流量为指标,研究了瓶颈大小对嵌入式多核与众核系统中深度学习模型性能的影响。我们对瓶颈大小、计算资源利用率和模型准确率之间的关系进行了系统分析。我们采用软硬件协同设计方法,用极窄层替换数据瓶颈,以减少数据流量。实际上,信号的时间复用被可学习的嵌入所取代,从而降低了对芯片IO的需求。我们在CIFAR100数据集上的实验表明,分类准确率通常随着瓶颈比率的增加而下降,与较深的模型相比,较浅的模型下降幅度更大。硬件方面的评估显示,更高的瓶颈比率能大幅减少神经网络各层间的数据传输量。通过这项研究,我们可以确定数据传输量与模型性能之间的权衡关系,从而找到一个平衡点,在实现良好性能的同时最小化数据传输量。这一特性使得能够开发出非常适合资源受限环境的高效模型。

英文摘要:

The rapid advancement of embedded multicore and many-core systems has revolutionized computing, enabling the development of high-performance, energy-efficient solutions for a wide range of applications. As models scale up in size, data movement is increasingly the bottleneck to performance. This movement of data can exist between processor and memory, or between cores and chips. This paper investigates the impact of bottleneck size, in terms of inter-chip data traffic, on the performance of deep learning models in embedded multicore and many-core systems. We conduct a systematic analysis of the relationship between bottleneck size, computational resource utilization, and model accuracy. We apply a hardware-software co-design methodology where data bottlenecks are replaced with extremely narrow layers to reduce the amount of data traffic. In effect, time-multiplexing of signals is replaced by learnable embeddings that reduce the demands on chip IOs. Our experiments on the CIFAR100 dataset demonstrate that the classification accuracy generally decreases as the bottleneck ratio increases, with shallower models experiencing a more significant drop compared to deeper models. Hardware-side evaluation reveals that higher bottleneck ratios lead to substantial reductions in data transfer volume across the layers of the neural network. Through this research, we can determine the trade-off between data transfer volume and model performance, enabling the identification of a balanced point that achieves good performance while minimizing data transfer volume. This characteristic allows for the development of efficient models that are well-suited for resource-constrained environments.

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

↑