Search papers, labs, and topics across Lattice.
This paper introduces CLASP, the first end-to-end system that integrates in-memory computing (IMC) acceleration for continual learning, addressing the dual challenges of noisy computation and resource efficiency in edge computing environments. By co-designing hardware and software, CLASP enables seamless incorporation of continual learning algorithms through assembly-level instructions, specifically utilizing a back-end-of-line compatible ECRAM device. The results demonstrate that CLASP achieves near-GPU training accuracy while delivering a remarkable 67x speedup and 132x energy savings on tasks like learning without forgetting and experience replay with MNIST data.
CLASP achieves 67x speedup and 132x energy savings for continual learning on edge devices, rivaling traditional GPU training accuracy.
Several edge computing platforms, such as autonomous vehicles and smart sensing devices, need to adapt to dynamic environments in real time by learning from new data in the field. Continual learning has emerged as a promising solution for edge training, by incorporating techniques that successfully combine a highly summarized version of previously trained data (to avoid catastrophic forgetting) with recently sensed data. However, as is the case with other ML algorithms, continual learning generates significant data movement between general-purpose CPUs/GPUs and memory, impacting the suitability of continual learning for edge platforms. In-memory computing (IMC; also known as processing-using-memory) can curtail this waste and make continual learning feasible at the edge, but it faces two unique challenges: (1) IMC architectures make use of noisy computation operations that significantly harm training accuracy; and (2) IMC architectures have poor and often incomplete support for resource-efficient training. To address these challenges, we propose CLASP (the Continual Learning Acceleration System Platform), which to our knowledge is the first end-to-end system with IMC acceleration for continual learning. The hardware and software of CLASP are co-designed to support a wide range of continual learning algorithms, through software-visible assembly-level instructions that can be incorporated without constraints into ML-based algorithms. CLASP is designed around a back-end-of-line (BEOL) compatible ECRAM device that we fabricate, which can overcome the challenges of IMC-based training using other emerging memory devices. We show that CLASP with ECRAM approaches the accuracy of in-GPU training, while delivering a speedup of 67x and energy savings of 132x for learning without forgetting and experience replay using MNIST.