Sparsity May Be All You Need: Sparse Random Parameter Adaptation

Jesus Rios, Pierre Dognin, Ronny Luss, Karthikeyan Natesan Ramamurthy2025

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:

  1. Random Selection: A tiny subset of the pre-trained model's parameters (e.g., 0.05%) is selected using a Bernoulli distribution.
  2. Indexing: The indices of these parameters are stored.
  3. 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:

  1. Reinforcement Learning: Applying SpaRTA to RLHF (Reinforcement Learning from Human Feedback) where PEFT is widely used.
  2. 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

Abstract

Full fine-tuning of large language models for alignment and task adaptation has become prohibitively expensive as models have grown in size.Parameter-Efficient Fine-Tuning (PEFT) methods aim at significantly reducing the computational and memory resources needed for fine-tuning these models by only training on a small number of parameters instead of all model parameters.Currently, the most popular PEFT method is the Low-Rank Adaptation (LoRA), which freezes the parameters of the model and introduces a small set of trainable parameters in the form of low-rank matrices.We propose simply reducing the number of trainable parameters by randomly selecting a small proportion of the model parameters to train on, while fixing all other parameters, without any additional prior assumptions such as low-rank structures.In this paper, we compare the efficiency and performance of our proposed approach to other PEFT methods as well as full parameter fine-tuning.We find our method to be competitive with LoRA when using a similar number of trainable parameters.Our findings suggest that what truly matters for a PEFT technique to perform well is not necessarily the specific adapter structure, but rather the number of trainable parameters being used.
BibTeX
@misc{rios2025sparsity,
  author = {Jesus Rios and Pierre Dognin and Ronny Luss and Karthikeyan Natesan Ramamurthy},
  title = {{Sparsity May Be All You Need: Sparse Random Parameter Adaptation}},
  year = {2025},
  doi = {10.18653/v1/2025.findings-emnlp.1013},
}
Figure