Skip to main content
QUICK REVIEW

[Paper Review] HRLAIF: Improvements in Helpfulness and Harmlessness in Open-domain Reinforcement Learning From AI Feedback

Ang Li, Qiugen Xiao|arXiv (Cornell University)|Mar 13, 2024
Reinforcement Learning in RoboticsComputer Science3 citations
TL;DR

This paper proposes HRLAIF, a hybrid reinforcement learning framework that improves both helpfulness and harmlessness in LLM alignment by enhancing AI feedback accuracy through category-specific labeling and AI-powered red teaming. It achieves a 2.08% increase in human response satisfaction rate—countering a 4.58% drop seen in basic RLAIF—while maintaining high preference win ratios.

ABSTRACT

Reinforcement Learning from AI Feedback (RLAIF) has the advantages of shorter annotation cycles and lower costs over Reinforcement Learning from Human Feedback (RLHF), making it highly efficient during the rapid strategy iteration periods of large language model (LLM) training. Using ChatGPT as a labeler to provide feedback on open-domain prompts in RLAIF training, we observe an increase in human evaluators' preference win ratio for model responses, but a decrease in evaluators' satisfaction rate. Analysis suggests that the decrease in satisfaction rate is mainly due to some responses becoming less helpful, particularly in terms of correctness and truthfulness, highlighting practical limitations of basic RLAIF. In this paper, we propose Hybrid Reinforcement Learning from AI Feedback (HRLAIF). This method enhances the accuracy of AI annotations for responses, making the model's helpfulness more robust in training process. Additionally, it employs AI for Red Teaming, further improving the model's harmlessness. Human evaluation results show that HRLAIF inherits the ability of RLAIF to enhance human preference for outcomes at a low cost while also improving the satisfaction rate of responses. Compared to the policy model before Reinforcement Learning (RL), it achieves an increase of 2.08\% in satisfaction rate, effectively addressing the issue of a decrease of 4.58\% in satisfaction rate after basic RLAIF.

Motivation & Objective

  • To address the decline in response helpfulness and truthfulness observed in basic RLAIF, despite improved preference win ratios.
  • To enhance the reliability of AI-generated feedback for specific prompt categories such as math, multiple-choice, and safety tasks.
  • To improve model harmlessness through AI-driven red teaming with toxic prompts.
  • To achieve a balance between cost efficiency and response quality in LLM alignment.
  • To demonstrate that hybrid AI feedback can maintain or improve satisfaction rates while preserving preference gains from RLAIF.

Proposed method

  • Introduces phased, category-specific AI preference labeling to improve annotation accuracy for tasks like math computation and multiple-choice questions.
  • Employs AI assistants to generate unit tests or correctness checks for responses in specific domains, enabling more reliable feedback.
  • Applies AI red teaming using a curated set of toxic prompts to enhance model harmlessness during RL fine-tuning.
  • Uses Proximal Policy Optimization (PPO) with a reward model trained on hybrid AI feedback to fine-tune the policy model.
  • Combines SFT-based initial alignment with RL fine-tuning using hybrid AI feedback to preserve base model quality.
  • Applies human evaluation across 12 prompt categories to validate improvements in satisfaction and preference win ratio.

Experimental results

Research questions

  • RQ1Can hybrid AI feedback improve the accuracy of preference annotations for specific prompt categories, thereby enhancing model helpfulness?
  • RQ2Does AI-powered red teaming effectively improve model harmlessness in RLAIF without human labeling?
  • RQ3Can HRLAIF maintain high preference win ratios while reversing the decline in response satisfaction seen in basic RLAIF?
  • RQ4To what extent is the HRLAIF framework generalizable across diverse prompt categories?
  • RQ5How does the quality of AI feedback impact model performance in terms of correctness, truthfulness, and user satisfaction?

Key findings

  • HRLAIF increases response satisfaction rate by 2.08% compared to the base model, reversing the 4.58% decrease observed in basic RLAIF.
  • Basic RLAIF increases preference win ratio by 58.13% over the SFT model but reduces satisfaction due to flawed correctness annotation by AI.
  • HRLAIF achieves a 56.87% preference win ratio over the SFT model, demonstrating strong preference alignment with improved satisfaction.
  • On the safety subset, HRLAIF improves satisfaction by 10%, compared to 5% for basic RLAIF, indicating stronger harmlessness gains.
  • The method effectively mitigates model illusions and incorrect reasoning introduced by low-accuracy AI feedback in standard RLAIF.
  • HRLAIF maintains robust performance across 12 prompt categories, showing generalizability beyond the initial scope of math and multiple-choice tasks.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.