PaLoRA: Paced Low-Rank Adaptation for Continual Learning
Organizations: School of Computer Science Peking University · Institute of Automation Chinese Academy of Sciences
Abstract
LoRA-based continual learning methods mitigate catastrophic forgetting through various mechanisms, yet nearly all complement these with small learning rates as a heuristic to restrict gradient scaling magnitude. Such fixed heuristics lack theoretical guidance on how the strength of this restriction should evolve as tasks accumulate. We reveal that even under directional constraints such as nullspace projection, finite-precision updates inevitably leak into the subspace of accumulated prior knowledge along multiple directions. While small learning rates attenuate such leakage, they cannot prevent the accumulated forgetting from intensifying as the effective rank of historical knowledge grows. We show that the optimal magnitude restriction should adaptively increase with this effective rank to balance stability and plasticity, i.e., preservation of previous knowledge and acquisition of new task information. Under an anisotropic leakage model, we derive a pacing law that characterizes the optimal scaling of gradient steps, i.e., the magnitude restriction itself, where is the effective rank of past updates. Based on this insight, we propose PaLoRA, which compresses historical knowledge via adaptive SVD truncation, projects gradients onto the nullspace of prior tasks, and applies rank-aware adaptive pacing. Experiments demonstrate consistent improvements over prior methods, with particularly strong performance in long-horizon settings, achieving substantial gains of 4% accuracy on challenging 50-task ImageNet-A and ImageNet-R benchmarks.
Figures & tables
| Tasks | 10 | 20 | 25 | 50 | ||||
|---|---|---|---|---|---|---|---|---|
| Method | ||||||||
| Pretrain | 55.68 0.00 | 59.20 0.00 | 55.68 0.00 | 59.55 0.00 | 55.68 0.00 | 59.78 0.00 | 55.68 0.00 | 59.95 0.00 |
| Sequence | 62.11 2.21 | 73.39 0.97 | 57.30 0.39 | 69.56 0.69 | 54.48 2.16 | 66.98 0.28 | 47.48 0.05 | 62.94 0.60 |
| L2P Wang et al. (2022b) | 62.28 0.30 | 66.98 0.04 | 61.24 0.16 | 64.73 0.43 | 61.03 0.35 | 64.37 0.37 | 59.44 0.45 | 63.16 0.57 |
| DualPrompt Wang et al. (2022a) | 58.91 0.23 | 62.66 0.06 | 57.78 0.33 | 61.91 0.14 | 57.53 0.64 | 61.66 0.10 | 56.28 0.97 | 61.72 0.22 |
| CODA-Prompt Smith et al. (2023) | 69.81 0.06 | 73.00 0.15 | 66.42 0.13 | 69.55 0.35 | 65.03 0.23 | 68.22 0.18 | 56.19 0.16 | 59.01 0.27 |
| Tasks | 10 | 20 | 25 | 50 | ||||
|---|---|---|---|---|---|---|---|---|
| Method | ||||||||
| Pretrain | 83.81 0.00 | 88.82 0.00 | 83.81 0.00 | 89.13 0.00 | 83.81 0.00 | 89.16 0.00 | 83.81 0.00 | 89.33 0.00 |
| Sequence | 87.54 0.94 | 92.12 0.78 | 81.51 2.60 | 89.05 0.48 | 81.93 4.13 | 88.95 1.11 | 77.52 5.94 | 85.01 4.23 |
| L2P Wang et al. (2022b) | 84.53 0.71 | 87.84 0.39 | 81.00 0.51 | 84.70 0.94 | 78.45 0.37 | 82.08 0.08 | 74.48 1.35 | 78.90 1.78 |
| DualPrompt Wang et al. (2022a) | 75.37 2.35 | 86.03 0.66 | 77.79 0.04 | 86.49 0.52 | 79.72 0.85 | 86.82 0.12 | 81.11 0.77 | 87.37 0.05 |
| CODA-Prompt Smith et al. (2023) | 84.40 0.13 | 88.77 0.38 | 81.69 1.03 | 85.34 0.70 | 79.10 1.12 | 82.19 0.87 | 72.16 0.08 | 82.65 0.49 |
| Tasks | 10 | 20 | 25 | 50 | ||||
|---|---|---|---|---|---|---|---|---|
| Method | ||||||||
| Pretrain | 48.85 0.00 | 57.39 0.00 | 48.85 0.00 | 58.47 0.00 | 48.85 0.00 | 58.56 0.00 | 48.85 0.00 | 58.97 0.00 |
| Sequence | 34.13 1.44 | 53.86 2.04 | 23.87 0.23 | 46.07 1.37 | 25.97 3.78 | 43.62 0.24 | 15.61 8.38 | 37.62 1.41 |
| L2P Wang et al. (2022b) | 36.08 0.65 | 41.66 0.87 | 33.55 0.70 | 38.95 1.18 | 33.64 0.56 | 39.08 0.07 | 32.39 0.65 | 37.55 0.71 |
| DualPrompt Wang et al. (2022a) | 42.42 3.12 | 53.20 0.83 | 48.09 0.14 | 56.99 0.01 | 48.02 0.33 | 57.19 0.01 | 47.66 0.84 | 57.69 0.47 |
| CODA-Prompt Smith et al. (2023) | 52.17 0.23 | 62.64 0.39 | 42.59 0.65 | 49.77 1.08 | 39.30 0.37 | 47.66 0.32 | 47.53 0.28 | 58.05 0.21 |
| Method | CIFAR-100 | ImageNet-R | ImageNet-A | |||
|---|---|---|---|---|---|---|
| 25 Tasks | 50 Tasks | 25 Tasks | 50 Tasks | 25 Tasks | 50 Tasks | |
| Sequence | -16.24 | -14.72 | -36.86 | -42.14 | -31.62 | -53.83 |
| L2P Wang et al. (2022b) | -8.94 | -14.07 | -9.43 | -10.56 | -6.80 | -11.16 |
| DualPrompt Wang et al. (2022a) | -8.35 | -6.46 | -8.37 | -9.72 | -6.36 | -8.79 |
| CODA-Prompt Smith et al. (2023) | -9.83 | -17.11 | -6.02 | -9.76 | -10.71 | -9.46 |
| InfLoRA Liang and Li (2024) | -12.53 | -20.45 | -15.08 | -20.01 | -16.47 | -18.34 |
| Dataset | Method | 10 Tasks | 20 Tasks | 25 Tasks | 50 Tasks | ||||
|---|---|---|---|---|---|---|---|---|---|
| ImageNet-R | SD-LoRA | 78.33 | 82.85 | 74.28 | 79.45 | 75.37 | 80.82 | 69.68 | 76.24 |
| PaLoRA | 78.82 | 82.96 | 78.57 | 82.74 | 78.10 | 82.90 | 76.40 | 80.40 | |
| CIFAR-100 | SD-LoRA | 88.05 | 92.47 | 84.20 | 90.48 | 80.32 | 87.54 | 67.70 | 77.60 |
| PaLoRA | 90.98 | 93.99 | 90.31 | 93.67 | 90.25 | 93.69 | 88.86 | 92.53 | |
| ImageNet-A | SD-LoRA | 57.21 | 70.68 | 50.63 | 65.06 | 46.94 | 58.19 | 31.99 | 54.78 |
| Method | ||||
|---|---|---|---|---|
| Sequence | 86.88 | 91.57 | 81.72 | 87.99 |
| Sequence + triplet loss | 87.93 | 92.34 | 80.00 | 89.25 |
| PaLoRA w/o triplet loss | 89.59 | 93.18 | 88.23 | 92.40 |
| PaLoRA | 90.98 | 93.99 | 88.86 | 92.53 |
Appendix figures & tables8 assets
Supplementary material from the paper’s appendix.
Appendix
| 2.25 | 88.92 | 92.54 |
|---|---|---|
| 4.00 (default) | 88.86 | 92.53 |
| 6.25 | 88.70 | 92.40 |
| Avg. Final Rank | |||
|---|---|---|---|
| 0.95 | 84.16 | 90.56 | 39.6 |
| 0.99 (default) | 88.86 | 92.53 | 159.8 |
| 0.999 | 88.74 | 92.55 | 390.8 |
| Method | Time per Task (min) |
|---|---|
| L2P | 2.98 |
| DualPrompt | 2.95 |
| CODA-Prompt | 3.02 |
| BiLoRA | 3.45 |
| Sequence | 2.67 |
| Sequence + triplet loss | 2.80 |
| Method | ||
|---|---|---|
| Sequence | 81.72 | 87.99 |
| PaLoRA | 88.86 | 92.53 |
| Sequence + PiSSA | 71.85 | 80.54 |
| PaLoRA + PiSSA | 89.30 | 92.75 |
| ImageNet-R (50 tasks) | ImageNet-A (50 tasks) | |||||||
|---|---|---|---|---|---|---|---|---|
| Method | DINOv1 | iBOT | DINOv1 | iBOT | ||||
| ACC | ACC | ACC | ACC | |||||
| InfLoRA Liang and Li (2024) | 61.52 | 70.10 | 58.52 | 69.32 | 30.55 | 42.48 | 33.31 | 49.40 |
| BiLoRA Zhu et al. (2025) | 62.85 | 66.73 | 65.85 | 70.42 | 28.57 | 37.82 | 34.69 | 44.50 |
| LoRA - DRS Liu and Chang (2025) | 61.58 | 67.26 | 65.12 | 70.94 | 30.28 | 40.19 | 34.89 | 45.37 |
| PaLoRA (Ours) | 66.78 | 72.80 | 69.85 | 75.66 | 35.94 | 46.51 | 43.25 | 55.18 |