Personalizing Reinforcement Learning from Human Feedback with Variational Preference Learning

Sriyash Poddar, Yanming Wan, Hamish Ivison, Abhishek Gupta, Natasha Jaques

Abstract

Standard Reinforcement Learning from Human Feedback (RLHF) often relies on the Bradley-Terry-Luce (BTL) model, which assumes a single "true" reward function. This approach fails to account for diverse human preferences, often resulting in "mode-averaged" behaviors that ignore minority viewpoints. We present Variational Preference Learning (VPL), a framework that treats user preferences as latent variables. By inferring a user's specific preference profile from a few context queries, VPL enables personalized reward modeling and policy adaptation. Our results across robotics and language tasks demonstrate that VPL significantly outperforms standard RLHF in pluralistic alignment.

Introduction: The Problem of Monolithic Alignment

In AI alignment, "human values" are frequently treated as a monolithic set of rules. However, human preferences are inherently diverse. For instance, one user might prefer a robot to organize a kitchen by object function, while another prefers organization by material. Standard RLHF pipelines typically employ the Bradley-Terry-Luce (BTL) model, which assumes a single underlying reward function. When faced with diverging feedback, these models treat disagreements as noise, leading to "mode-averaged" behavior that satisfies no one and effectively erases minority preferences.

Conceptual comparison between standard BTL reward models and the proposed VPL framework.

To address this "pluralistic alignment" problem, we introduce Variational Preference Learning (VPL). VPL recognizes that AI systems must interact with different types of users and adjust their behavior to match individual values rather than a population average.

The Variational Preference Learning Framework

The core innovation of VPL is the transition from learning a single reward function $r(s)$ to a conditional reward function $r(s, z)$, where $z$ is a latent variable representing a user's specific preference profile.

The VPL architecture for inferring latent preferences and learning conditional rewards.

The framework consists of two primary components:

  1. Variational Encoder ($q_\psi$): This component processes a small set of "context" queries—pairs of responses previously ranked by the user—and maps them to a distribution in a latent space. This allows the system to infer the user's "type" from minimal interaction.
  2. Latent-Conditional Reward Model: This model predicts rewards based on both the environment state and the inferred latent variable $z$.

A significant technical challenge in multi-user RL is reward scaling; if one user's rewards are scaled differently than another's, the agent may unfairly prioritize certain groups. VPL addresses this via VPL-SPO, which utilizes preference probabilities (bounded between 0 and 1) as the reward signal, ensuring equitable treatment across diverse user profiles.

Experimental Evaluation

VPL was evaluated across two distinct domains:

  • Simulated Control (Robotics): Tasks included Maze-Navigation (divergent color goals), Ravens-Manipulation (variable placement spots), and Habitat-Tidy (sorting by material vs. function).
  • Large Language Models (LLMs): Experiments utilized "Pets," a synthetic dataset with conflicting animal rankings, and "UltraFeedback-P," a personalized version of the UltraFeedback dataset where simulated users prioritize either helpfulness or honesty.

Key Results and Discussion

VPL demonstrated substantial improvements over standard baselines:

  • Accuracy and Performance: On the "Pets" dataset, VPL achieved 100% prediction accuracy compared to 63% for the BTL baseline. In the UltraFeedback-P tasks, VPL outperformed standard RLHF by 10-25%.
  • Pluralistic Alignment: In robotics tasks with multiple possible goals, VPL successfully steered policies toward user-specific objectives, whereas standard models often collapsed to a single majority goal.
  • Active Learning Efficiency: By leveraging its probabilistic nature to measure uncertainty, VPL can actively select queries to identify a user's type, reaching peak performance with half the queries required by random selection.
  • Latent Discovery: Visualization of the latent space via T-SNE confirmed that the encoder naturally clusters users with similar values without explicit demographic labels.

Conclusion and Future Work

Variational Preference Learning represents a major step toward AI assistants that understand individual nuances. While current evaluations rely on synthetic diversity and assume static preferences, VPL provides a robust foundation for future systems that can adapt to shifting user contexts and real-world human diversity.

Summary updated

BibTeX
@inproceedings{poddar2024personalizing,
  author = {Sriyash Poddar and Yanming Wan and Hamish Ivison and Abhishek Gupta and Natasha Jaques},
  title = {{Personalizing Reinforcement Learning from Human Feedback with Variational Preference Learning}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2024},
  url = {https://openreview.net/forum?id=gRG6SzbW9p},
}
Figure