[Paper Review] UltraFeedback: Boosting Language Models with Scaled AI Feedback
UltraFeedback creates a large-scale, fine-grained preference and critique dataset to improve RLHF for open-source LLMs, enabling new reward and critique models and showing performance gains via RLHF and best-of-n strategies.
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 extit{AI feedback} automatically for a scalable alternative. Specifically, we identify extbf{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 extsc{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 extsc{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.
Motivation & Objective
- Address the data scarcity of open-source preference data for RLHF.
- Construct a large-scale, diverse, and finely annotated preference dataset with textual feedback.
- Train an open-source reward model (UltraRM) and a critique model (UltraCM) using UltraFeedback.
- Demonstrate improvements in open-source LLMs through best-of-n sampling and PPO-based RLHF.
- Provide reproducible data construction and model-training pipelines for future RLHF research.
Proposed method
- Sample diverse instructions and model completions from multiple sources to create comparative data.
- Use GPT-4 to generate both scalar preferences and detailed textual critiques for each completion.
- Train UltraRM using a binary ranking loss to select preferred completions across pairs.
- Fine-tune UltraLM with best-of-n sampling and PPO using UltraRM as the reward model.
- Train UltraCM on UltraFeedback textual critiques to enable automatic critique generation.

Experimental results
Research questions
- RQ1Can UltraFeedback produce high-quality, fine-grained preference data that generalizes to open-source models?
- RQ2Do reward models trained on UltraFeedback outperform existing open-source baselines across standard benchmarks?
- RQ3Does RLHF with UltraRM (via PPO) improve open-source chat models more than other approaches?
- RQ4Is the accompanying critique model UltraCM able to provide useful, high-quality feedback across tasks?
Key findings
- UltraRM variants trained with UltraFeedback outperform several open-source reward models on multiple benchmarks.
- Best-of-n sampling using UltraRM rewards significantly improves response quality without additional training.
- PPO fine-tuning of UltraLM-13B with UltraFeedback yields strong performance gains on public benchmarks.
- UltraCM provides detailed, high-quality textual critiques that approach the quality of some closed or larger competitors in many tasks.
- The dataset supports reproducible reward modeling and critique modeling workflows for open-source RLHF research.

Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.