Reproduce “RRHF: Rank Responses to Align Language Models with Human Feedback without tears” on OpenResearch
Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.
Universal app for Apple silicon and Intel. Requires macOS 11 or later.
About this paper
Zheng Yuan, Hongyi Yuan, Chuanqi Tan, Wei Wang, Songfang Huang, Fei Huang
Researchers at Alibaba DAMO Academy introduce RRHF, a simplified and resource-efficient learning paradigm for aligning large language models with human preferences. This method effectively transforms the complex reinforcement learning problem into a ranking task, demonstrating performance competitive with or superior to PPO on helpfulness and harmlessness benchmarks while requiring fewer models and less hyperparameter tuning.
Key insights
- RRHF functions as a 'best-of-n' learner, effectively learning to generate responses whose quality approaches the best sampled responses observed during training.
- The explicit ranking loss is crucial for the model to learn comparative preferences, as its removal significantly degrades performance.
- RRHF-trained models can serve a dual purpose, acting as both generative language models and effective reward models for scoring responses.
Summary by alphaXiv.
Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.