Continual Learning (CL) is an emerging machine learning paradigm that aims to learn from a continuous stream of tasks without forgetting knowledge learned from the previous tasks. To avoid performance decrease caused by forgetting, prior studies exploit episodic memory (EM), which stores a subset of the past observed samples while learning from new non-i.i.d. data. Despite the promising results, since CL is often assumed to execute on mobile or IoT devices, the EM size is bounded by the small hardware memory capacity and makes it infeasible to meet the accuracy requirements for real-world applications. Specifically, all prior CL methods discard samples overflowed from the EM and can never retrieve them back for subsequent training steps, incurring loss of information that would exacerbate catastrophic forgetting. We explore a novel hierarchical EM management strategy to address the forgetting issue. In particular, in mobile and IoT devices, real-time data can be stored not just in high-speed RAMs but in internal storage devices as well, which offer significantly larger capacity than the RAMs. Based on this insight, we propose to exploit the abundant storage to preserve past experiences and alleviate the forgetting by allowing CL to efficiently migrate samples between memory and storage without being interfered by the slow access speed of the storage. We call it Carousel Memory (CarM). As CarM is complementary to existing CL methods, we conduct extensive evaluations of our method with seven popular CL methods and show that CarM significantly improves the accuracy of the methods across different settings by large margins in final average accuracy (up to 28.4%) while retaining the same training efficiency.
翻译:持续学习(CL)是一个新兴的机器学习模式,目的是从连续不断的任务流中学习,同时不忘记从以往任务中学到的知识。为避免业绩下降,先前的研究利用了记忆,因为忘记、前的研究利用了记忆(EM),在学习新的非i.i.d.数据的同时储存了过去观察到的样本中的一小部分。尽管取得了令人鼓舞的结果,由于CL通常假定在移动或IoT设备上执行,因此EM的尺寸被小硬件存储能力所束缚,无法满足真实世界应用的准确性要求。具体地说,所有以前的CL方法都丢弃了从EM流出的样本,永远无法取回这些样本用于随后的培训步骤,从而导致信息丢失,从而加剧灾难性的遗忘。我们探索了一种新的等级的EM管理战略来解决遗忘问题。特别是,在移动和IoT设备中,实时数据不仅可以储存在高速的存储器上,而且可以在内部存储器中存储,这比记录和档案记录仪的准确性要大得多。基于这一洞察,我们提议利用丰富的存储器来保存大量储存样品,以保存过去的准确性储存,以保持过去的经验保存过去的经验,而减缓的存储速度则是,而减缓,我们通过让C-M的存储方法以高效的存储方法显示,我们正在缓慢的存储方法以缓慢地改进。