arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2406.11675cs.LGcs.AIcs.CLstat.ML
收藏

BLoB:面向大型语言模型的通过反向传播进行贝叶斯低秩适配

BLoB: Bayesian Low-Rank Adaptation by Backpropagation for Large Language Models

Rutgers University(罗格斯大学);MIT-IBM Watson AI Lab(麻省理工学院-IBM沃森人工智能实验室)

Yibin Wang, Haizhou Shi, Ligong Han, Dimitris Metaxas, Hao Wang

AI总结:

针对LLMs在有限数据微调时过度自信的问题,提出BLoB算法,通过反向传播在整个微调过程中持续联合调整参数的均值和协方差,有效提升了模型的泛化能力和不确定性估计。

摘要:

大型语言模型(LLMs)在推理时常面临过度自信问题,尤其是在使用有限数据适配下游领域特定任务时。以往工作通过在LLMs训练后采用近似贝叶斯估计来解决此问题,使其能够量化不确定性。然而,此类训练后方法的性能受到训练期间所学参数的严重限制。在本文中,我们超越了训练后贝叶斯化,提出了通过反向传播进行贝叶斯低秩适配(BLoB),这是一种在整个微调过程中持续且联合调整LLM参数均值和协方差的算法。我们的实证结果验证了BLoB在分布内和分布外数据上的泛化能力和不确定性估计方面的有效性。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑