深度卷积神经网络的跨栈优化特征
Characterising Across-Stack Optimisations for Deep Convolutional Neural Networks
摘要:
卷积神经网络(CNN)在计算上要求极高,这对它们在资源受限的设备上的部署构成了很大的障碍。由于这些系统是它们最有用的应用所在(例如,移动机器人的障碍物检测,基于视觉的医疗辅助技术),因此机器学习和系统社区的大量工作都试图提供优化,使CNN可用于边缘设备。在本文中,我们在深度学习推理栈中统一了这两种观点,并通过实施和评估最常见的神经网络压缩技术(权重修剪,通道修剪和量化)并使用一系列编程方法(OpenMP,OpenCL)和硬件架构(CPU,GPU)优化其并行执行来采取跨栈方法。我们提供了全面的帕累托曲线,指导权衡精度,执行时间和内存空间的约束下。
英文摘要:
Convolutional Neural Networks (CNNs) are extremely computationally demanding, presenting a large barrier to their deployment on resource-constrained devices. Since such systems are where some of their most useful applications lie (e.g. obstacle detection for mobile robots, vision-based medical assistive technology), significant bodies of work from both machine learning and systems communities have attempted to provide optimisations that will make CNNs available to edge devices. In this paper we unify the two viewpoints in a Deep Learning Inference Stack and take an across-stack approach by implementing and evaluating the most common neural network compression techniques (weight pruning, channel pruning, and quantisation) and optimising their parallel execution with a range of programming approaches (OpenMP, OpenCL) and hardware architectures (CPU, GPU). We provide comprehensive Pareto curves to instruct trade-offs under constraints of accuracy, execution time, and memory space.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。