cs.LGOct 8, 2026

Static Gradient Attribution Underperforms a Density-Matched Random Mask on Loss-Based Forgetting Within LoRA B-Matrix

Authors: Yu Sun, Junwei Zhou, Zuodong Xiang, Yike Zhang, Pengcheng Xu, Xinyu Guan, Ruoyun Ma, Hailu Xu

Organizations: University of Pennsylvania · Matter Innovation Inc. · University of California, Davis · Johns Hopkins University · 

Abstract

Parameter-efficient continual learning updates a restricted subset of adapter parameters to incorporate sequential tasks while limiting catastrophic forgetting. Gradient attribution is a common rule for selecting that subset, but it requires an additional backward pass over calibration data. We identify a parameter-pool confound in comparisons between initialization-time gradient masks and unrestricted random masks under standard zero-initialized LoRA (B=0B=0): the gradient with respect to AA is identically zero (∂L/∂A=0\partial\mathcal{L}/\partial A=0), so gradient masks select strictly from the BB matrix whereas unrestricted random masks draw from both AA and BB. Such a comparison changes both the selection rule and the candidate parameter pool. Isolating the selection criterion by restricting both approaches to the same parameter pool, we find a negative result: a uniform random mask consistently achieves lower loss-based backward transfer than gradient attribution across seven seeds on Qwen2.5-3B. The effect is concentrated on the medical task, which contributes 80% of the aggregate; code and math move in the same direction, and legal shows no reliable difference. This advantage is consistent with a stability--plasticity trade-off under the tested task sequence, in which random masking slightly reduces single-task fitting. On the two discrete-option tasks (Medical and Legal), the mean accuracy-BWT difference is not statistically distinguishable from zero.

Figures & tables

Appendix figures & tables25 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. Latent-LoRA: Compact Latent-Space Adapters with Gradient-Free Routing for Continual Learning

    Jul 26, 2026Reza Rahimi Azghan, Gautham Krishna Gudur, Giulia Pedrielli +2Continual Learning for LLMsContinual LoRA

  2. Low-Rank Adapters Initialization via Gradient Surgery for Continual Learning

    May 12, 2026Joana Pasquali, Ramiro N. Barros, Arthur S. Bianchessi +7Continual Learning for LLMsGradient Interference

  3. Attribution-Guided Continual Learning for Large Language Models

    May 6, 2026Yazheng Liu, Yuxuan Wan, Rui Xu +3Continual Learning for LLMsLLM Fine-Tuning