UltraFeedback:利用规模化AI反馈提升语言模型
UltraFeedback: Boosting Language Models with Scaled AI Feedback
AI总结:
本文提出UltraFeedback,一个包含超百万条GPT-4反馈的大规模、高质量、多样化AI反馈数据集,用于自动收集反馈以对齐语言模型,并通过强化学习提升聊天性能。
摘要:
从人类反馈中学习已成为将大型语言模型(LLMs)与人类偏好对齐的关键技术。然而,获取大量优质的人类反馈受到时间、劳动力和人类能力的限制,导致当前数据集规模较小或主题有限。这进一步阻碍了开源社区中的反馈学习和对齐研究。为解决此问题,我们探索如何超越人类反馈,自动收集高质量的AI反馈,作为可扩展的替代方案。具体而言,我们确定规模和多样性是反馈数据发挥作用的关键因素。因此,我们首先在数量和广度上扩展指令和响应,以涵盖更广泛的用户-助手交互。然后,我们精心应用一系列技术来减轻注释偏差,以获得更可靠的AI反馈。最终,我们提出了UltraFeedback,一个大规模、高质量、多样化的AI反馈数据集,包含超过100万条GPT-4反馈,覆盖25万段用户-助手对话的各个方面。基于UltraFeedback,我们通过最佳n采样和强化学习对齐了基于LLaMA的模型,在聊天基准测试中展示了其卓越性能。我们的工作验证了规模化AI反馈数据在构建强大的开源聊天语言模型中的有效性,为未来的反馈学习研究奠定了坚实基础。我们的数据和模型可在https://github.com/thunlp/UltraFeedback获取。
英文摘要:
Learning from human feedback has become a pivot technique in aligning large language models (LLMs) with human preferences. However, acquiring vast and premium human feedback is bottlenecked by time, labor, and human capability, resulting in small sizes or limited topics of current datasets. This further hinders feedback learning as well as alignment research within the open-source community. To address this issue, we explore how to go beyond human feedback and collect high-quality \textit{AI feedback} automatically for a scalable alternative. Specifically, we identify \textbf{scale and diversity} as the key factors for feedback data to take effect. Accordingly, we first broaden instructions and responses in both amount and breadth to encompass a wider range of user-assistant interactions. Then, we meticulously apply a series of techniques to mitigate annotation biases for more reliable AI feedback. We finally present \textsc{UltraFeedback}, a large-scale, high-quality, and diversified AI feedback dataset, which contains over 1 million GPT-4 feedback for 250k user-assistant conversations from various aspects. Built upon \textsc{UltraFeedback}, we align a LLaMA-based model by best-of-$n$ sampling and reinforcement learning, demonstrating its exceptional performance on chat benchmarks. Our work validates the effectiveness of scaled AI feedback data in constructing strong open-source chat language models, serving as a solid foundation for future feedback learning research. Our data and models are available at https://github.com/thunlp/UltraFeedback.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。