← 返回 JSSC 论文列表
📄 下载 JSSC 原文 PDF
JSSC 2024第8期MemoryCIM

SP-PIM: A Super-Pipelined Processing-In-Memory Accelerator With Local Error Prediction for Area/Energy-Efficient On-Device Learning

SP-PIM是一种超流水线内存计算加速器,通过局部误差预测提升边缘设备学习效率。
训练速度提升7.31倍,外部内存访问减少59.09%
内存计算边缘设备机器学习流水线误差预测
基于局部误差预测的多级流水线方案
轻量级局部误差预测单元(LEPU)
利用PoT随机权重减少外部内存访问
Abstract
Over the past few years, on-device learning (ODL) has become an integral aspect of the success of edge devices that embrace machine learning (ML) since it plays a crucial role in restoring ML model accuracy when the edge environment changes. However, implementing ODL on battery-limited edge devices poses significant challenges due to the generation of large-size intermediate data during ML training and the frequent data movement between the processor and memory, resulting in substantial power consumption. To address this limitation, certain ML accelerators in edge devices have adopted a processing- in-memory (PIM) paradigm, integrating computing logic into memory. Nevertheless, these accelerators still face hurdles such as long latency caused by the lack of a pipelined approach in the training process, notable power and area overheads related to floating-point arithmetic, and incomplete handling of data sparsity during training. This article presents a high-throughput super-pipelined PIM accelerator, named SP-PIM, designed to overcome the limitations of existing PIM-based ODL accelerators. To this end, SP-PIM implements a holistic multi-level pipelining scheme based on local error prediction (EP), enhancing training speed by 7.31×. In addition, SP-PIM introduces a local EP unit (LEPU), a lightweight circuit that performs accurate EP leveraging power-of-two (PoT) random weights. This strategy sig- nificantly reduces power-hungry external memory access (EMA) by 59.09%. Moreover