HEP-BNN:一个在异构多处理器平台上寻找低延迟BNN执行序列的框架
HEP-BNN: A Framework for Finding Low-Latency Execution Configurations of BNNs on Heterogeneous Multiprocessor Platforms
摘要:
与全精度神经网络相比,二值化神经网络(BNN)通过二值化权重和激活显著降低了计算和内存需求。在由CPU和GPU组成的异构多处理器平台的不同设备上执行BNN中的层可以影响推理性能,即,准确性和延迟。通常,由CPU和GPU组成的异构硬件平台可用于执行BNN工作负载。然而,为了有效地使用异构硬件,有必要找到一个有效的策略BNN的工作负载映射。在这项工作中,我们提出了一个框架,生成有效的BNN层到设备的映射(即模型的每一层的适当的并行配置)的执行平台组成的CPU和CUDA的GPU。我们评估我们提出的框架与两个BNN架构使用两个著名的数据集,时尚MNIST和CIFAR-10,在三个硬件平台上具有不同的特点。结果表明,与运行完全并行化的GPU实现相比,我们的框架在我们测试的硬件上分别生成了高达2倍,2.6倍和11.8倍的高效配置。
英文摘要:
Binarized Neural Networks (BNNs) significantly reduce the computation and memory demands with binarized weights and activations compared to full-precision NNs. Executing a layer in a BNN on different devices of a heterogeneous multiprocessor platform consisting of CPU and GPU can affect the inference performance, i.e., accuracy and latency. Usually, a heterogeneous HW platform consisting of a CPU and a GPU is available to execute the BNN workloads. However, to use the heterogeneous HW effectively, it is necessary to find an efficient strategy for BNN workload mapping. In this work, we propose a framework that generates efficient BNN layer-to-device mappings (i.e. suitable parallel configuration for each layer of the model) for execution platforms comprised of CPU and CUDA-capable GPU. We evaluate our proposed framework with two BNN architectures using two well-known datasets, Fashion-MNIST and CIFAR-10, on three hardware platforms with different characteristics. The results show that compared to running a fully-parallelized GPU implementation, our framework generates an efficient configuration up to 2x, 2.6x and 11.8x faster on our tested hardware respectively.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。