PaLoRA: Paced Low-Rank Adaptation for Continual Learning

Yuxuan Li, Fanhu Zeng, Hao TangNeurIPS 2026

TL;DR

When teaching an AI model a sequence of new tasks without forgetting old ones, researchers almost universally rely on an unspoken trick: using tiny, fixed learning rates to keep parameter updates from breaking past knowledge. This paper uncovers the mathematical reason why step size matters and proves that a fixed learning rate eventually fails as tasks pile up. By deriving a square-root "pacing law" that automatically taps the brakes harder as the model's memory fills up, the authors achieve major accuracy gains on long, 50-task continual learning marathons.

What Problem Does This Paper Address?

Imagine trying to learn French, then pottery, then quantum mechanics, all without ever reviewing your old notes—and without letting quantum mechanics overwrite your French vocabulary. In machine learning, this is example-free continual learning, and the enemy is catastrophic forgetting.

Today, a popular way to adapt pre-trained Vision Transformers (ViTs) to new tasks is LoRA (Low-Rank Adaptation), which freezes the massive base model and trains lightweight low-rank matrices ($B \times A$) for each task. To prevent new tasks from overwriting old ones, state-of-the-art methods constrain the direction of updates—forcing new gradients into the "nullspace" (orthogonal directions) of old tasks so they theoretically don't interfere.

Yet, if you peek inside the codebases of almost all these directional methods, you’ll find a quiet heuristic: they still use tiny learning rates to restrict the magnitude of updates. Why is that necessary if the directions don't overlap? Because in the real world of finite-precision math and imperfect projections, updates inevitably "leak" into old knowledge subspaces. Furthermore, a fixed learning rate treats Task 2 the same as Task 50. As historical knowledge accumulates, the model's current parameters represent dozens of past tasks, whereas a new task is just one small piece of the puzzle.

Figure 1: Adaptive parameter update restrictions progressively shift optimization trajectory toward previous task solutions as more tasks are encountered, better balancing stability and plasticity to approach the joint optimum.

How should we dynamically adjust update step sizes as a model's memory grows more crowded? Until now, there was no principled answer.

Methods

To replace fixed learning-rate heuristics with math, the authors analyze a single-layer linear model and build a practical two-stage framework called PaLoRA (Paced LoRA).

First, unlike standard LoRA ($B_t A_t$), PaLoRA normalizes $A_t$ ($B_t \frac{A_t}{\|A_t\|}$). This cleanly decouples direction ($A_t$) from magnitude ($B_t$), giving the algorithm a direct volume knob on the update size.

Figure 2: Overview of PaLoRA. (A) Model decomposition: pretrained weights and compressed memory from previous tasks are frozen, while a new low-rank update is learned for the current task. (B) Two-stage process: adaptive-rank compression of accumulated knowledge via SVD, followed by rank-aware gradient pacing with nullspace projection and scaled updates.

For each new task $t$, PaLoRA runs two stages:

  1. Stage I: Adaptive-Rank Compression (Before training): Instead of letting past LoRA matrices pile up linearly—which wastes capacity on redundant features across tasks—PaLoRA merges the previous task's update into a historical memory matrix and runs Singular Value Decomposition (SVD). It keeps only the top $R$ singular components needed to hit an energy threshold $\tau$. This yields the effective rank $R$ (a measure of how much distinct knowledge the model actually holds) and defines the nullspace projection matrix $P$.
  2. Stage II: Rank-Aware Update Pacing (During training): Gradients for both $A_t$ and $B_t$ are projected onto the nullspace $P$ (standard directional protection). What’s novel is that the gradient for the magnitude matrix $B_t$ is divided by a dynamic pacing factor $\sqrt{R/C}$ (where $C$ is a forgetting budget constant). As $R$ grows, updates smoothly slow down.

Finally, because strict nullspace projection and step-shrinking can make the model too rigid (hurting plasticity), the authors add an empirical feature-space regularizer—an easy-positive triplet loss—that pushes features of different classes apart by a clean margin.

Datasets

The authors evaluate PaLoRA on standard class-incremental image classification benchmarks using pre-trained ViTs (with zero replay of past data):

  • CIFAR-100 (standard 100-class object recognition)
  • ImageNet-R (200 classes of artistic renditions, sketches, and cartoons—testing out-of-distribution shifts from pre-training)
  • ImageNet-A (200 classes of natural adversarial examples where standard ImageNet models struggle)

Each dataset is sliced into sequences of 10, 20, 25, and 50 tasks to test both short sprints and long-horizon continual learning. No new datasets are introduced.

Key Insights and Ideas

  • Why $\sqrt{R}$ is the magic number: Using a local Taylor expansion, the authors show an asymmetric trade-off when scaling down a gradient step by $s$: forgetting drops quadratically ($\propto 1/s^2$), while new-task learning progress only drops linearly ($\propto 1/s$). Meanwhile, gradient leakage accumulates linearly across all $R$ historical directions. Setting a constant per-step "forgetting budget" cancels out the terms and yields a clean Pareto-optimal scaling denominator: $s^* = \sqrt{R/c}$.
  • Effective rank beats task count: Simply slowing down based on the number of tasks $(t-1)$ is naive—some tasks share features, while others are wildly novel. Tying the brake pedal to the SVD effective rank $R$ paces the model based on actual subspace occupancy, not the calendar.
  • Theory matches empirical sweet spots: When the authors tested different exponents $R^\alpha$ on a 50-task benchmark, $\alpha < 0.5$ caused forgetting to spike, while $\alpha > 0.5$ choked off new learning. The theoretical $\alpha = 0.5$ ($\sqrt{R}$) hit the exact Goldilocks zone.

Key Results

Across five random seeds, PaLoRA outperforms prompt-based methods (L2P, DualPrompt, CODA-Prompt) and recent LoRA continual learners (InfLoRA, BiLoRA, $\text{LoRA}^-\text{DRS}$, SD-LoRA) across every dataset and task split.

Accuracy trajectories showing PaLoRA maintaining strong performance across 10-task and 50-task sequences.
  • Thriving in long horizons (50 tasks): Where baselines degrade sharply, PaLoRA shines. At 50 tasks, it beats $\text{LoRA}^-\text{DRS}$ in final accuracy by +4.09% on ImageNet-R (reaching 76.56%) and +3.99% on ImageNet-A (60.90%), and reaches 88.96% on CIFAR-100 (+1.94%).
  • Crushing learned scalars: Compared against SD-LoRA (which learns task-specific magnitude scalars instead of analytical pacing), PaLoRA leads by +21.16% on CIFAR-100 and +29.10% on ImageNet-A in 50-task sequences.
  • Rock-solid stability: Stretching a benchmark from 10 tasks out to 50 tasks causes PaLoRA’s final accuracy to drop by just 2.19 points on ImageNet-R and a remarkably flat 0.65 points on ImageNet-A.

Limitations and Future Work

The authors are commendably transparent about the gap between clean math and messy deep networks:

  • Linear theory, nonlinear reality: The $\sqrt{R/c}$ pacing law is proven for a single linear layer under local quadratic loss assumptions. For deep, multi-layer ViTs, it serves as a well-motivated guiding principle rather than a formal mathematical guarantee—and its Pareto-optimality proof does not cover the auxiliary triplet loss.
  • Vision classification only (for now): Experiments are limited to ViT image classification. Extending rank-aware pacing to generative continual learning in Large Language Models (LLMs) and Multimodal LLMs is left for future work, along with exploring how update pacing applies to tuning methods beyond LoRA.

Summary updated

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 $s^*=\sqrt{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. The code is available at: https://github.com/liyuxuan-github/PaLoRA
BibTeX
@inproceedings{li2026palora,
  author = {Yuxuan Li and Fanhu Zeng and Hao Tang},
  title = {{PaLoRA: Paced Low-Rank Adaptation for Continual Learning}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=fU1XY23snF},
}
Figure