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

一种利用交叉注意力信号对大型语言模型进行微调的自监督强化学习方法

A Self-Supervised Reinforcement Learning Approach for Fine-Tuning Large Language Models Using Cross-Attention Signals

UC Berkeley School of Information(加州大学伯克利分校信息学院)

Andrew Kiruluta, Andreas Lemos, Priscilla Burity

AI总结:

该研究提出一种无需人类在环反馈的自监督强化学习框架,利用大型语言模型内部的交叉注意力信号构建奖励,引导模型微调,在提示相关性和一致性上优于非RL基线,为低标注对齐扩展提供方向。

摘要:

我们提出了一种新颖的强化学习框架,用于大型语言模型的后训练,该框架不依赖于人类在环反馈。相反,我们的方法利用模型内部的交叉注意力信号来推导自监督奖励,从而引导模型策略的迭代微调。通过分析模型在生成过程中如何关注输入提示,我们构建了提示覆盖度、焦点和连贯性的度量指标。然后,我们使用这些指标对候选响应进行排名或评分,提供奖励信号以鼓励模型生成对齐良好、主题相关的文本。在与标准策略梯度方法和使用合成偏好模型的RL微调的实证比较中,我们的方法在提示相关性和一致性方面比非RL基线显示出显著提升。虽然它尚未达到完全人类监督的RLHF系统的性能,但它突出了以最少人类标注实现对齐扩展的重要方向。我们提供了详细分析,讨论了潜在局限性,并概述了将基于交叉注意力的信号与少量人类反馈相结合的未来工作。

英文摘要:

We propose a novel reinforcement learning framework for post training large language models that does not rely on human in the loop feedback. Instead, our approach uses cross attention signals within the model itself to derive a self supervised reward, thereby guiding iterative fine tuning of the model policy. By analyzing how the model attends to the input prompt during generation, we construct measures of prompt coverage, focus, and coherence. We then use these measures to rank or score candidate responses, providing a reward signal that encourages the model to produce well aligned, on topic text. In empirical comparisons against standard policy gradient methods and RL fine tuning with synthetic preference models, our method shows significant gains in prompt relevance and consistency over a non RL baseline. While it does not yet match the performance of fully human supervised RLHF systems, it highlights an important direction for scaling alignment with minimal human labeling. We provide a detailed analysis, discuss potential limitations, and outline future work for combining cross-attention based signals with smaller amounts of human feedback.

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

↑