PaLoRA:面向持续学习的节奏化低秩适应
研究论文 · 2026/10/06
基于LoRA的持续学习方法通过多种机制缓解灾难性遗忘,但几乎都辅以小学习率作为限制梯度缩放幅度的启发式手段。这种固定启发式缺乏关于限制强度应如何随任务累积而演变的理论指导。我们发现,即使在零空间投影等方向约束下,有限精度更新仍会沿多个方向泄漏到累积先验知识的子空间中。小学习率虽能减弱这种泄漏,但无法阻止累积遗忘随历史知识有效秩的增长而加剧。我们表明,最优幅度限制应随该有效秩自适应增加,以平衡稳定性和可塑性,即保留旧知识与获取新任务信息。在各向异性泄漏模型下,我们推导出步调定律s^*=R/c,刻画了梯度步长(即幅度限制本身)的最优缩放,其中R是过去更新的有效秩。基于此见解,我们提出PaLoRA,通过自适应SVD截断压缩历史知识,将梯度投影到先前任务的零空间,并应用秩感知的自适应步调。实验表明,相比先前方法持续改进,在长时程设置中表现尤为突出,在具有挑战性的50任务ImageNet-A和ImageNet-R基准上准确率大幅提升4%。
该研究为持续学习中学习率限制这一常用启发式提供了理论依据,提出的PaLoRA方法在长时程任务中显著提升性能,对缓解灾难性遗忘具有重要实践意义。
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 s^*=R/c that characterizes the optimal scaling of gradient steps, i.e., the magnitude restriction itself, where R 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.