Random Initialization of Gated Sparse Adapters
Vi Retault, Yohaï-Eliel Berreby
TL;DR
RIGSA investigates a memory-efficient fine-tuning approach that starts from randomly initialized full-rank adapters and uses a gating mechanism together with iterative magnitude pruning to produce sparse, trainable updates for a frozen base model. By optimizing $W = W_0 + \alpha \Delta W$ with a near-zero gate $\alpha$, the method stabilizes early training while allowing substantial adaptation, followed by iterative pruning to yield a sparse $\Delta W_T$ and a final retraining pass. In experiments with SmolLM2-1.7B-Instruct on a novel Textual MNIST task, RIGSA learns the target and exhibits less forgetting on source tasks than QLoRA, though it does not consistently outperform random masking or reach the target-task accuracy of the best sparse baselines. The work highlights potential regularization benefits of sparse adaptation and motivates broader, repeatable comparisons and hyperparameter sweeps to better understand the trade-offs between target-task performance and forgetting in foundation-model fine-tuning.
Abstract
When fine-tuning language models on new tasks, catastrophic forgetting -- performance degradation on previously-learned tasks -- is a ubiquitous problem. While Parameter-Efficient Fine-Tuning (PEFT) methods like LoRA address this through low-rank adapters, sparse adaptation offers an alternative that doesn't impose rank constraints. We introduce Random Initialization of Gated Sparse Adapters (RIGSA), which starts from randomly-initialized full-rank adapters, gates them with a ReZero analog, and sparsifies them with iterative magnitude pruning. We evaluate RIGSA on SmolLM2-1.7B-Instruct using a novel vision-in-text task (Textual MNIST) and measure forgetting on PIQA, HellaSwag, and GSM8k. SmolLM2-1.7B-Instruct initially performs around chance level on Textual MNIST, and is capable of learning the task through RIGSA, 4-bit QLoRA and random masking. In spite of having more trainable parameters than QLoRA, the RIGSA configurations that we studied displayed less forgetting than QLoRA, particularly on GSM8k, though it performs comparably to random masking.
