众包是否让你破费?利用近端策略优化对预训练语言模型进行高性价比微调
Is Crowdsourcing Breaking Your Bank? Cost-Effective Fine-Tuning of Pre-trained Language Models with Proximal Policy Optimization
AI总结:
针对 RLHF 人工排序成本高的问题,提出结合概率采样、TextRank 与 ISODATA 的自监督排序奖励方法,用 PPO 微调语言模型并在三项任务上显著优于基线。
摘要:
ChatGPT 的广泛使用凸显了基于人类反馈的强化学习的潜力。然而,其训练流程依赖人工排序,这是一个资源密集型过程。为降低人力成本,我们提出一种自监督文本排序方法,用于应用 Proximal-Policy-Optimization(近端策略优化)来微调语言模型,同时无需人类标注者。我们的方法首先采用概率采样,促使语言模型针对每个输入生成多样化响应。随后,我们使用 TextRank 和 ISODATA 算法,根据这些响应的语义对其进行排序和聚类。接着,我们构建奖励模型以学习排序,并优化生成策略。我们在三个任务上使用两个语言模型开展实验,结果表明,由本方法训练的模型在 BLEU、GLEU 和 METEOR 分数上显著优于基线。此外,人工评估显示,我们的排序结果与人类排序具有极高的一致性。本研究显著降低了近端策略引导模型的训练成本,并证明了语言模型自我纠正的潜力。
英文摘要:
Wide usage of ChatGPT has highlighted the potential of reinforcement learning from human feedback. However, its training pipeline relies on manual ranking, a resource-intensive process. To reduce labor costs, we propose a self-supervised text ranking approach for applying Proximal-Policy-Optimization to fine-tune language models while eliminating the need for human annotators. Our method begins with probabilistic sampling to encourage a language model to generate diverse responses for each input. We then employ TextRank and ISODATA algorithms to rank and cluster these responses based on their semantics. Subsequently, we construct a reward model to learn the rank and optimize our generative policy. Our experimental results, conducted using two language models on three tasks, demonstrate that the models trained by our method considerably outperform baselines regarding BLEU, GLEU, and METEOR scores. Furthermore, our manual evaluation shows that our ranking results exhibit a remarkably high consistency with that of humans. This research significantly reduces training costs of proximal policy-guided models and demonstrates the potential for self-correction of language models.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。