arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2407.10545cs.LGcs.AIcs.CV
收藏

LightCL:面向边缘设备的低内存占用紧凑型持续学习

LightCL: Compact Continual Learning with Low Memory Footprint For Edge Device

Xidian University(西安电子科技大学)

Zeqing Wang, Fei Cheng, Kangye Ji, Bohu Huang

AI总结:

本文提出 LightCL,通过评估并冻结神经网络中已泛化组件、稳定特征模式,在边缘设备上以极低内存开销实现高效持续学习,最多减少 6.16 倍内存占用。

摘要:

持续学习(CL)是一种使神经网络能够不断适应其动态环境的技术。尽管长期被忽视,该技术可以显著满足边缘设备中用户的个性化需求。实际上,大多数持续学习方法为了在所有任务上获得泛化能力以延缓遗忘,其训练行为需要消耗大量资源,而并未考虑边缘场景。因此,本文提出了一种名为 LightCL 的紧凑算法,该算法评估并压缩神经网络结构中已泛化组件的冗余。具体而言,我们考虑泛化能力的两个因素——学习可塑性和记忆稳定性,并设计二者的度量指标,以在持续学习过程中定量评估神经网络的泛化能力。该评估表明,神经网络中不同层的泛化能力表现出显著差异。因此,我们通过冻结已泛化部分来“保持泛化能力”,从而避免资源密集型的训练过程,并通过稳定先前任务的特征提取来“记忆特征模式”,以少量额外内存增强泛化能力较弱部分的泛化性,而该额外内存远小于冻结所减少的内存。实验表明,LightCL 优于其他最先进的方法,并最多减少 6.16 倍的内存占用。我们还在边缘设备上验证了 LightCL 的有效性。

英文摘要:

Continual learning (CL) is a technique that enables neural networks to constantly adapt to their dynamic surroundings. Despite being overlooked for a long time, this technology can considerably address the customized needs of users in edge devices. Actually, most CL methods require huge resource consumption by the training behavior to acquire generalizability among all tasks for delaying forgetting regardless of edge scenarios. Therefore, this paper proposes a compact algorithm called LightCL, which evaluates and compresses the redundancy of already generalized components in structures of the neural network. Specifically, we consider two factors of generalizability, learning plasticity and memory stability, and design metrics of both to quantitatively assess generalizability of neural networks during CL. This evaluation shows that generalizability of different layers in a neural network exhibits a significant variation. Thus, we $\textit{Maintain Generalizability}$ by freezing generalized parts without the resource-intensive training process and $\textit{Memorize Feature Patterns}$ by stabilizing feature extracting of previous tasks to enhance generalizability for less-generalized parts with a little extra memory, which is far less than the reduction by freezing. Experiments illustrate that LightCL outperforms other state-of-the-art methods and reduces at most $\textbf{6.16$\times$}$ memory footprint. We also verify the effectiveness of LightCL on the edge device.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑