ALPINE:用于深度学习的紧密处理器集成的模拟内存加速
ALPINE: Analog In-Memory Acceleration with Tight Processor Integration for Deep Learning
摘要:
模拟存内计算(AIMC)核相对于数字逻辑(例如,CPU)。AIMC加速了矩阵向量乘法,这在这些应用程序的运行时占主导地位。然而,以AIMC为中心的平台缺乏通用系统的灵活性,因为它们通常具有硬编码的数据流,并且只能支持有限的处理功能集。为了弥补这种灵活性的差距,我们提出了一种新的系统架构,紧密集成模拟存内计算加速器到多核CPU的通用系统。我们开发了一个功能强大的基于gem 5的完整系统级仿真框架到gem 5-X模拟器,ALPINE,它可以深入表征所提出的架构。ALPINE允许模拟整个计算机体系结构栈,从主要硬件组件到它们与Linux OS的交互。在ALPINE中,我们定义了一个自定义ISA扩展和一个软件库,以方便部署推理模型。我们展示并分析了不同神经网络类型的各种映射,并展示了与支持SIMD的ARM CPU实现相比,卷积神经网络、多层感知器和递归神经网络的性能/能量增益高达20.5倍/20.8倍。
英文摘要:
Analog in-memory computing (AIMC) cores offers significant performance and energy benefits for neural network inference with respect to digital logic (e.g., CPUs). AIMCs accelerate matrix-vector multiplications, which dominate these applications' run-time. However, AIMC-centric platforms lack the flexibility of general-purpose systems, as they often have hard-coded data flows and can only support a limited set of processing functions. With the goal of bridging this gap in flexibility, we present a novel system architecture that tightly integrates analog in-memory computing accelerators into multi-core CPUs in general-purpose systems. We developed a powerful gem5-based full system-level simulation framework into the gem5-X simulator, ALPINE, which enables an in-depth characterization of the proposed architecture. ALPINE allows the simulation of the entire computer architecture stack from major hardware components to their interactions with the Linux OS. Within ALPINE, we have defined a custom ISA extension and a software library to facilitate the deployment of inference models. We showcase and analyze a variety of mappings of different neural network types, and demonstrate up to 20.5x/20.8x performance/energy gains with respect to a SIMD-enabled ARM CPU implementation for convolutional neural networks, multi-layer perceptrons, and recurrent neural networks.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。