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

Zeqing Wang, Fei Cheng, Kangye Ji, Bohu Huang
7/15/2024
cs.LGcs.AIcs.CV

No official code found. Best implementation: INV-WZQ/LightCL (16 stars, GPL-3.0, last commit 2025-04-02).

Abstract

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.

View on arXivView PDF

Code Implementations(1)

INV-WZQ/LightCLCommunity65%
GPL-3.0

[ASP-DAC 2025] LightCL: Compact Continual Learning with Low Memory Footprint For Edge Device

160PythonJul 4, 20241 years agoGPL-3.0
continual-learningedge-computingmemory-efficiency

Similar Papers

Cite this paper

@article{wang2024lightcl,
  title  = {LightCL: Compact Continual Learning with Low Memory Footprint For Edge Device},
  author = {Zeqing Wang and Fei Cheng and Kangye Ji and Bohu Huang},
  year   = {2024},
  eprint = {2407.10545},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2407.10545v3}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2407.10545.svg)](https://codeofpaper.com/paper/2407.10545)

Discussion