Abstract
Parameter-Efficient Fine-Tuning (PEFT) has become the standard for adapting large language models (LLMs) to specific tasks while minimizing computational overhead. While methods like LoRA rely on the assumption that weight updates are inherently low-rank, this paper introduces SpaRTA (Sparse Random parameTer Adaptation), a method that challenges this premise. By randomly selecting and training a tiny fraction of a model's existing parameters, SpaRTA achieves performance competitive with LoRA. These findings suggest that the primary driver of PEFT success is the reduction of trainable parameter capacity rather than the specific mathematical structure of the adaptation.
Introduction
Fine-tuning large language models (LLMs) is notoriously resource-intensive. The primary bottleneck is often GPU memory, driven largely by the need to store optimizer states (such as Adam's momentum buffers) for every trainable parameter. To mitigate this, Parameter-Efficient Fine-Tuning (PEFT) techniques freeze the majority of the base model and only update a small subset of parameters.
Low-Rank Adaptation (LoRA) is currently the most prominent PEFT method. It operates on the hypothesis that the change in weights during fine-tuning ($ΔW$) resides in a low-dimensional subspace. However, this paper investigates whether this low-rank structure is a fundamental requirement or if the performance gains are simply a result of the regularization provided by a reduced parameter count.
The Low-Rank Hypothesis vs. Reality
The authors began by analyzing the rank of weight updates in models undergoing full-parameter fine-tuning. Contrary to the low-rank assumption, they found that most weight matrices—specifically those in the MLP, key, and value projections—are actually full-rank. This discovery suggests that LoRA's success may not stem from capturing the "true" nature of weight updates, but rather from acting as a powerful regularizer that prevents overfitting on small datasets by restricting model capacity.
Methodology: Sparse Random Parameter Adaptation (SpaRTA)
To test the capacity-reduction hypothesis, the authors developed SpaRTA. Unlike LoRA, which introduces new structured matrices, SpaRTA utilizes the model's existing architecture through a three-step process:
- Random Selection: A tiny subset of the pre-trained model's parameters (e.g., 0.05%) is selected using a Bernoulli distribution.
- Indexing: The indices of these parameters are stored.
- Sparse Training: During the fine-tuning process, gradients are computed and updates are applied only to this sparse subset. The remaining 99.95% of the model remains frozen.
Because SpaRTA modifies existing parameters rather than adding new ones, the updates can be merged directly into the base weights post-training. This ensures zero additional inference latency, matching one of LoRA's key operational advantages.
Experimental Results
The authors evaluated SpaRTA against LoRA using Gemma (2B) and Mistral (7B) models across several Natural Language Understanding (NLU) benchmarks, including the GLUE suite, IMDB sentiment analysis, BoolQ, and MMLU.
Performance Parity
When matched for the same number of trainable parameters (for instance, a 0.05% density, which is equivalent to LoRA with a rank of $r=8$), SpaRTA performed competitively with LoRA. In evaluations using gemma-2b-it, SpaRTA achieved comparable or superior average accuracy across eight NLU tasks when targeting optimal layers.
Memory Efficiency
SpaRTA significantly reduces the memory footprint of the training process. At 99% sparsity (training only 1% of the model), SpaRTA utilizes 73.5% less memory than full-parameter fine-tuning. It is important to note that because SpaRTA requires storing indices for the trained parameters, it becomes more memory-efficient than full fine-tuning only when the sparsity level exceeds 50%.
The Importance of Layer Selection
Similar to how LoRA's effectiveness depends on which matrices are adapted, SpaRTA's performance is sensitive to the location of the sparse parameters. The authors found that concentrating the random trainable parameters within the Output ($W_o$) and Value ($W_v$) self-attention matrices yielded significantly better results than a uniform distribution across the entire model.
Conclusion and Future Work
SpaRTA demonstrates that unstructured sparsity is a viable and effective alternative to structured low-rank adapters. This suggests that the "secret sauce" of PEFT is the drastic reduction in trainable parameters, which provides the necessary regularization for stable fine-tuning.
While finding the optimal "Goldilocks" sparsity level for a specific task currently requires some trial and error, the implications for the field are significant. The authors identify two primary areas for future research:
- Reinforcement Learning: Applying SpaRTA to RLHF (Reinforcement Learning from Human Feedback) where PEFT is widely used.
- Model Merging: Since SpaRTA updates a random, sparse set of weights, it is highly likely that different task-specific models will have minimal parameter overlap. This makes SpaRTA an ideal candidate for "model soups" and pluralistic alignment, where multiple specialized models are merged into a single multi-task model with minimal interference.
Summary updated