7
0

Improving LoRA with Variational Learning

Main:9 Pages
4 Figures
Bibliography:4 Pages
11 Tables
Appendix:3 Pages
Abstract

Bayesian methods have recently been used to improve LoRA finetuning and, although they improve calibration, their effect on other metrics (such as accuracy) is marginal and can sometimes even be detrimental. Moreover, Bayesian methods also increase computational overheads and require additional tricks for them to work well. Here, we fix these issues by using a recently proposed variational algorithm called IVON. We show that IVON is easy to implement and has similar costs to AdamW, and yet it can also drastically improve many metrics by using a simple posterior pruning technique. We present extensive results on billion-scale LLMs (Llama and Qwen series) going way beyond the scale of existing applications of IVON. For example, we finetune a Llama-3.2-3B model on a set of commonsense reasoning tasks and improve accuracy over AdamW by 1.3% and reduce ECE by 5.4%, outperforming AdamW and other recent Bayesian methods like Laplace-LoRA and BLoB. Overall, our results show that variational learning with IVON can effectively improve LoRA finetuning.

View on arXiv
@article{cong2025_2506.14280,
  title={ Improving LoRA with Variational Learning },
  author={ Bai Cong and Nico Daheim and Yuesong Shen and Rio Yokota and Mohammad Emtiyaz Khan and Thomas Möllenhoff },
  journal={arXiv preprint arXiv:2506.14280},
  year={ 2025 }
}
Comments on this paper