ComPO: Community Preferences for Language Model Personalization

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

This paper introduces COMPO (Community Preference Optimization), a framework for personalizing Large Language Models (LLMs) by aligning them with the specific values and norms of different online communities rather than a single, hypothetical "average" user.

Introduction

Most current LLMs are aligned using techniques like Reinforcement Learning from Human Feedback (RLHF) or Direct Preference Optimization (DPO) that aggregate feedback into a single reward signal. This approach assumes an "average" user exists, which effectively "averages out" diverse styles, cultural norms, and subjective values. For example, a user in r/science might prefer a technical, cited response, while a user in r/explainlikeimfive wants simplicity. Aggregating their feedback results in a model that is neither technical enough for the expert nor simple enough for the novice. This "alignment to the mean" ignores the inherent subjectivity of human preferences and can lead to models that feel generic or even biased against minority viewpoints.

Comparison between standard Preference Optimization and Community Preference Optimization (ComPO) using an immigration policy example.

Methodology: Community Preference Optimization

The authors propose COMPO, which draws inspiration from recommendation systems to model the provider of the preference directly. Instead of modeling the probability of an output $y$ given an input $x$ as $p(y|x)$, they model it as $p(y|x, \text{community})$.

In practice, this is implemented by prepending a community identifier (e.g., [r/askscience]) to the input prompt during both Supervised Fine-Tuning (SFT) and Direct Preference Optimization (DPO). The training pipeline follows two stages:

  1. SFT-C: Fine-tuning the base model (Llama-2 7B) on preferred community responses.
  2. DPO-C: Optimizing the model using pairs of (preferred, dispreferred) responses, always conditioned on the community tag.

The COMPRED Dataset

To support this framework, the authors introduce COMPRED (Community Preferences from Reddit), a large-scale dataset designed to capture diverging preferences. It contains over 1 million preference pairs across 187 subreddits, categorized into five themes: Science, Finance, History, Politics, and Gender/Sexuality.

Unlike previous datasets like SHP (Stanford Human Preference), which focus on general "helpfulness," COMPRED specifically targets subreddits where values and norms are likely to clash (e.g., r/askliberal vs. r/conservative). The authors use upvotes as a proxy for preference, employing a heuristic to avoid recency bias: a comment is only considered "preferred" if it was posted later than another comment but still received more upvotes.

Key Results and Evaluation

One of the most striking findings is the "Wrong Context" penalty: conditioning a model on the wrong community identifier significantly diminishes performance. This suggests the model is actually learning specific community mappings rather than just general reasoning improvements.

In head-to-head battles judged by GPT-4, COMPO-tuned models consistently outperformed standard DPO models, with win rates reaching ~60% in Politics and ~64% in History. These results were corroborated by human evaluations.

Human-annotated preference labels comparing ComPO to standard DPO across various subreddits, showing a consistent preference for ComPO-generated responses.

As shown in the human evaluation results, COMPO-generated responses were preferred 46.5% of the time, compared to 37.1% for the standard DPO baseline. Qualitatively, COMPO models shifted their tone to match the community—for example, providing more academic citations for r/AskHistorians or adopting specific political framing for partisan subreddits.

Discussion and Limitations

While COMPO demonstrates significant gains in personalization, several challenges remain. The findings are tied to Reddit's unique culture and upvoting dynamics, which may not translate perfectly to other platforms. Furthermore, the model assumes each subreddit is a monolith, potentially ignoring internal disagreements or "silent majorities."

There is also a broader ethical consideration: personalizing to specific communities could inadvertently reinforce stereotypes or create "echo chamber" effects in AI assistants. Future work is needed to explore how these community-level signals scale with larger models and how to balance personalization with the mitigation of harmful biases.

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