CoPL: Collaborative Preference Learning for Personalizing LLMs

Youngbin Choi, Seunghyuk Cho, Minjong Lee, MoonJeong Park, Yesong Ko, Jungseul Ok, Dongwoo Kim

TL;DR

Personalizing Large Language Models (LLMs) to individual user preferences is crucial but challenging, especially with limited data. This paper introduces CoPL, a novel framework that uses graph-based collaborative filtering to model user-response relationships, enabling more accurate preference learning even with sparse annotations. CoPL also incorporates a Mixture of LoRA Experts (MoLE) for efficient LLM personalization and an optimization-free method to adapt to new users.

What Problem Does This Paper Address?

Large Language Models (LLMs) are increasingly used across various applications, but their outputs often need to align with diverse user preferences. Existing methods for personalizing LLMs, particularly those based on the Bradley-Terry-Luce (BTL) framework, struggle with flexibility and generalization. A key challenge is learning these preferences from sparse user annotations. When data is scarce, methods that rely on user-specific latent variables can fail to converge or generalize well, especially for users with similar underlying preferences but disjoint annotation sets. Furthermore, existing approaches often assume a single, uniform preference or require pre-defined preference clusters, limiting their adaptability. This paper aims to address these limitations by developing a method that can effectively learn and adapt to diverse user preferences, even with limited and sparse data.

Methods

CoPL tackles the personalization problem in three main steps:

  1. User Representation Learning: CoPL constructs a user-response bipartite graph from pairwise preference annotations. It then employs a graph-based collaborative filtering (GCF) framework, specifically a message-passing algorithm, to learn user and response embeddings. This allows preference signals to propagate through multi-hop relationships, enabling the alignment of users with even disjoint annotation sets.
  2. Personalized Reward Model: Based on the learned user embeddings, CoPL builds a personalized reward model using an LLM. To achieve parameter-efficient fine-tuning and handle diverse preferences, it integrates a Mixture of LoRA Experts (MoLE). A user-dependent gating mechanism dynamically selects experts based on the user's embedding, allowing the LLM to predict a personalized preference score.
  3. Optimization-Free User Adaptation: For unseen users (those not present during training), CoPL proposes an adaptation strategy that avoids fine-tuning. By leveraging the existing graph structure, it finds users with similar preferences and aggregates their embeddings to represent the unseen user. This allows for preference estimation without requiring extensive retraining.

Datasets

The paper evaluates CoPL on three datasets designed to capture diverse user preferences:

  • TL;DR: Reddit posts with concise summaries, used to simulate two preference groups (short vs. long summaries).
  • Ultrafeedback-P (UF-P): Based on the Ultrafeedback dataset, this benchmark provides response pairs rated on multiple attributes (helpfulness, honesty, instruction following, truthfulness). The paper uses UF-P-2 (two attributes) and UF-P-4 (four attributes).
  • PersonalLLM: This dataset is built from open-ended prompts and uses multiple reward models to simulate diverse preference dimensions.

Key Insights and Ideas

  • Graph-based collaborative filtering for preference learning: The core idea is that by modeling user-response relationships as a graph, CoPL can leverage multi-hop connections to infer preferences, even when direct annotations are sparse. This is a significant departure from methods that treat users in isolation.
  • MoLE for efficient and personalized LLM adaptation: Combining LoRA experts with a gating mechanism allows CoPL to efficiently fine-tune LLMs while dynamically adapting to individual user preferences, avoiding the computational burden of full LLM fine-tuning.
  • Optimization-free adaptation for unseen users: The ability to adapt to new users without retraining is a crucial practical advantage, enabling CoPL to scale to dynamic user bases. This is achieved by cleverly using existing user embeddings and graph structure.
  • Capturing controversial preferences: CoPL demonstrates a strong ability to capture not only common preferences but also more nuanced or controversial ones, which is a key challenge for existing methods.

Key Results

  • Superior performance: CoPL consistently outperforms existing personalized reward models on all tested datasets (TL;DR, UF-P-2, UF-P-4, PersonalLLM) for both seen and unseen users.
  • High accuracy for unseen users: CoPL achieves accuracy comparable to the seen user setting for unseen users, even with a limited number of provided annotations.
  • Effective clustering of user embeddings: Visualizations show that CoPL effectively clusters users with similar preferences, unlike baseline methods that fail to do so.
  • Robustness to imbalance: CoPL maintains robust performance and user embedding clustering even under imbalanced group distributions.
  • Ablation studies confirm contributions: Experiments show that both the GNN-based user embeddings and the MoLE architecture significantly contribute to CoPL's performance.

Limitations and Future Work

  • GNN architecture exploration: The authors suggest exploring other GNN architectures that could further reduce sample complexity.
  • Load balancing for MoLE: While MoLE is used, a load-balancing loss was not applied, leading to some experts remaining inactive. Future work could incorporate this to improve expert utilization.
  • Handling extreme sparsity: CoPL still relies on some annotation overlap. Future work could explore constructing user-response graphs using semantic similarity from sentence embeddings to handle settings with minimal overlap.
  • Informativeness of annotations: The adaptation strategy's effectiveness depends on the informativeness of new user annotations. Integrating active learning to select informative pairs could mitigate this.
  • Majority bias under imbalance: While CoPL captures diverse preferences, it can still favor majority groups under severe imbalance. Exploring loss reweighting techniques like focal loss is suggested to address this.
  • Scalability to larger LLMs: While CoPL shows scalability with larger LLMs (gemma-2-27B-it), further experiments with even larger models are deferred due to current setup constraints.

Summary updated

BibTeX
@inproceedings{choi2025copl,
  author = {Youngbin Choi and Seunghyuk Cho and Minjong Lee and MoonJeong Park and Yesong Ko and Jungseul Ok and Dongwoo Kim},
  title = {{CoPL: Collaborative Preference Learning for Personalizing LLMs}},
  booktitle = {Bi-Align @ ICLR},
  year = {2025},
  url = {https://openreview.net/forum?id=YsyMLyrLDS},
}
Figure