arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2401.10882cs.CLcs.AIcs.HC
收藏

利用公共社区评分作为人类反馈的强化学习用于编程领域问答

Reinforcement learning for question answering in programming domain using public community scoring as a human feedback

ITMO University(ITMO大学);Huawei(华为)

Alexey Gorbatovski, Sergey Kovalchuk

AI总结:

本文提出用 Stack Overflow 社区评分作为人类反馈,结合两种奖励模型策略和 PPO 微调 GPT Neo 125M,使其编程问答性能提升接近 2.7B 版本,并揭示传统语言指标的不足。

摘要:

在本研究中,我们调查了通过整合基于人类反馈的强化学习(RLHF)并利用来自 Stack Overflow 的评分,提升 GPT Neo 125M 在以编程为重点的社区问答(CQA)中的性能。研究采用两种不同的奖励模型训练策略,以便使用近端策略优化(PPO)进行微调。值得注意的是,通过该方法实现的性能提升可与 GPT Neo 2.7B 参数变体相媲美。此外,本文引入了一种辅助评分机制,该机制证明了传统语言指标在评估编程领域回答时的局限性。通过准确分析,本文考察了传统语言指标与我们基于人类偏好的奖励模型之间的差异,强调了领域专用评估方法的必要性。通过阐明将 RLHF 应用于编程 CQA 所涉及的复杂性,并强调情境感知评估的重要性,本研究为通过有针对性的人类反馈改进大型语言模型的持续努力作出了贡献。

英文摘要:

In this study, we investigate the enhancement of the GPT Neo 125M performance in Community Question Answering (CQA) with a focus on programming, through the integration of Reinforcement Learning from Human Feedback (RLHF) and the utilization of scores from Stack Overflow. Two distinct reward model training strategies are employed for fine-tuning with Proximal Policy Optimization (PPO). Notably, the improvements in performance achieved through this method are comparable to those of GPT Neo 2.7B parameter variant. Additionally, an auxiliary scoring mechanism is introduced, which demonstrates the limitations of conventional linguistic metrics in evaluating responses in the programming domain. Through accurate analysis, this paper looks at the divergence between traditional linguistic metrics and our human-preferences-based reward model, underscoring the imperative for domain-specific evaluation methods. By elucidating the complexities involved in applying RLHF to programming CQA and accentuating the significance of context-aware evaluation, this study contributes to the ongoing efforts in refining Large Language Models through focused human feedback.

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

↑