NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Compositional Preference Models for Aligning LMs

Dongyoung Go, Tomasz Korbak, Germán Kruszewski, Jos Rozen, Marc Dymetman

Aligning Large Language Models (LMs) with human values typically relies on Reinforcement Learning from Human Feedback (RLHF). At the heart of this process is a Preference Model (PM)—a "judge" trained to predict which of two responses a human would prefer.

However, standard PMs are often black boxes. They are prone to "reward hacking" (or Goodhart’s Law), where the LM learns to exploit quirks in the PM to get a high score without actually improving in quality. In a new paper, researchers propose a more transparent alternative: Compositional Preference Models (CPMs).

The Problem with Standard Preference Models

The dominant paradigm for training PMs involves fine-tuning a large model on a massive dataset of human comparisons. While effective, this approach has three major flaws:

  1. Lack of Transparency: It is nearly impossible to tell why a standard PM prefers one response over another.
  2. Overfitting and Reward Hacking: PMs often pick up on spurious correlations (e.g., preferring longer responses regardless of quality). When an LM is optimized against such a PM, it learns to "hack" these flaws.
  3. Scalability of Oversight: As LMs become more capable, it becomes harder for humans to provide high-quality feedback on complex tasks.

The Compositional Approach

To address these issues, the authors introduce the Compositional Preference Model (CPM), which moves away from end-to-end training in favor of a modular, interpretable pipeline:

  1. Decomposition: Global preference is broken down into distinct, human-interpretable features (e.g., helpfulness, specificity, factuality, readability).
  2. Feature Extraction: A prompted LM (like GPT-3.5 or Flan-T5) acts as a "zero-shot" scorer. It is given a response and asked to rate a specific feature on a scale of 1 to 10.
  3. Aggregation: These individual feature scores are combined using a simple logistic regression classifier. This classifier is trained on human preference data to learn the optimal weights for each feature.
The CPM architecture (top) decomposes preference into interpretable sub-questions, unlike the black-box standard PM (bottom).

By using a linear combination of features, the model's decision-making process becomes an open book: developers can see exactly how much weight the model gives to factuality versus readability.

Key Insights and Results

The researchers evaluated their approach on two major human preference datasets: Anthropic's HH-RLHF and Stanford Human Preferences (SHP).

  • Inductive Bias as a Shield: By forcing the model to operate on pre-defined features, the authors impose a useful inductive bias. This prevents the model from learning the non-human correlations that lead to reward hacking.
  • Superior Performance: In simulated win-rate evaluations, responses selected by CPM-GPT-3.5 were preferred over those from standard PMs. On the HH-RLHF dataset, the CPM achieved a win rate of 0.810, compared to 0.588 for the standard PM.
  • Robustness to Overoptimization: A common failure mode in RLHF is that as you sample more candidates (Best-of-$n$), the proxy reward keeps going up while the true quality eventually drops. CPMs stay much closer to the "gold" reference models than standard PMs do during this optimization process.
Overoptimization experiment: CPMs (dashed blue/teal lines) track much closer to the gold Reference PM than the standard PM (dashed green line) as the number of Best-of-n responses increases.
  • Data Efficiency and Consistency: CPMs achieve stable performance with as few as 500 training examples. Furthermore, when training two separate models on different subsets of data, CPM scores remain highly correlated, whereas standard PMs tend to diverge significantly.

Limitations and Future Work

While promising, the authors note several areas for improvement. The current model relies on a manually curated list of features, suggesting that future work could involve LMs discovering the relevant features automatically. Additionally, the current features are geared toward general helpfulness; different tasks (like creative writing vs. code generation) might require entirely different feature sets.

Overall, CPMs offer a compelling path toward more steerable and understandable AI alignment, proving that breaking a complex problem into simple, interpretable pieces can be more effective than building a bigger black box.

Summary updated

BibTeX
@inproceedings{go2024compositional,
  author = {Dongyoung Go and Tomasz Korbak and Germán Kruszewski and Jos Rozen and Marc Dymetman},
  title = {{Compositional Preference Models for Aligning LMs}},
  booktitle = {International Conference on Learning Representations},
  year = {2024},
  url = {https://openreview.net/forum?id=tiiAzqi6Ol},
}
Figure