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

基于贝叶斯劝说的高效模型无关对齐

Efficient Model-agnostic Alignment via Bayesian Persuasion

Shanghai Jiao Tong University(上海交通大学);Institute for Artificial Intelligence, Peking University(北京大学人工智能研究院);BIGAI(北京智源人工智能研究院)

Fengshuo Bai, Mingzhi Wang, Zhaowei Zhang, Boyuan Chen, Yinda Xu, Ying Wen, Yaodong Yang

AI总结:

本文提出轻量级、模型无关的贝叶斯劝说对齐框架,通过小模型作为Advisor优化信号策略来引导大模型生成更优响应,理论证明其遗憾值上界,实证显示GPT-2使数学推理平均提升16.1%、代码生成提升13.7%。

摘要:

随着大型语言模型(LLMs)的最新进展,对齐已成为使LLMs与人类意图保持共识的有效技术。当前的方法主要通过监督微调(SFT)或基于人类反馈的强化学习(RLHF)进行直接训练,两者都需要大量计算资源和广泛的真值数据。本文探索了一种使用较小模型对齐黑盒大型模型的高效方法,引入了模型无关且轻量级的贝叶斯劝说对齐框架。我们将此问题形式化为从小模型视角出发的信号策略优化。在劝说过程中,小模型(Advisor)观察信息项(即状态),并劝说大型模型(Receiver)以引发改进的响应。Receiver随后基于输入、来自Advisor的信号及其对信息项的更新信念生成响应。通过使用我们的框架进行训练,我们证明Advisor能够在一系列任务中显著提升各种Receiver的性能。我们对劝说框架进行了理论分析,并提供了Advisor遗憾值的上界,证实了其在学习最优信号策略方面的有效性。我们的实证结果表明,GPT-2能够显著提升各种模型的性能,在数学推理能力上平均提升16.1%,在代码生成上提升13.7%。我们希望这项工作能为从贝叶斯劝说视角重新思考对齐框架提供初步步骤。

英文摘要:

With recent advancements in large language models (LLMs), alignment has emerged as an effective technique for keeping LLMs consensus with human intent. Current methods primarily involve direct training through Supervised Fine-tuning (SFT) or Reinforcement Learning from Human Feedback (RLHF), both of which require substantial computational resources and extensive ground truth data. This paper explores an efficient method for aligning black-box large models using smaller models, introducing a model-agnostic and lightweight Bayesian Persuasion Alignment framework. We formalize this problem as an optimization of the signaling strategy from the small model's perspective. In the persuasion process, the small model (Advisor) observes the information item (i.e., state) and persuades large models (Receiver) to elicit improved responses. The Receiver then generates a response based on the input, the signal from the Advisor, and its updated belief about the information item. Through training using our framework, we demonstrate that the Advisor can significantly enhance the performance of various Receivers across a range of tasks. We theoretically analyze our persuasion framework and provide an upper bound on the Advisor's regret, confirming its effectiveness in learning the optimal signaling strategy. Our Empirical results demonstrates that GPT-2 can significantly improve the performance of various models, achieving an average enhancement of 16.1% in mathematical reasoning ability and 13.7% in code generation. We hope our work can provide an initial step toward rethinking the alignment framework from the Bayesian Persuasion perspective.

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

↑