|国家预印本平台
首页|Gaussian Stochastic Weight Averaging for Bayesian Low-Rank Adaptation of Large Language Models

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

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

来源:Arxiv_logoArxiv
英文摘要

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.

Arsen Sheverdin、Emma Caldwell、Vincent Fortuin、Klemens Fl?ge、Emre Onal

计算技术、计算机技术

Arsen Sheverdin,Emma Caldwell,Vincent Fortuin,Klemens Fl?ge,Emre Onal.Gaussian Stochastic Weight Averaging for Bayesian Low-Rank Adaptation of Large Language Models[EB/OL].(2024-05-06)[2025-08-02].https://arxiv.org/abs/2405.03425.点此复制

评论