Critical Patch-Aware Sparse Prompting with Decoupled Training for Continual Learning on the Edge
Organizations: School of Computer Science and Engineering, Chung-Ang University · Department of Artificial Intelligence, Chung-Ang University
Abstract
Continual learning (CL) on edge devices requires not only high accuracy but also training-time efficiency to support on-device adaptation under strict memory and computational constraints. While prompt-based continual learning (PCL) is parameter-efficient and achieves competitive accuracy, prior work has focused mainly on accuracy or inference-time performance, often overlooking the memory and computational costs of on-device training. In this paper, we propose CPS-Prompt, a critical patch-aware sparse prompting framework that explicitly targets training-time memory usage and computational cost by integrating critical patch sampling (CPS) for task-aware token reduction and decoupled prompt and classifier training (DPCT) to reduce backpropagation overhead. Experiments on three public benchmarks and real edge hardware show that CPS-Prompt improves peak memory, training time, and energy efficiency by about 1.6x over the balanced CODA-Prompt baseline, while maintaining accuracy within 2% of the state-of-the-art C-Prompt on average and remaining competitive with CODA-Prompt in accuracy. The code is available at https://github.com/laymond1/cps-prompt.
Figures & tables
| Method | CIFAR-100 | ImageNet-R | CUB-200 | |||
|---|---|---|---|---|---|---|
| ( ) | ( ) | ( ) | ( ) | ( ) | ( ) | |
| Upper-Bound | 83.73 0.17 | - | 63.04 0.63 | - | 75.38 1.45 | - |
| SGD | 0 9.91 0.29 | 94.70 0.50 | 0 7.50 0.09 | 76.56 0.37 | 0 8.72 0.34 | 80.41 0.54 |
| LwF [ 13 ] | 10.98 0.32 | 93.29 0.38 | 0 7.64 0.23 | 74.20 0.42 | 10.26 0.54 | 80.00 0.45 |
| ER [ 2 ] | 38.83 3.04 | 62.51 3.37 | 19.57 0.52 | 67.96 0.69 | 46.29 1.35 | 33.14 1.08 |
| L2P [ 29 ] | 62.96 0.98 | 15.93 1.67 | 45.08 0.45 | 0 8.28 0.92 | 49.79 1.14 | 11.68 1.13 |
| Modules | Memory ( ) | Train Time ( ) | |
|---|---|---|---|
| CODA-Prompt | 50.24 | 440 MB | 1,788 s/task |
| w/ PD | 45.32 | 253 MB | 1,388 s/task |
| w/ CPS | 47.16 | 253 MB | 1,389 s/task |
| w/ PD + DPCT | 47.96 | 253 MB | 1,126 s/task |
| w/ CPS + DPCT | 49.28 | 253 MB | 1,126 s/task |
Continual Learning
Continual Learning studies how models acquire knowledge from changing data streams while retaining or selectively revising what they learned before.
See all 304 papers