让大模型在业务场景中更可靠、会自适应地学习。
A Bayesian Hybrid Parameter-Efficient Fine-Tuning Method for Large Language Models
- 将贝叶斯方法融入混合微调,用概率分布代替固定参数。
- 在情感分析等任务上超越现有方法,且能量化预测不确定性。
- 适合需要实时更新和可信决策的商业应用,如客服、推荐系统。
大语言模型在通用语料上预训练后,常需领域微调以适配特定业务应用。由于模型规模庞大,参数高效微调(PEFT)被广泛采用以降低训练成本。其中,结合多种PEFT技术的混合方法表现最优。然而,现有混合PEFT方法在业务场景中面临两大挑战:一是依赖点估计,无法量化不确定性,影响决策可靠性;二是难以动态适应新数据,无法应对真实世界变化。本文提出贝叶斯混合参数高效微调(BH-PEFT),将贝叶斯学习引入混合PEFT框架,融合Adapter、LoRA与前缀微调,用于微调Transformer的前馈和注意力层。通过将可学习参数建模为分布,实现不确定性量化。进一步提出贝叶斯动态微调策略,将上一轮后验作为下一轮先验,支持对新数据的有效适应。在情感分析、新闻分类和常识推理等业务任务上评估表明,该方法优于现有PEFT基线,在提供不确定性量化的同时提升了动态场景下的适应能力。本工作为商业分析与数据科学提供了支持不确定性感知与自适应决策的新方法。
原文摘要 · Abstract (English)
Large Language Models (LLMs) have demonstrated transformative potential in reshaping the world. As these models are pretrained on general corpora, they often require domain-specific fine-tuning to optimize performance in specialized business applications. Due to their massive scale, parameter-efficient fine-tuning (PEFT) methods are widely used to reduce training costs. Among them, hybrid PEFT methods that combine multiple PEFT techniques have achieved the best performance. However, existing hybrid PEFT methods face two main challenges when fine-tuning LLMs for specialized applications: (1) relying on point estimates, lacking the ability to quantify uncertainty for reliable decision-making, and (2) struggling to dynamically adapt to emerging data, lacking the ability to suit real-world situations. We propose Bayesian Hybrid Parameter-Efficient Fine-Tuning (BH-PEFT), a novel method that integrates Bayesian learning into hybrid PEFT. BH-PEFT combines Adapter, LoRA, and prefix-tuning to fine-tune feedforward and attention layers of the Transformer. By modeling learnable parameters as distributions, BH-PEFT enables uncertainty quantification. We further propose a Bayesian dynamic fine-tuning approach where the last posterior serves as the prior for the next round, enabling effective adaptation to new data. We evaluated BH-PEFT on business tasks such as sentiment analysis, news categorization, and commonsense reasoning. Results show that our method outperforms existing PEFT baselines, enables uncertainty quantification for more reliable decisions, and improves adaptability in dynamic scenarios. This work contributes to business analytics and data science by proposing a novel BH-PEFT method and dynamic fine-tuning approach that support uncertainty-aware and adaptive decision-making in real-world situations.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。