arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2511.17339cs.LG
收藏

ReBaPL:排斥式贝叶斯提示学习

ReBaPL: Repulsive Bayesian Prompt Learning

Sigma Nova;Rhizome Labs

Yassir Bendou, Omar Ezzahir, Eduardo Fernandes Montesuma, Gabriel Mahuas, Victoria Shevchenko, Mike Gartrell

AI总结:

本文提出ReBaPL,一种基于贝叶斯推理的提示学习方法,通过引入排斥力促进探索,提升模型鲁棒性和泛化能力。

摘要:

提示学习已逐渐成为一种有效的技术,用于微调大规模基础模型以适应下游任务。然而,传统提示学习方法容易过拟合,并且在处理分布外泛化时面临困难。为了解决这些限制,提出了贝叶斯提示学习,将其框架优化视为贝叶斯推断问题以增强鲁棒性。本文介绍了ReBaPL,一种新的贝叶斯提示学习方法,旨在高效探索提示的复杂且往往多模态的后验景观。我们的方法整合了循环步长调度与随机梯度Hamiltonian Monte Carlo(SGHMC)算法,使探索和利用交替阶段,以发现新模式并细化现有模式。此外,我们引入了一种源自概率度量(包括最大均值不一致性和Wasserstein距离)的排斥力,该度量基于不同提示生成的表示分布计算得出。这种表示空间的排斥力促进了探索并防止了过早坍缩到单一模式。我们的方法使提示后验分布的更全面表征成为可能,从而提高了泛化能力。与先前的贝叶斯提示学习方法相比,我们的方法提供了一种模块化的可插拔贝叶斯扩展,可用于任何基于最大似然估计的现有提示学习方法。我们展示了ReBaPL在多个基准数据集上的有效性,证明其优于最先进的提示学习方法。

英文摘要:

Prompt learning has emerged as an effective technique for fine-tuning large-scale foundation models for downstream tasks. However, conventional prompt learning methods are prone to overfitting and can struggle with out-of-distribution generalization. To address these limitations, Bayesian prompt learning has been proposed, which frames prompt optimization as a Bayesian inference problem to enhance robustness. This paper introduces Repulsive Bayesian Prompt Learning (ReBaPL), a novel method for Bayesian prompt learning, designed to efficiently explore the complex and often multimodal posterior landscape of prompts. Our method integrates a cyclical step-size schedule with a stochastic gradient Hamiltonian Monte Carlo (SGHMC) algorithm, enabling alternating phases of exploration to discover new modes, and exploitation to refine existing modes. Furthermore, we introduce a repulsive force derived from a potential function over probability metrics (including Maximum Mean Discrepancy and Wasserstein distance) computed on the distributions of representations produced by different prompts. This representation-space repulsion diversifies exploration and prevents premature collapse to a single mode. Our approach allows for a more comprehensive characterization of the prompt posterior distribution, leading to improved generalization. In contrast to prior Bayesian prompt learning methods, our method provides a modular plug-and-play Bayesian extension of any existing prompt learning method based on maximum likelihood estimation. We demonstrate the efficacy of ReBaPL on several benchmark datasets, showing superior performance over state-of-the-art prompt learning methods.

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

↑