JC
All projects

Context-Sensitive RLHF for Moral Value Alignment

Fall 2026 · In progress

Adding an RL stage to a published moral value alignment system, with a counterfactual-profile reward that pays the aggregator for shifting its answer's moral emphasis when the user's values change. In progress.

RLHFGRPOLoRAReward DesignAlignment
RL fine-tuning of the only component that sees the user's profile
GRPORL fine-tuning of the only component that sees the user's profile
moral-value reward classifiers: care, fairness, loyalty, authority, sanctity
5moral-value reward classifiers: care, fairness, loyalty, authority, sanctity
each answer compared against one under a counterfactual profile
c vs. c′each answer compared against one under a counterfactual profile

Status: design complete and work underway (October 2026). Results are expected in December. Outcome and Results below describe what the study is designed to deliver, and this page will be updated with findings.

Problem

People weigh moral values differently, and an AI assistant that serves many people should reflect each user's priorities rather than one averaged view. A published IBM Research system (Dognin et al., 2024) is built for this: five specialist models each argue for one value (care, fairness, loyalty, authority, sanctity), and an aggregator combines their answers according to the user's moral profile.

The gap is that the aggregator, the only component that sees the user's profile, is never trained to respond to it. It learns to imitate reference answers, and its evaluation measures word overlap, not whether the answer actually follows the user's values. Worse, the system's own objective rewards a vague "consider all perspectives" answer that scores well for every user, which is the opposite of personalization.

Solution

I'm adding a reinforcement-learning stage that trains the aggregator directly on personalization:

  • A counterfactual reward. The model answers the same question for the real user and for a deliberately different user profile, and it's rewarded when its answer shifts toward each user's values. An answer that ignores the profile earns nothing extra, and one that shifts the wrong way is penalized.
  • Guardrails against gaming the reward: a penalty for drifting too far from the original model, and a separate evaluation classifier that is never used in training
  • A fair comparison: the supervised baseline and the RL model trained under identical conditions on the Moral Integrity Corpus

Outcome (expected)

A clear answer to whether an assistant can be trained to genuinely adapt to each user's values, and what that costs in answer quality. That's evidence for anyone deciding whether personalized alignment is worth building into a product.

Results (expected)

  • Profile-swap sensitivity: how much answers change when the user's values change, and whether they move in the right direction
  • Profile-weighted alignment, the original paper's own objective
  • ROUGE, for comparison with the paper, along with an analysis of any trade-off
  • Error analysis of where personalization works, where it fails, and where the model games its reward
Technical details

The original system (CMVA-GS)

  • Five moral agents, each an LLM fine-tuned with RL (PPO) to argue for a single value
  • Five reward classifiers, one per value, scoring how well a response respects that value
  • An aggregator that takes the question, the five agents' answers and the user's moral profile c (a five-value weight vector), and writes one final answer

The paper's objective is to maximize rᵀc, the classifier scores weighted by the user's profile. Simply running RL on rᵀc wouldn't fix the gap, because a vague answer that scores well on all five values maximizes rᵀc for every profile.

Research question: Does RL fine-tuning the aggregator with a counterfactual-profile reward make its responses follow the user's profile more closely than the supervised aggregator, and at what cost to ROUGE?

The reward

R = r(y_c)ᵀc + λ · (r(y_c) − r(y_c′))ᵀ(c − c′) − β · KL(π ‖ π_SFT)

  • The first term keeps the answer aligned with the user's real profile overall.
  • The second term is the context-sensitivity term. It pays the model when its value scores shift in the same direction as the profile. If both answers have the same value emphasis, it contributes zero. If the shift goes the wrong way, it's negative.
  • The KL term keeps the policy close to the supervised model and limits reward hacking.

Because the reward classifiers score every response the same way regardless of profile, any change in scores between c and c′ can be attributed to the aggregator. The paired generations also fit naturally into GRPO, where each sample group can include answers under both profiles.

Sampling the counterfactual profile

  • The real MIC profile is kept for the main sample. Only c′ is synthetic.
  • c′ uses the same format as real profiles and is drawn from combinations that actually occur in the data.
  • c′ must be clearly different from c, with at least two values changed.
  • Both profiles are normalized to sum to 1, so a response that improves all five values equally earns nothing from the sensitivity term.
  • c′ is sampled only from values where the five agents' answers actually differ on that question.

Plan

  1. Baseline. Supervised fine-tuning of a small-scale aggregator (~1.5B parameters, with LoRA) on the Moral Integrity Corpus, replicating the paper's setup.
  2. RL. Fine-tune that checkpoint with GRPO and the reward above.
  3. Compare the two models trained under identical conditions, rather than against the paper's 12B numbers.

Evaluation

  • ROUGE-1/2/L/Lsum, for comparison with the paper
  • Profile-weighted score rᵀc
  • Profile-swap sensitivity, which asks the same question under c and c′ and measures how much the output changes and whether its scores move toward c′
  • A held-out evaluation classifier that is never used as a reward
  • Error analysis

An open question

Should an answer that satisfies all five values be penalized? Where the values don't conflict, it's arguably the right answer. One option is to apply the sensitivity term only to questions where the moral agents disagree.

Next projectTiCK Heatmap →