[Paper Review] Preference Ranking Optimization for Human Alignment
PRO directly trains LLMs to align with human preferences by optimizing a probabilistic ranking of multiple responses, outperforming several baselines and approaching ChatGPT/human performance across various evaluations.
Large language models (LLMs) often contain misleading content, emphasizing the need to align them with human values to ensure secure AI systems. Reinforcement learning from human feedback (RLHF) has been employed to achieve this alignment. However, it encompasses two main drawbacks: (1) RLHF exhibits complexity, instability, and sensitivity to hyperparameters in contrast to SFT. (2) Despite massive trial-and-error, multiple sampling is reduced to pair-wise contrast, thus lacking contrasts from a macro perspective. In this paper, we propose Preference Ranking Optimization (PRO) as an efficient SFT algorithm to directly fine-tune LLMs for human alignment. PRO extends the pair-wise contrast to accommodate preference rankings of any length. By iteratively contrasting candidates, PRO instructs the LLM to prioritize the best response while progressively ranking the rest responses. In this manner, PRO effectively transforms human alignment into aligning the probability ranking of n responses generated by LLM with the preference ranking of humans towards these responses. Experiments have shown that PRO outperforms baseline algorithms, achieving comparable results to ChatGPT and human responses through automatic-based, reward-based, GPT-4, and human evaluations.
Motivation & Objective
- Motivate the need for human-alignment of LLMs to mitigate harmful/misleading content.
- Propose PRO as a direct alternative to PPO that optimizes human-preference rankings.
- Extend Bradley-Terry comparisons to long preference rankings and derive a differentiable loss for PRO.
- Demonstrate PRO's data efficiency and compatibility with self-bootstrapping and reward-model grafting.
- Evaluate PRO against multiple baselines across diverse ranking lengths and evaluation methods.
Proposed method
- Extend Bradley-Terry comparison to handle long human-preference rankings via a recursive product of conditional probabilities (Equation 5).
- Define a differentiable scoring function r_pi(x,y^k) as the token-wise log-likelihood under the candidate y^k (Equation 6).
- Train the LLM by minimizing a combined loss: PRO objective plus SFT loss (Equation 7).
- Use a differentiable contrastive PRO loss (Equation 8) to align the LLM ranking with human preferences.
- Optionally graft RLHF elements, including affordable ranking, differentiated contrast (Equation 9-11), and self-bootstrapping augmentation (Equation 12).
- Experiment on HH-RLHF datasets with LLaMA-7B as backbone, comparing PRO to SFT, RLHF, CoH, RRHF, BoN, and strong LLM baselines; evaluate via BLEU, reward models, GPT-4, and human judgments.
Experimental results
Research questions
- RQ1Can PRO outperform PPO-based RLHF in aligning LLMs with human preferences using long ranking sequences?
- RQ2How does ranking length affect alignment quality and evaluation scores?
- RQ3What is the impact of using higher-quality or more diverse candidate rankings on PRO performance?
- RQ4How does PRO compare with established baselines across automatic and human evaluations?
- RQ5Can PRO be effectively augmented with RLHF components to balance flexibility and efficiency?
Key findings
- PRO outperforms competitive baselines even with ranking length 2, surpassing SFT by 6.52 reward points and RRHF by 3.1 points on HH-RLHF raw.
- Longer ranking sequences consistently improve human alignment performance with PRO.
- Higher-quality and more diverse candidate rankings (e.g., including ChatGPT samples) enhance PRO performance, achieving reward scores similar to larger models with fewer parameters.
- Self-bootstrapping provides incremental gains, but gains from high-quality external samples are larger.
- GPT-4 and human evaluations largely favor PRO over RRHF and over baseline Golden samples, indicating strong alignment with human preferences.
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.