TL;DR
The Hessian Aware Low-Rank Perturbation (HALRP) algorithm tackles the "catastrophic forgetting" problem in continual learning by modeling task-specific updates as low-rank perturbations of a base model. By leveraging Hessian information, HALRP automatically determines the optimal rank for each layer, achieving state-of-the-art accuracy and task-order robustness with minimal parameter growth.
What Problem Does This Paper Address?
Continual Learning (CL) aims to enable neural networks to learn new tasks sequentially without forgetting previous ones. This is notoriously difficult due to Catastrophic Forgetting (CF), where updates for a new task overwrite the weights essential for past tasks.
Researchers typically face a stability-plasticity dilemma: how do you keep the model stable enough to remember the past while remaining plastic enough to learn the new? Existing solutions like weight regularization, memory replay, or model expansion often suffer from poor scalability, high memory overhead, or extreme sensitivity to the order in which tasks are presented. HALRP seeks a middle ground: a method that is memory-efficient, theoretically grounded, and robust to task ordering.
Methods
The core idea of HALRP is to decompose the weights of a new task ($W_t$) into a combination of shared base weights ($W_{base}$) and task-specific parameters.
-
Weight Transformation: For a new task, the weights are represented as: $$W_t = R_t W_{base} S_t + B_t$$ Here, $R_t$ and $S_t$ are diagonal matrices that perform row-wise and column-wise scaling, while $B_t$ is a task-adaptive bias term.
Fig. 1: Low rank decomposition between T1 and T0 -
Low-Rank Approximation: To keep the parameter count low, $B_t$ is constrained to be a low-rank matrix. It is decomposed using Singular Value Decomposition (SVD) into $U_t^{(k)} \Sigma_t^{(k)} (V_t^{(k)})^\top$, where $k$ is the rank.
- Hessian-Aware Rank Selection: This is the paper's primary innovation. Instead of manually setting a rank for every layer, the authors use Hessian information (approximated by the empirical Fisher Information Matrix) to measure how sensitive the loss is to perturbations in each layer. They solve a global optimization problem to assign higher ranks to layers that contribute most to performance, ensuring the best "bang for the buck" within a parameter budget.
- Training Pipeline:
- Warm-up: Train the task unconstrained for a few epochs to get a "free" weight estimate.
- Initialization: Use Least Squares Error (LSE) and SVD to initialize the $R, S, U, \Sigma, V$ parameters.
- Fine-tuning: Train the task-specific parameters with $L_1$ and $L_2$ regularization to encourage sparsity and prevent overfitting.
- Pruning: Remove the least important parameters to further control model growth.
Datasets
The authors evaluated HALRP on a diverse set of benchmarks:
- CIFAR100-Split & CIFAR100-SuperClass: Standard image classification tasks split into 10 or 20 groups.
- Permuted MNIST (P-MNIST): 10 tasks created by random pixel permutations.
- Five-dataset: A sequence of five distinct datasets (CIFAR10, MNIST, notMNIST, FashionMNIST, SVHN).
- Omniglot Rotation: A large-scale benchmark with 100 tasks of 12-way classification.
- TinyImageNet: A variant of ImageNet with 200 classes, tested in 20-split and 40-split scenarios.
Key Insights and Ideas
- Hessian as a Sensitivity Metric: The paper provides a theoretical proof (Theorem 1) showing that the change in loss due to low-rank approximation is bounded by the product of the Hessian norm and the approximation error. This allows the model to "self-diagnose" which layers need more capacity.
- Global vs. Local Optimization: By determining ranks globally across the whole network, HALRP avoids the sub-optimal performance of methods that treat every layer identically.
- Order Robustness: Because the method anchors updates to a stable $W_{base}$ and uses flexible low-rank perturbations, it is significantly less affected by the sequence of tasks compared to expansion-based methods like APD.
Key Results
HALRP consistently outperformed state-of-the-art baselines (like GPM, APD, and WSN) across all benchmarks.
- Accuracy: On CIFAR100-Split, HALRP achieved 67.92% accuracy, outperforming the next best method (WSN) by over 1%. The margin was even larger in data-scarce scenarios (5% training data).
-
Task-Order Robustness: HALRP showed the lowest Order-normalized Performance Disparity (OPD), meaning its performance remains stable regardless of task sequence.
Accuracy results on CIFAR100 variants -
Efficiency: The model growth is highly controlled. On CIFAR100-SuperClass, HALRP's parameter increase stayed below 28% after 20 tasks, whereas competing methods like APD grew by 40% in just the first few tasks.
- Memory: Empirical tests showed HALRP requires significantly less GPU memory during training (e.g., ~3GB for TinyImageNet vs. >40GB for APD).
Limitations and Future Work
- Base Task Dependency: The method relies on a well-trained $W_{base}$ from the first task. If the first task is not representative of the domain, the transferability might be limited.
- SVD Overhead: While memory-efficient, performing SVD during the initialization phase adds some computational overhead, though the authors note this is offset by faster convergence during fine-tuning.
- Future Directions: The authors suggest exploring how to adapt the base weights $W_{base}$ over time without forgetting, which could further improve long-term plasticity.
Summary updated