DLAS:深度学习加速栈的探索与评估
DLAS: An Exploration and Assessment of the Deep Learning Acceleration Stack
AI总结:
本文提出深度学习加速栈(DLAS),结合机器学习与系统技术,通过跨栈扰动研究评估参数变化对DNN准确性和推理时间的影响,揭示跨层交互,并强调协同设计的重要性。
摘要:
深度神经网络(DNN)计算需求极高,这对其在资源受限设备上的部署构成了巨大障碍。由于此类设备正是许多新兴深度学习应用(如无人机、基于视觉的医疗技术)的所在之处,机器学习和系统领域的众多研究工作都试图提供优化以加速DNN。为了帮助统一这两个视角,本文在深度学习加速栈(DLAS)中结合了机器学习与系统技术,并通过跨栈扰动研究展示了这些层之间如何紧密依赖。我们评估了在改变DLAS不同参数时对准确性和推理时间的影响,涵盖两个数据集、七种流行的DNN架构、四种DNN压缩技术、三种具有稀疏和稠密变体的算法原语、未调优和自动调度的代码生成,以及四个硬件平台。我们的评估突出了DLAS参数扰动如何导致显著变化和跨栈交互。评估得出的最高层观察是,模型大小、准确性和推理时间并不保证相关。总体而言,我们提出了13项关键观察,包括压缩技术提供的加速高度依赖硬件,以及编译器自动调优可以显著改变给定配置下最佳算法的选择。通过DLAS,我们旨在提供一个参考框架,帮助机器学习和系统从业者理解其各自的DNN加速解决方案所处的上下文。我们的评估强烈表明协同设计的必要性,我们相信DLAS可以成为探索下一代协同设计加速深度学习解决方案的有价值概念。
英文摘要:
Deep Neural Networks (DNNs) are extremely computationally demanding, which presents a large barrier to their deployment on resource-constrained devices. Since such devices are where many emerging deep learning applications lie (e.g., drones, vision-based medical technology), significant bodies of work from both the machine learning and systems communities have attempted to provide optimizations to accelerate DNNs. To help unify these two perspectives, in this paper we combine machine learning and systems techniques within the Deep Learning Acceleration Stack (DLAS), and demonstrate how these layers can be tightly dependent on each other with an across-stack perturbation study. We evaluate the impact on accuracy and inference time when varying different parameters of DLAS across two datasets, seven popular DNN architectures, four DNN compression techniques, three algorithmic primitives with sparse and dense variants, untuned and auto-scheduled code generation, and four hardware platforms. Our evaluation highlights how perturbations across DLAS parameters can cause significant variation and across-stack interactions. The highest level observation from our evaluation is that the model size, accuracy, and inference time are not guaranteed to be correlated. Overall we make 13 key observations, including that speedups provided by compression techniques are very hardware dependent, and that compiler auto-tuning can significantly alter what the best algorithm to use for a given configuration is. With DLAS, we aim to provide a reference framework to aid machine learning and systems practitioners in reasoning about the context in which their respective DNN acceleration solutions exist in. With our evaluation strongly motivating the need for co-design, we believe that DLAS can be a valuable concept for exploring the next generation of co-designed accelerated deep learning solutions.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。