NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

WeightLoRA: Keep Only Necessary Adapters

Andrey Veprikov, Vladimir Solodkin, Alexander Zyl, Andrey Savchenko, Aleksandr BeznosikovarXiv 2025 · DOI

Introduction

Fine-tuning Large Language Models (LLMs) for specific downstream tasks is a computationally intensive process. While Parameter-Efficient Fine-Tuning (PEFT) methods like Low-Rank Adaptation (LoRA) have significantly reduced the barrier to entry by training only small adapter matrices, they often suffer from a "one-size-fits-all" inefficiency. Standard LoRA typically applies the same rank and number of adapters across all layers of a model, regardless of whether a specific layer contributes meaningfully to the target task. This paper introduces WeightLoRA, a method designed to automatically identify and retain only the most critical adapters, thereby "trimming the fat" from the fine-tuning process.

Methodology

The core innovation of WeightLoRA lies in its ability to dynamically evaluate the importance of each adapter during training. The authors propose two primary variants:

1. WeightLoRA Architecture

WeightLoRA introduces a trainable scalar weight, $\omega$, for every LoRA adapter. During an initial "warm-up" phase, the model learns the relative importance of each layer by optimizing these weights alongside the adapter matrices. This allows the model to signal which layers are most relevant to the task at hand.

The WeightLoRA adapter architecture incorporates a trainable scalar weight $w$ to modulate the low-rank update.

2. Pruning and Redistribution (WeightLoRA+)

Following the warm-up, the Stochastic Iterative Hard Thresholding (StoIHT) algorithm is employed to prune the least significant adapters. Only the top-$K$ adapters with the highest learned weights are kept, while the rest are disconnected.

WeightLoRA+ extends this concept by redistributing the "parameter budget." Once the unnecessary adapters are pruned, the rank ($r$) of the remaining $K$ critical adapters is increased (e.g., from $r=8$ to $r=16$). This ensures that the total number of trainable parameters remains comparable to standard LoRA, but the model's capacity is concentrated in the layers that provide the most benefit.

The WeightLoRA workflow involves learning weights on all layers, selecting the most important ones, and continuing fine-tuning on the selected subset.

Experimental Setup

The effectiveness of WeightLoRA was evaluated across several benchmarks:

  • Natural Language Understanding (NLU): The GLUE benchmark (MNLI, SST-2, MRPC).
  • Question Answering: SQuAD v1.1 and v2.0.
  • Natural Language Generation (NLG): XSum and CNN/DailyMail summarization tasks.

The methods were tested on diverse architectures, including DeBERTaV3-base, BART-large, and Llama3-8B.

Key Insights

  • Adapter Sparsity: Experimental results indicate a "10% Rule"—in many scenarios, keeping just 10% of the total LoRA heads is sufficient to achieve optimal performance.
  • Importance Metrics: The most critical adapters are identified as those where the dot product between the adapter and the model gradient is highest, indicating these layers are doing the most work to minimize loss.
  • Strategic Redistribution: WeightLoRA+ demonstrates that a few high-rank adapters placed strategically are more effective than many low-rank adapters distributed uniformly.
  • Efficiency Gains: By disabling up to 90% of adapters after the warm-up phase, GPU memory requirements are significantly reduced, enabling larger batch sizes or the use of more modest hardware.

Results

WeightLoRA consistently outperformed or matched standard LoRA while using significantly fewer parameters. On the GLUE benchmark with Llama3-8B, WeightLoRA+ (at rank 8) achieved an average score of 0.9258, compared to 0.9080 for standard LoRA. In some configurations on DeBERTaV3, the method reduced trainable parameters by approximately 86% without sacrificing performance. Furthermore, WeightLoRA proved more robust and stable across tasks compared to other adaptive methods like AdaLoRA.

Limitations and Future Directions

Despite its advantages, WeightLoRA requires a warm-up phase where all adapters must be in memory, meaning peak memory usage remains high at the start of training. Additionally, the selection of hyperparameters $K$ (number of adapters) and $T$ (warm-up duration) requires careful tuning. Future research could expand the scope of WeightLoRA beyond attention layers to include MLP blocks and other Transformer components.

Summary updated

BibTeX
@misc{veprikov2025weightlora,
  author = {Andrey Veprikov and Vladimir Solodkin and Alexander Zyl and Andrey Savchenko and Aleksandr Beznosikov},
  title = {{WeightLoRA: Keep Only Necessary Adapters}},
  year = {2025},
  eprint = {2506.02724},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2506.02724},
}
Figure