RandLoRA: Full rank parameter-efficient fine-tuning of large models

Paul Albert, Frederic Z. Zhang, Hemanth Saratchandran, Cristian Rodriguez-Opazo, Anton van den Hengel, Ehsan Abbasnejad

Abstract

Parameter-efficient fine-tuning (PEFT) has become the standard for adapting large-scale models to downstream tasks. However, popular methods like Low-Rank Adaptation (LoRA) often encounter an accuracy plateau, failing to match the performance of full fine-tuning (FT) on complex tasks due to their inherent low-rank constraint. This paper introduces RandLoRA, a novel PEFT approach that achieves full-rank weight updates using a learned linear combination of fixed random bases. By training only diagonal scaling matrices, RandLoRA maintains a low parameter count while bypassing the low-rank bottleneck. Our evaluations across vision, language, and multimodal tasks demonstrate that RandLoRA consistently outperforms LoRA and its variants, effectively bridging the gap to full fine-tuning.

Introduction

Fine-tuning massive models like Llama 3 or CLIP is computationally prohibitive for most users. Low-Rank Adaptation (LoRA) addressed this by training only two small, low-rank matrices ($A$ and $B$) to represent the weight update $\Delta W = BA$. While effective, LoRA relies on the assumption that task-specific updates reside in a low-dimensional subspace.

Recent empirical evidence suggests an "accuracy plateau": as the rank of LoRA increases, performance gains diminish and often fail to reach the level of full fine-tuning. This gap is particularly pronounced in complex, multimodal alignment tasks. RandLoRA addresses this by questioning whether the bottleneck is the number of parameters or the low-rank structure itself. Our findings indicate that the low-rank constraint is a fundamental limitation for certain high-complexity tasks.

Methodology: Breaking the Low-Rank Barrier

RandLoRA approximates the weight update $\Delta W$ as a sum of multiple random bases:

$$\Delta W = \sum_{j=1}^n B_j \Lambda_j A \Gamma_j$$

In this formulation:

  • $B_j$ and $A$ are fixed, non-trainable random matrices that are linearly independent.
  • $\Lambda_j$ and $\Gamma_j$ are the only trainable parameters, consisting of diagonal scaling matrices.

Because RandLoRA sums $n$ different terms, the resulting update $\Delta W$ can achieve full rank if $n$ is sufficiently large. This provides the mathematical flexibility of full fine-tuning while keeping the number of trainable parameters comparable to standard LoRA. To ensure memory efficiency, the authors employ "basis sharing," where random matrices are generated on-the-fly using fixed seeds or shared from a global pool across different layers.

Experimental Evaluation

We evaluated RandLoRA across a diverse set of benchmarks and model architectures, including DinoV2, CLIP vision encoders, and Large Language Models (LLMs) like Llama3-8B.

Figure 2: Average accuracy vs. trainable parameters across different models. RandLoRA consistently outperforms LoRA as parameter counts increase, avoiding the early performance plateau seen in DinoV2 and CLIP.

Key Results

As shown in Figure 2, RandLoRA consistently surpasses LoRA across DinoV2, CLIP, and Llama3-8B. Notably, on CLIP ViT-B/32, RandLoRA significantly narrows the performance gap to full fine-tuning. In the LLM domain, RandLoRA achieved an average accuracy of 85.6% on commonsense reasoning with Llama3-8B, outperforming both LoRA (85.2%) and Weight-Decomposed LoRA (DoRA, 85.2%).

Figure 6: Few-shot performance comparison on ViT-B/32, ViT-L/14, and DinoV2. RandLoRA (magenta) consistently achieves higher accuracy across different shot counts compared to other PEFT methods like NoLA, VeRA, and standard LoRA.

Few-shot experiments (Figure 6) further highlight RandLoRA's robustness. Across various vision backbones, RandLoRA maintains a performance lead over competing PEFT methods, particularly as the number of training shots increases.

Analysis and Insights

  • The Rank Bottleneck: Analysis of CLIP models confirms that LoRA's performance hits a ceiling that cannot be overcome by simply increasing rank. RandLoRA's ability to represent high-rank updates is critical for these tasks.
  • Activation Alignment: Using Centered Kernel Alignment (CKA), we observed that LoRA's internal activations tend to drift from full fine-tuning patterns in deeper layers. RandLoRA maintains much closer alignment with the "gold standard" of full fine-tuning.
  • Optimization Landscape: Visualization of the loss landscape reveals that RandLoRA reaches deeper local minima than LoRA for an equivalent parameter budget, following optimization paths similar to full fine-tuning.
  • Sparsity and Efficiency: Experiments with up to 93% sparse random bases showed minimal performance degradation. This suggests that future implementations could leverage sparse matrix arithmetic to significantly reduce computational overhead.

Conclusion and Future Work

RandLoRA demonstrates that the low-rank assumption in PEFT can be a significant bottleneck for complex tasks. By enabling full-rank updates through learned scaling of random bases, RandLoRA provides a more expressive yet parameter-efficient alternative to LoRA.

While RandLoRA introduces some computational overhead (13% to 100% increase in training time), future work focusing on ternary sparse bases could enable "matmul-free" updates. Additionally, hybrid approaches combining LoRA's low-rank efficiency with RandLoRA's high-rank expressiveness offer a promising path toward even more effective model adaptation.

Summary updated

BibTeX
@inproceedings{albert2025randlora,
  author = {Paul Albert and Frederic Z. Zhang and Hemanth Saratchandran and Cristian Rodriguez-Opazo and Anton van den Hengel and Ehsan Abbasnejad},
  title = {{RandLoRA: Full rank parameter-efficient fine-tuning of large models}},
  booktitle = {International Conference on Learning Representations},
  year = {2025},
  url = {https://openreview.net/forum?id=Hn5eoTunHN},
}
Figure