BLoB: Bayesian Low-Rank Adaptation by Backpropagation for Large Language Models
About
Large Language Models (LLMs) often suffer from overconfidence during inference, particularly when adapted to downstream domain-specific tasks with limited data. Previous work addresses this issue by employing approximate Bayesian estimation after the LLMs are trained, enabling them to quantify uncertainty. However, such post-training approaches' performance is severely limited by the parameters learned during training. In this paper, we go beyond post-training Bayesianization and propose Bayesian Low-Rank Adaptation by Backpropagation (BLoB), an algorithm that continuously and jointly adjusts both the mean and covariance of LLM parameters throughout the whole fine-tuning process. Our empirical results verify the effectiveness of BLoB in terms of generalization and uncertainty estimation, when evaluated on both in-distribution and out-of-distribution data.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Commonsense Reasoning | ARC Challenge | Accuracy68.81 | 259 | |
| Commonsense Reasoning | ARC-E | Accuracy96.54 | 249 | |
| Commonsense Reasoning | ARC-C | Accuracy89.53 | 225 | |
| Commonsense Reasoning | OBQA | Accuracy87.601 | 187 | |
| Question Answering | OBQA (test) | Accuracy91.72 | 90 | |
| Question Answering | ARC-e (test) | Accuracy96.07 | 60 | |
| Commonsense Reasoning | BoolQ | Accuracy86.99 | 41 | |
| Commonsense Reasoning | BoolQ (test) | Accuracy89.05 | 35 | |
| Question Answering Task | ARC-C (test) | Accuracy92.49 | 30 | |
| Multiple-choice Question Answering | ARC-C | Accuracy79.81 | 28 |