Manuscript Offprint

arXiv:2610.12744

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

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

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

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

Yu Sun ∗1^{*1}, Junwei Zhou 2^{2}, Zuodong Xiang 3^{3}, Yike Zhang 4^{4}, Pengcheng Xu 5^{5}, Xinyu Guan 6^{6}, Ruoyun Ma 7^{7}, and Hailu Xu 8^{8}

1^{1}University of Pennsylvania

2^{2}Matter Innovation Inc.

3^{3}University of California, Davis

4^{4}Johns Hopkins University

5^{5}University of California, Irvine

6^{6}University of Glasgow

7^{7}Stanford University

8^{8}California State University, Long Beach

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 = 0): the gradient with respect to A is identically zero ( ∂L/∂A=0\partial \mathcal{L} / \partial A = 0), so gradient masks select strictly from the B matrix whereas unrestricted random masks draw from both A and B. 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. The 95% interval extends to 4.80 percentage points in the gradient mask’s favour, so the pre-specified 4-point non-inferiority criterion is not met. On loss-based forgetting, Random-B consistently outperforms the density-matched gradient mask across seven seeds; on accuracy, the evidence remains inconclusive at n = 7. The attribution pass is therefore not justified by the loss-based forgetting evidence, while its accuracy consequences require a better-powered evaluation.

References (72)