DLBricks:可组合基准生成,以减少CPU上的深度学习基准测试工作(扩展)
DLBricks: Composable Benchmark Generation to Reduce Deep Learning Benchmarking Effort on CPUs (Extended)
摘要:
在过去的几年里,深度学习(DL)模型被大量应用于各种任务,如图像分类、目标检测、机器翻译等。虽然DL模型为解决其他棘手的任务提供了机会,但它们的采用依赖于它们被优化以满足延迟和资源要求。设定基准是这一进程中的一个关键步骤,但由于缺乏具有代表性的最新基准套件而受到阻碍。DL模型的快速发展加剧了这一点。本文提出了DLBricks,一个可组合的基准生成设计,减少了开发,维护和运行DL基准的CPU上的工作。DLBricks将DL模型分解为一组唯一的可运行网络,并使用生成的基准测试的性能构建原始模型的性能。DLBricks利用了两个关键的观察结果:DL层是DL模型的性能构建块,并且层在DL模型内部和之间广泛重复。由于基准测试是自动生成的,并且基准测试时间最小化,DLBricks可以与最新的建议模型保持同步,从而减轻了选择代表性DL模型的压力。此外,DLBricks允许用户在基准测试套件中表示专有模型。我们使用$50$ MXNet模型在$4$代表性CPU系统上评估跨越$5$ DL任务的DLBrick。我们发现DLBricks为DL模型提供了准确的性能估计,并缩短了跨系统的基准测试时间(例如,在Amazon EC2 c5.xlarge上,$95\%$准确性范围内,以及高达$4.4\times$基准测试时间加速)。
英文摘要:
The past few years have seen a surge of applying Deep Learning (DL) models for a wide array of tasks such as image classification, object detection, machine translation, etc. While DL models provide an opportunity to solve otherwise intractable tasks, their adoption relies on them being optimized to meet latency and resource requirements. Benchmarking is a key step in this process but has been hampered in part due to the lack of representative and up-to-date benchmarking suites. This is exacerbated by the fast-evolving pace of DL models. This paper proposes DLBricks, a composable benchmark generation design that reduces the effort of developing, maintaining, and running DL benchmarks on CPUs. DLBricks decomposes DL models into a set of unique runnable networks and constructs the original model's performance using the performance of the generated benchmarks. DLBricks leverages two key observations: DL layers are the performance building blocks of DL models and layers are extensively repeated within and across DL models. Since benchmarks are generated automatically and the benchmarking time is minimized, DLBricks can keep up-to-date with the latest proposed models, relieving the pressure of selecting representative DL models. Moreover, DLBricks allows users to represent proprietary models within benchmark suites. We evaluate DLBricks using $50$ MXNet models spanning $5$ DL tasks on $4$ representative CPU systems. We show that DLBricks provides an accurate performance estimate for the DL models and reduces the benchmarking time across systems (e.g. within $95\%$ accuracy and up to $4.4\times$ benchmarking time speedup on Amazon EC2 c5.xlarge).
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。