Skip to main content
QUICK REVIEW

[Paper Review] On the Algorithmic Bias of Aligning Large Language Models with RLHF: Preference Collapse and Matching Regularization

Jiancong Xiao, Ziniu Li|arXiv (Cornell University)|May 26, 2024
Natural Language Processing TechniquesComputer Science4 citations
TL;DR

This paper identifies an inherent algorithmic bias in reinforcement learning from human feedback (RLHF)—specifically, preference collapse due to KL-based regularization that marginalizes minority preferences. To address this, the authors propose Preference Matching (PM) RLHF, a novel method using a negative log-probability regularizer derived from an ordinary differential equation to balance reward maximization and response diversity, achieving 29–41% improvement in human preference alignment over standard RLHF.

ABSTRACT

Accurately aligning large language models (LLMs) with human preferences is crucial for informing fair, economically sound, and statistically efficient decision-making processes. However, we argue that the predominant approach for aligning LLMs with human preferences through a reward model -- reinforcement learning from human feedback (RLHF) -- suffers from an inherent algorithmic bias due to its Kullback--Leibler-based regularization in optimization. In extreme cases, this bias could lead to a phenomenon we term preference collapse, where minority preferences are virtually disregarded. To mitigate this algorithmic bias, we introduce preference matching (PM) RLHF, a novel approach that provably aligns LLMs with the preference distribution of the reward model under the Bradley--Terry--Luce/Plackett--Luce model. Central to our approach is a PM regularizer that takes the form of the negative logarithm of the LLM's policy probability distribution over responses, which helps the LLM balance response diversification and reward maximization. Notably, we obtain this regularizer by solving an ordinary differential equation that is necessary for the PM property. For practical implementation, we introduce a conditional variant of PM RLHF that is tailored to natural language generation. Finally, we empirically validate the effectiveness of conditional PM RLHF through experiments on the OPT and Llama-family models, demonstrating a 29% to 41% improvement in alignment with human preferences, as measured by a certain metric, compared to standard RLHF.

Motivation & Objective

  • To identify and address an inherent algorithmic bias in standard RLHF stemming from KL divergence regularization.
  • To mitigate preference collapse, where minority human preferences are disproportionately ignored due to reference model bias.
  • To develop a provably aligned method that matches the preference distribution of the reward model under the Bradley–Terry–Luce/Plackett–Luce model.
  • To design a conditional variant of PM RLHF that preserves natural language fluency during text generation.
  • To empirically validate the method’s superiority in aligning LLMs with human preferences across multiple models and settings.

Proposed method

  • Propose a Preference Matching (PM) regularizer derived from solving an ordinary differential equation necessary for exact preference matching under the PL model.
  • Formulate the PM regularizer as the negative logarithm of the LLM’s policy probability distribution over responses, which acts as a diversity-promoting regularization term.
  • Introduce a conditional variant of PM RLHF that filters out low-probability responses from a reference model to maintain naturalness in generated text.
  • Integrate the PM regularizer into the RLHF objective to balance reward maximization and faithful representation of the reward model’s preference distribution.
  • Use the generalized Plackett-Luce model to formalize preference distributions and ensure theoretical guarantees of alignment.
  • Implement the method on OPT-1.3B and Llama-2-7B models, comparing performance against standard KL-based RLHF.

Experimental results

Research questions

  • RQ1Does KL-based regularization in standard RLHF induce algorithmic bias that leads to preference collapse, especially for minority preferences?
  • RQ2Can a regularization method be designed to provably align LLMs with the full preference distribution of the reward model, not just the mode?
  • RQ3How can response diversity be preserved without sacrificing reward maximization in RLHF-based alignment?
  • RQ4Can a conditional variant of PM RLHF maintain natural language fluency while improving preference alignment?
  • RQ5To what extent does PM RLHF outperform standard RLHF in aligning LLMs with human preferences across different preference distributions?

Key findings

  • Conditional PM RLHF achieved a 29–41% improvement in alignment with human preferences compared to standard RLHF on the OPT-1.3B model, as measured by preference divergence metrics.
  • The PM regularizer effectively reduced preference collapse, with PM divergence decreasing from 1.1555 (KL RLHF) to 0.6839 (α=0.5) under β=0.1.
  • Even under high preference diversity (β=1.0), PM RLHF maintained lower PM divergence (0.8865 at α=0.5) compared to KL RLHF (1.1737).
  • The method improved response diversity, as evidenced by higher entropy and longer average response lengths in PM RLHF settings.
  • The conditional PM RLHF variant successfully balanced naturalness and alignment, avoiding the unnatural outputs common in standard PM RLHF.
  • Theoretical analysis confirms that the PM regularizer ensures the LLM policy matches the preference distribution of the reward model under the PL model.

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.