ComPO: Community Preferences for Language Model Personalization

Sachin Kumar, Chan Young Park, Yulia Tsvetkov, Noah A. Smith, Hannaneh Hajishirzi

Abstract

Standard alignment techniques like Reinforcement Learning from Human Feedback (RLHF) and Direct Preference Optimization (DPO) typically aim to satisfy a hypothetical "average" user. This approach assumes human preferences are monolithic, often resulting in "generic" models that fail to capture the nuanced styles and values of specific social, professional, or cultural groups. We introduce Community Preference Optimization (COMPO), a framework that personalizes Large Language Models (LLMs) by conditioning them on community identities. Using COMPRED, a new dataset of over 1 million Reddit preference pairs, we demonstrate that COMPO significantly improves model alignment with community-specific norms. Our results show that models tailored to specific subreddits outperform generic baselines in both automated and human evaluations.

Introduction: The Problem with the "Average User"

Current alignment paradigms often aggregate diverse and contradictory viewpoints into a single training signal. When a model is trained on preferences from a wide array of users, it tends to "average out" responses. While this creates a safe, middle-of-the-road assistant, it often fails to satisfy any specific group well. For instance, a response preferred by a technical academic community might be perceived as pedantic by a general interest group, while a concise answer favored by one group might seem dismissive to another.

The authors of COMPO argue that instead of seeking a one-size-fits-all solution, we should model the provider of the preference directly. By acknowledging that preferences are deeply subjective, we can move toward models that are capable of code-switching between different community contexts.

The COMPO Framework

The core innovation of COMPO is the shift from modeling a simple conditional probability $p(y | x)$ to a community-aware distribution $p(y | x, \text{community})$. This is implemented by prepending a community identifier (e.g., "r/science") to the input prompt during training and inference.

Figure 2: Comparison between standard Preference Optimization, which "nulls out" conflicting preferences, and Community Preference Optimization, which uses community context to resolve ambiguity.

The training process involves two key stages:

  1. Contextual Supervised Fine-Tuning (SFT-C): The model is first trained on triples consisting of the community context, the prompt, and the preferred response.
  2. Community Preference Optimization (DPO): The model is then optimized using preference pairs where the loss function is explicitly conditioned on the community context. This stage is crucial for "nudging" the model toward the specific stylistic and value-based nuances of the target community.

COMPRED: A Large-Scale Dataset for Personalization

To facilitate this research, the authors released COMPRED (Community Preferences from Reddit). This dataset leverages Reddit's structure to study preference diversity at scale without the privacy concerns associated with individual-level tracking.

  • Scale and Scope: The dataset contains over 1.3 million preference pairs spanning 187 subreddits across five domains: Science, Finance, History, Politics, and Gender/Sexuality.
  • Preference Heuristic: Following the "Stanford Human Preferences" (SHP) methodology, Reddit upvotes serve as a proxy for community preference. To mitigate recency bias, a comment is only labeled as "preferred" if it was posted later than a competing comment but still achieved a higher upvote count.

Key Results and Insights

The effectiveness of COMPO was evaluated using GPT-4 as a judge and through human annotation by active Reddit users.

Performance Gains

Across all tested domains, COMPO consistently outperformed the non-contextualized DPO baseline. The most significant improvements were observed in highly subjective domains like Politics and History. Human annotators favored COMPO's responses in 46.5% of cases, compared to 37.1% for the standard DPO model.

Figure 4: Human-annotated preference labels showing COMPO's win rates against standard DPO across various subreddits.

When Does Personalization Matter?

A key finding is the "Redundancy of Predictability." In technical domains where the community can be easily inferred from the prompt (e.g., a physics question), adding explicit context provides marginal gains. However, in ambiguous or highly subjective scenarios—where the "correct" answer depends entirely on the audience's values—COMPO's community conditioning becomes a powerful tool for alignment.

Discussion and Limitations

While COMPO represents a significant step toward personalized AI, it introduces new challenges. There is an inherent risk that models perfectly aligned with community preferences could reinforce echo chambers or amplify group-specific biases. Furthermore, the current implementation requires the community context to be known upfront. Future research should explore dynamic persona inference, allowing models to adapt to a user's community norms through natural dialogue.

Despite these challenges, COMPO demonstrates that moving beyond the "average user" is not only possible but essential for creating AI that truly understands the diversity of human values.

Summary updated

BibTeX
@inproceedings{kumar2025compo,
  author = {Sachin Kumar and Chan Young Park and Yulia Tsvetkov and Noah A. Smith and Hannaneh Hajishirzi},
  title = {{ComPO: Community Preferences for Language Model Personalization}},
  booktitle = {Conference of the North American Chapter of the Association for Computational Linguistics},
  year = {2025},
  doi = {10.18653/v1/2025.naacl-long.419},
}
Figure