BaLoRA: Bayesian Low-Rank Adaptation of Large Scale Models
About
Low-Rank Adaptation (LoRA) has become the standard for fine-tuning large pre-trained models at reduced computational cost. However, its low-rank point-estimate updates limit expressiveness, leave a persistent gap relative to full fine-tuning accuracy, and provide no built-in uncertainty quantification, limiting its applicability in settings where reliability matters as much as accuracy. We introduce BaLoRA, a Bayesian extension of LoRA with a novel input-adaptive Bayesian parameterization of LoRA matrices that adds minimal parameters and compute. Surprisingly, not only does the Bayesian extension yield well-calibrated uncertainty estimates, but the adaptive noise injection underlying our approach also significantly improves prediction accuracy, narrowing the gap with full fine-tuning across both natural language reasoning and vision tasks. When applied to band gap prediction in metal-organic frameworks, BaLoRA produces zero-shot test-time uncertainty estimates that correlate more strongly with model error than a trained ensemble of LoRA models, and improve monotonically with compute without sacrificing accuracy.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Commonsense Reasoning | WinoGrande | Accuracy88.4 | 1442 | |
| Image Classification | Oxford-IIIT Pets | Accuracy94.07 | 378 | |
| Image Classification | CIFAR100 | Accuracy93.62 | 301 | |
| Image Classification | CIFAR10 | Accuracy (%)99.04 | 282 | |
| Commonsense Reasoning | ARC Challenge | Accuracy80.9 | 243 | |
| Commonsense Reasoning | PIQA | Accuracy89.99 | 213 | |
| Commonsense Reasoning | SIQA | Accuracy81.78 | 168 | |
| Commonsense Reasoning | OpenBookQA | Accuracy88.4 | 108 | |
| Common Sense Reasoning | ARC Easy | ARC (easy) Accuracy91.2 | 101 | |
| Commonsense Reasoning | BoolQ | Accuracy76.42 | 41 |