CARMO: Dynamic Criteria Generation for Context-Aware Reward Modelling

Taneesh Gupta, Shivam Shandilya, Xuchao Zhang, Rahul Madhavan, Supriyo Ghosh, Chetan Bansal, Huaxiu Yao, Saravan Rajmohan

TL;DR

CARMO (Context-Aware Reward Modeling) introduces a dynamic framework that generates task-specific evaluation criteria tailored to individual user queries, successfully mitigating the pervasive issue of "reward hacking" in LLMs. By grounding reward models in query-specific rubrics rather than static, one-size-fits-all metrics, CARMO achieves state-of-the-art alignment performance and can be distilled into smaller, cost-effective open-source models.

What Problem Does This Paper Address?

Reinforcement Learning from Human Feedback (RLHF) is essential for aligning LLMs with human preferences. However, standard reward models are highly susceptible to reward hacking—a phenomenon where an LLM learns to exploit flaws in the reward function by optimizing for superficial features (like overusing bulleted lists or generating unnecessarily long answers) rather than producing genuinely high-quality content.

This issue stems from relying on static or coarse-grained evaluation rubrics. For instance, a rubric optimized for factual consistency in question-answering might penalize the creative fluidity required for open-ended storytelling. The authors address this lack of adaptability by proposing a method that dynamically shifts the evaluation criteria based on the context of the user's prompt.

Methods

The core innovation of CARMO is its two-stage pipeline:

  1. Dynamic Criteria Generation: When a user prompt is received, a powerful LLM autonomously generates a set of customized evaluation criteria (e.g., logical flow, depth of explanation, conciseness) specific to that query.
  2. Response Evaluation: The candidate responses are then scored strictly against these dynamically generated criteria.

The authors explore two prompting configurations for this pipeline:

  • Single-Pass: Criteria generation, feedback, and scoring happen within a single LLM call.
  • Two-Pass: Criteria generation is completely separated from the feedback and scoring steps. This approach ensures that when comparing multiple responses to the same prompt, they are evaluated against a stable, uniform set of criteria.
Figure 1: Our paper improves scoring for (Q,A) pairs from generative models via dynamic criteria generation. Naive methods either directly ask for response score, or use a fixed external criteria. We propose two variants – Carmo single-pass method with dynamic criteria gener- ation, and Carmo two-pass method separating criteria generation from feedback and scoring.

To make this approach practical for real-world deployment, the authors introduce a Knowledge Distillation (KD) pipeline. They fine-tune smaller open-source models (like LLaMA-2-7B and 13B) into two specialized components: FT-Criteria (to generate the rubrics) and FT-Judge (to execute the scoring), mimicking the performance of proprietary models at a fraction of the computational cost.

Figure 2: Training pipeline for fine-tuning small models for criteria generation as well as query feedback and scoring.

Datasets

The authors utilized several prominent datasets for training, distillation, and evaluation:

  • Training & Distillation: The Feedback Collection Dataset (1K human-labeled and automatic rubrics) was used to train the distilled models, and UltraFeedback was leveraged to generate preference datasets for alignment fine-tuning.
  • Evaluation Benchmarks: To test evaluation accuracy, the authors used RewardBench, HHH Alignment, AlpacaEval (1 & 2), MT-Bench, Vicuna Bench, and Flask Eval.

Key Insights and Ideas

  • The Perils of Static Rubrics: The paper provides rigorous mathematical proofs showing that any fixed, finite set of criteria will eventually fail under distribution shifts. There will always be a valid "true reward" function that lies completely outside the span of a static rubric, leading to a correlation of zero with actual quality.
  • Explicitness Defeats Hacking: Forcing the reward model to explicitly state its evaluation axes before scoring prevents it from latching onto hidden, spurious shortcuts.
  • Two-Pass Over Single-Pass: Separating criteria generation from scoring yields superior reliability. In single-pass setups, the criteria can shift slightly between evaluating Response A and Response B, introducing unwanted evaluation bias.

Key Results

CARMO achieved substantial improvements across multiple standard benchmarks:

  • RewardBench: Achieved a new state-of-the-art zero-shot performance, marking a 2.1% improvement over baseline methods.
  • Model Alignment: When a Mistral-Base (7B) model underwent preference optimization (via SWEPO) on a CARMO-curated dataset, it achieved a 22.5% Length-Controlled Win Rate (LC-WR) and a 21.1% Win Rate (WR) on AlpacaEval 2, significantly outperforming models trained on the standard UltraFeedback dataset.
  • Evaluator Accuracy: CARMO consistently outperformed both standard LLM-as-a-Judge baselines and specialized evaluators like Prometheus across GPT-3.5, GPT-4, and GPT-4o backbones.
Accuracy comparison of evaluator language models across different benchmarks.

Limitations and Future Work

Despite its strong performance, CARMO has a few notable limitations:

  • Sampling Variability: Because criteria generation relies on probabilistic sampling, the exact criteria produced can vary between runs, posing a challenge for applications requiring strict determinism.
  • High Computational Cost: Generating detailed, multi-factor criteria alongside natural language feedback results in high token counts, increasing both latency and API costs during inference.

Future work will likely focus on optimizing token efficiency and exploring methods to make the dynamic criteria generation process more deterministic without sacrificing its adaptive nature.

Summary updated

BibTeX
@misc{gupta2024carmo,
  author = {Taneesh Gupta and Shivam Shandilya and Xuchao Zhang and Rahul Madhavan and Supriyo Ghosh and Chetan Bansal and Huaxiu Yao and Saravan Rajmohan},
  title = {{CARMO: Dynamic Criteria Generation for Context-Aware Reward Modelling}},
  year = {2024},
  eprint = {2410.21545},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2410.21545},
}
Figure