MCP
arXivarXiv
Preprint
Published: May 6, 2024
cs.CL
v2
APPROXIMATEINFERENCE 2024 accepted

Gaussian Stochastic Weight Averaging for Bayesian Low-Rank Adaptation of Large Language Models

Abstract
Fine-tuned Large Language Models (LLMs) often suffer from overconfidence and poor calibration, particularly when fine-tuned on small datasets. To address these challenges, we propose a simple combination of Low-Rank Adaptation (LoRA) with Gaussian Stochastic Weight Averaging (SWAG), facilitating approximate Bayesian inference in LLMs. Through extensive testing across several Natural Language Processing (NLP) benchmarks, we demonstrate that our straightforward and computationally efficient approach improves model generalization and calibration competitively with comparable, more sophisticated methods for Bayesian inference in LLMs. We further show that our method exhibits greater robustness against distribution shift, as reflected in its improved performance on out-of-distribution tasks.
0
AI overview
Reviews
Citation graph
Structured
This paper does not have an AI preview yet
Links
arXiv
arXiv
↗
PDF
↗
OpenReview
OpenReview version on PaperPulse
›
Rating
No ratings yet
Rate
Community rating
—
/ 5
No ratings yet
Rating
—
Soundness
—
Presentation
—
Contribution
—
Confidence
—
Discussion
Top
Newest
Questions
Replication
Author
No comments yet — be the first