Evaluation and Safety Audits

Goodhart's Law says that when a measure becomes a target, it ceases to be a good measure. In RLHF, the reward model is the measure and policy optimization turns it into the target. That can create sycophancy, deception incentives, reward hacking, blandness, or excessive refusal under naive preference signals.

KL control

During RLHF, the reward model gives the optimizer a direction: make outputs that score higher. But if the policy chases that reward too aggressively, it can drift away from the supervised fine-tuned model that already behaved reasonably. KL control adds a penalty for moving too far from a reference policy, usually the SFT model.

The coefficient λ\lambda controls the strength of that penalty. A larger λ\lambda keeps the policy closer to the reference; a smaller λ\lambda gives the reward model more room to reshape behavior.

KL control

How far should the policy move?

The reward model pulls the policy toward high-scoring outputs. KL to a reference policy limits how far optimization can drift.

KL-regularized objective

J(φ)=Ex,y~πφ[r̂θ(x,y)-λDKL(πφ(· | x)||πref(· | x))]

The learned reward pushes outputs up; the KL penalty subtracts value when the new policy moves too far from the reference policy. Larger λ means a tighter leash.

RM score

82%

KL drift

18%

human win-rate

81%

Usually the best first setting.
A rising reward-model score with falling human win-rate is a classic sign that the policy has learned the proxy too well.
✦

Regularization and safety levers

  • Penalize large ∣rθ∣|r_\theta| to fix scale
  • Early stop on overconfidence
  • Keep a reference policy
  • Use KL-control during RL
  • Use multi-objective rubrics such as helpfulness, harmlessness, and honesty to reduce overspecification
  • Use lexicographic rules to make priorities explicit: correctness ≻\succ safety ≻\succ brevity, or safety ≻\succ helpfulness when a request crosses a boundary

Preference evaluation

A basic release metric is win-rate against one or more baselines:

WR=1N∑i=1N1{new model wins on item i}WR=\frac{1}{N}\sum_{i=1}^{N}\mathbf{1}\{\text{new model wins on item }i\}

The indicator 1{⋅}\mathbf{1}\{\cdot\} is 1 if the new model wins and 0 otherwise. Report per-domain win-rate and 95% confidence intervals, often with bootstrap resampling. Also report preference satisfaction on a held-out set that was not used to train or tune the reward model.

Aggregate win-rate is never the whole story. Report per-group scores WRgWR_g for groups such as novices, experts, or topic slices, and inspect gaps:

Gap=WRg1−WRg2\text{Gap}=WR_{g_1}-WR_{g_2}

Gaps can expose value pluralism effects or reveal that an optimization helped one slice while harming another.

Rater reliability

Track rater reliability so you know whether labels are stable enough for the conclusion you want to draw. Krippendorff's α\alpha is one common reliability measure:

α=1−DoDe\alpha=1-\frac{D_o}{D_e}

Here DoD_o is observed disagreement and DeD_e is disagreement expected by chance. Low reliability does not always mean the data is useless; it may mean the prompt is ambiguous, the rubric is underspecified, or different groups legitimately disagree.

Evaluation

Assemble the release audit

Aggregate preference wins are not enough. A release needs subgroup, safety, robustness, and failure-case checks.

Preference validity70%
Safety coverage72%
Robustness66%
Audit plan is release-ready.
Stop rule: if overall win-rate rises while safety-slice human win-rate is flat or falling, pause and roll back.

Safety evaluations

Safety evaluations should include jailbreak and abuse tests, refusal appropriateness, and hallucination audits. Jailbreak tests use curated red-team sets and generative attacks; useful metrics include success-at-jailbreak, which should go down, and time-to-failure, which should go up.

Refusal appropriateness has two sides. Safe prompts should be answered, and unsafe prompts should be refused. Track over-refusal as refuse_safe_rate\text{refuse\_safe\_rate} and under-refusal as comply_unsafe_rate\text{comply\_unsafe\_rate}. Hallucination audits use fact-checked question-answer sets, citation checks, and contradiction tests.

Robustness and generalization

Off-distribution stress tests use paraphrases, adversarial prompts, and new domains. Report in-distribution and out-of-distribution win-rates:

Δ=WRIID−WROOD\Delta=WR_{IID}-WR_{OOD}

A large gap means the model's apparent improvement may not transfer. For long-horizon, multi-turn tasks, track error compounding with metrics such as fail@kk and self-correction rate. A model that wins single-turn preferences can still fail when mistakes accumulate over a conversation.

⚠

Human-in-the-loop stop rule

Run periodic spot-checks on contentious slices: high entropy, low α\alpha, safety-sensitive topics, and groups with low win-rate. If overall win-rate rises but human win-rate on safety slices is flat or falling, pause and roll back.

◆

Failure gallery

Keep a living gallery of cases where the reward model or optimized policy fails: spec-gaming, sycophancy, false citations, unsafe compliance, over-refusal, hidden subgroup harm, and brittle out-of-distribution behavior. Use the gallery for red-teaming, rubric repair, reward-model retraining, and release reviews.

Checkpoint

Why can a model with higher aggregate win-rate still fail a human-in-the-loop release review?