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

LETI:移动GPU上的延迟估计工具和神经网络推理研究

LETI: Latency Estimation Tool and Investigation of Neural Networks inference on Mobile GPU

Evgeny Ponomarev, Sergey Matveev, Ivan Oseledets

摘要:

许多深度学习应用都希望在移动设备上运行。准确性和推理时间对他们中的很多人来说都是有意义的。虽然FLOP的数量通常被用作神经网络延迟的代理,但它可能不是最佳选择。为了获得更好的延迟近似值,研究界使用所有可能层的查找表进行延迟计算,以最终预测移动CPU上的推理。它只需要少量的实验。不幸的是,在移动GPU上,这种方法不适用于直接的方式,并显示出较低的精度。在这项工作中,我们认为延迟近似移动GPU作为一个数据和硬件特定的问题。我们的主要目标是构建一个方便的延迟估计工具(LETI)的神经网络推理的调查和建立强大的和准确的延迟预测模型,为每个特定的任务。为了实现这一目标,我们构建了开源工具,这些工具提供了一种方便的方式来在不同的目标设备上进行大量的实验,重点是移动GPU。评估数据集后,我们学习实验数据的回归模型,并将其用于未来的延迟预测和分析。我们通过实验证明了这种方法在流行的NAS-Benchmark 101数据集的一个子集上的适用性,并评估了两个移动GPU的最流行的神经网络架构。因此,我们在目标评估子集上构建了具有良好精度的延迟预测模型。我们认为LETI是一个有用的工具,神经结构搜索或大规模的延迟评估。该项目可在https://github.com/leti-ai上获得

英文摘要:

A lot of deep learning applications are desired to be run on mobile devices. Both accuracy and inference time are meaningful for a lot of them. While the number of FLOPs is usually used as a proxy for neural network latency, it may be not the best choice. In order to obtain a better approximation of latency, research community uses look-up tables of all possible layers for latency calculation for the final prediction of the inference on mobile CPU. It requires only a small number of experiments. Unfortunately, on mobile GPU this method is not applicable in a straight-forward way and shows low precision. In this work, we consider latency approximation on mobile GPU as a data and hardware-specific problem. Our main goal is to construct a convenient latency estimation tool for investigation(LETI) of neural network inference and building robust and accurate latency prediction models for each specific task. To achieve this goal, we build open-source tools which provide a convenient way to conduct massive experiments on different target devices focusing on mobile GPU. After evaluation of the dataset, we learn the regression model on experimental data and use it for future latency prediction and analysis. We experimentally demonstrate the applicability of such an approach on a subset of popular NAS-Benchmark 101 dataset and also evaluate the most popular neural network architectures for two mobile GPUs. As a result, we construct latency prediction model with good precision on the target evaluation subset. We consider LETI as a useful tool for neural architecture search or massive latency evaluation. The project is available at https://github.com/leti-ai

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

↑