Fast-OverlaPIM:一种面向存内计算神经网络加速的快速重叠驱动映射框架
Fast-OverlaPIM: A Fast Overlap-driven Mapping Framework for Processing In-Memory Neural Network Acceleration
AI总结:
Fast-OverlaPIM 将计算重叠优化引入 PIM 架构的 DNN 映射探索,通过快速重叠分析算法和新颖搜索策略,在相同架构约束下生成比现有最优框架快 4.6 至 18.1 倍的映射。
摘要:
存内计算(Processing in-memory, PIM)有望加速神经网络(NNs),因为它能最小化数据移动并提供大规模计算并行性。与机器学习加速器类似,应用映射(application mapping)决定操作调度和数据布局,在 PIM 上的神经网络加速中起着关键作用。以往神经网络加速器的映射优化侧重于优化顺序执行的延迟。然而,由于神经网络各层在不同存储位置上的空间执行方式,PIM 加速器具有与传统神经网络加速器不同的应用映射设计空间。这为重叠执行连续神经网络层以改善延迟提供了机会,即后一层可以在前一层完全完成计算之前开始执行。在本文中,我们提出了 Fast-OverlaPIM 框架,该框架将计算重叠优化纳入 PIM 架构上的 DNN 映射探索过程中。Fast-OverlaPIM 包含用于快速且准确的重叠分析的解析算法。此外,它提出了一种新颖的映射搜索策略和一种转换机制,以支持对整个网络基于重叠的映射进行高效的设计空间探索。与先前最先进的基于重叠的框架相比,我们的框架在运行时性能上展示了 3.4 倍到 323.1 倍的显著提升。我们的实验表明,在相同的架构约束下,Fast-OverlaPIM 能够高效地生成比最先进的映射优化框架快 4.6 倍到 18.1 倍的映射。
英文摘要:
Processing in-memory (PIM) is promising to accelerate neural networks (NNs) because it minimizes data movement and provides large computational parallelism. Similar to machine learning accelerators, application mapping, which determines the operation scheduling and data layout, plays a critical role in the NN acceleration on PIM. The mapping optimization of previous NN accelerators focused on optimizing the latency of sequential execution. However, PIM accelerators feature a distinct design space of application mapping from conventional NN accelerators, due to the spatial execution of NN layers across different memory locations. This enables opportunities for overlapping execution of consecutive NN layers to improve the latency, where the succeeding layer can start execution before the preceding layer fully completes the computation. In this paper, we propose Fast-OverlaPIM framework that incorporates the computational overlapping optimization into the DNN mapping exploration process on PIM architectures. Fast-OverlaPIM includes analytical algorithms for fast and accurate overlap analysis. Furthermore, it proposes a novel mapping search strategy and a transformation mechanism to enable efficient design space exploration on the overlap-based mapping for the whole network. Our framework demonstrates a significant improvement in runtime performance from 3.4x to 323.1x compared to the previous state-of-the-art overlap-based framework. Our experiments show that Fast-OverlaPIM can efficiently produce mappings that are 4.6x to 18.1x faster than the state-of-the-art mapping optimization framework under the same architecture constraints.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。