Introduction
Standard Reinforcement Learning from Human Feedback (RLHF) typically operates under a "Preference Uniformity Assumption," treating all human feedback as if it originates from a single, consistent source. This approach fails to account for the diverse and often conflicting tastes of individual users. For instance, while one user might prefer a technical, concise summary, another might favor a long-form, conversational explanation. A standard RLHF model often "averages" these preferences, resulting in outputs that satisfy neither user perfectly.
To address this, we introduce Personalized-RLHF (P-RLHF), a framework that leverages a lightweight, learnable user model to capture individual preferences. By integrating both explicit and implicit user signals, P-RLHF allows a single Large Language Model (LLM) to effectively serve thousands of unique users without the prohibitive cost of training separate models for each.
Methodology: The P-RLHF Framework
The core of P-RLHF is the augmentation of a base LLM with a specialized User Model. This model generates a "user embedding"—a soft prompt prepended to the input—that guides the LLM's generation toward specific user preferences.
User Embedding Strategies
The framework utilizes two primary methods for capturing user identity:
- Explicit User Model: This component processes textual descriptions provided by the user, such as "I am a high school student who prefers simple language."
- Implicit User Model: This model learns latent preferences directly from historical feedback, such as rankings or pairwise comparisons, allowing the system to "read between the lines" even when preferences are not explicitly stated.
Scalability and Optimization
To ensure the system scales to millions of users, the authors propose a Cluster-based approach. Instead of storing unique parameters for every user, individuals are represented as weighted combinations of $K$ latent preference clusters. This significantly reduces memory overhead while maintaining high personalization accuracy.
The model is trained using Personalized Direct Preference Optimization (P-DPO). This objective jointly optimizes the user model and the LLM. A key feature of P-DPO is the inclusion of a "user-agnostic" term, which ensures the model remains functional for new users by falling back on a generic preference embedding.
Evaluation and Datasets
The effectiveness of P-RLHF was evaluated across three diverse settings:
- Modified Reddit TL;DR: A synthetic task designed to test conflict resolution. 70% of users preferred long summaries, while 30% preferred zero-length summaries.
- P-SOUPS: A dataset focusing on multi-dimensional feedback (expertise, style, informativeness).
- PRISM: A large-scale real-world dataset involving 1,500 users from 75 countries, providing sociodemographic data and fine-grained conversation feedback.
Key Insights
- Breaking the Majority Vote: Vanilla RLHF/DPO tends to follow the majority preference. P-RLHF mathematically overcomes this "Majority Voting Trap," allowing the model to adapt its behavior based on the specific user embedding.
- Inferring the Unspoken: P-RLHF excels at capturing implicit preferences. By analyzing how users rank different options, the model builds a nuanced profile that often surpasses what a user can explicitly articulate in a prompt.
- Efficiency: The low-rank cluster-based approximation makes P-RLHF practical for production, requiring only a small weight vector per user rather than a full model.
Results
- Conflict Resolution: In the synthetic TL;DR task, P-RLHF successfully provided zero-length responses to the minority group while maintaining long summaries for the majority. Vanilla DPO failed, defaulting to long summaries for everyone.
- Win-Rates: On the P-SOUPS dataset, P-DPO achieved a ~90% win-rate against non-personalized baselines.
- Real-World Performance: On the PRISM dataset, P-DPO outperformed vanilla DPO by over 20% in per-user win-rates, even surpassing the "chosen" responses in the original dataset.
Conclusion and Future Work
P-RLHF represents a significant step toward truly personalized AI. While highly effective, future research will focus on addressing the "cold start" problem for new users, modeling preferences that evolve over time, and exploring more advanced parameter-efficient fine-tuning (PEFT) methods like LoRA adapters for individual user profiles.
Summary updated