Robust and Efficient Fine-tuning of LLMs with Bayesian Reparameterization of Low-Rank Adaptation

Ayan Sengupta, Vaibhav Seth, Arinjay Pathak, Aastha Verma, Natraj Raman +3 more
11/7/2024
cs.LGcs.CL

No official code found. Best implementation: LCS2-IIITD/MonteCLoRA (3 stars, Apache-2.0, last commit 2025-07-31).

Abstract

Large Language Models (LLMs) are highly resource-intensive to fine-tune due to their enormous size. While low-rank adaptation is a prominent parameter-efficient fine-tuning approach, it suffers from sensitivity to hyperparameter choices, leading to instability in model performance on fine-tuning downstream tasks. This paper highlights the importance of effective parameterization in low-rank fine-tuning to reduce estimator variance and enhance the stability of final model outputs. We propose MonteCLoRA, an efficient fine-tuning technique that employs Monte Carlo estimation to learn an unbiased posterior estimation of low-rank parameters with low expected variance, stabilizing fine-tuned LLMs with only O(r) additional parameters, for a given rank r. MonteCLoRA shows 0.5% and 1.6% improvements in accuracy and robustness over unregularized low-rank adaptation method on natural language understanding tasks with pre-trained RoBERTa-base. Furthermore, in generative tasks with pre-trained LLaMA-1-7B and LLaMA-3.2-3B-Instruct, MonteCLoRA demonstrates robust performance with 50% and 62% lower spreads respectively than the contemporary efficient fine-tuning methods. The theoretical and empirical results presented in the paper underscore how parameterization and hyperpriors balance exploration-exploitation in the low-rank parametric space, therefore leading to more optimal and robust parameter estimation during efficient fine-tuning.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

Official Repository for the implementation of our paper "Monte Carlo-Enhanced LoRA: A Robust Fine-Tuning Approach for Large Language Models"

33C, C++Jul 31, 20251 years agoApache-2.0

Similar Papers

Cite this paper

@article{sengupta2024robust,
  title  = {Robust and Efficient Fine-tuning of LLMs with Bayesian Reparameterization of Low-Rank Adaptation},
  author = {Ayan Sengupta and Vaibhav Seth and Arinjay Pathak and Aastha Verma and Natraj Raman and Sriram Gopalakrishnan and Niladri Chatterjee and Tanmoy Chakraborty},
  year   = {2024},
  eprint = {2411.04358},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2411.04358v3}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2411.04358.svg)](https://codeofpaper.com/paper/2411.04358)

Discussion