English

Training-Free Bayesianization for Low-Rank Adapters of Large Language Models

Machine Learning 2025-09-29 v3 Artificial Intelligence Computation and Language Machine Learning

Abstract

Estimating the uncertainty of responses from Large Language Models (LLMs) remains a critical challenge. While recent Bayesian methods have demonstrated effectiveness in quantifying uncertainty through low-rank weight updates, they typically require complex fine-tuning or post-training procedures. In this paper, we propose Training-Free Bayesianization (TFB), a simple yet theoretically grounded framework that efficiently transforms trained low-rank adapters into Bayesian ones without additional training. TFB systematically searches for the maximally acceptable level of variance in the weight posterior, constrained within a family of low-rank isotropic Gaussian distributions. Our theoretical analysis shows that under mild conditions, this search process is equivalent to KL-regularized variational optimization, a generalized form of variational inference. Through comprehensive experiments, we show that TFB achieves superior uncertainty estimation and generalization compared to existing methods while eliminating the need for complex Bayesianization training procedures. Code will be available at https://github.com/Wang-ML-Lab/bayesian-peft.

Keywords

Cite

@article{arxiv.2412.05723,
  title  = {Training-Free Bayesianization for Low-Rank Adapters of Large Language Models},
  author = {Haizhou Shi and Yibin Wang and Ligong Han and Huan Zhang and Hao Wang},
  journal= {arXiv preprint arXiv:2412.05723},
  year   = {2025}
}

Comments

Accepted at NeurIPS 2025

R2 v1 2026-06-28T20:26:41.224Z