Papers
Topics
Authors
Recent
Gemini 2.5 Flash
Gemini 2.5 Flash
119 tokens/sec
GPT-4o
56 tokens/sec
Gemini 2.5 Pro Pro
43 tokens/sec
o3 Pro
6 tokens/sec
GPT-4.1 Pro
47 tokens/sec
DeepSeek R1 via Azure Pro
28 tokens/sec
2000 character limit reached

Gaussian Stochastic Weight Averaging for Bayesian Low-Rank Adaptation of Large Language Models (2405.03425v2)

Published 6 May 2024 in cs.CL

Abstract: Fine-tuned 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 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.

User Edit Pencil Streamline Icon: https://streamlinehq.com
Authors (5)
  1. Emre Onal (2 papers)
  2. Klemens Flöge (3 papers)
  3. Emma Caldwell (1 paper)
  4. Arsen Sheverdin (2 papers)
  5. Vincent Fortuin (52 papers)
Citations (5)

Summary

We haven't generated a summary for this paper yet.