RL testing and validation

One-line

How you know whether an RL fine-tuned model is actually better — and not just better at the eval — before exposing it to a customer’s production process.

The idea

RL models are pathologically prone to two failure modes:

  • Reward hacking — the model finds an exploit in the reward signal that scores well but does the wrong thing (verbose answers when the reward rewards length; sycophancy when the judge rewards agreement; near-duplicate completions when the verifier ignores semantic equivalence).
  • Eval overfitting — the model memorises the test set, the labeler’s style, or both. Benchmark numbers go up; real-world behaviour does not.

Validation requires multiple, ideally adversarial, sources of signal. No single eval is trustworthy on its own.

The validation surface (sketch)

  • Held-out evals — both static public benchmarks and rolling held-out trajectories drawn from the same distribution as training.
  • Distribution-shift checks — does the model still behave reasonably on prompts unlike the training data? Robustness to small perturbations.
  • Human spot-checks — periodic audit by domain experts who did not contribute to the training labels. Catches drift that the automated stack misses.
  • Reward-hacking probes — adversarial prompts designed to exploit known reward-model failure modes. Length-bias probes, sycophancy probes, format-exploit probes.
  • Regression dashboards — capability tradeoffs from RL fine-tuning (the alignment tax: RL on one capability often degrades others). Track every capability you ever cared about; don’t optimize one in isolation.
  • Real-world A/B — the only signal that closes eval-real-world-gap: deploy to a slice of real users / real process and measure the actual KPI.

A canonical example

OpenAI’s “safety evals + capabilities evals” sandwich (system-card style releases). Anthropic’s red-teaming protocol around Claude releases. DeepMind’s Sparrow harm-and-rule-violation checks. METR’s task-suite evaluations for agentic systems.

Where this fits in Where AI Value Lands

In H4_rl-specialization-value-pocket, validation is the contractual hand-off. The customer’s procurement, compliance, and risk functions need a defensible evaluation protocol before the model is allowed near the operational process. This is often the slowest part of an enterprise sale — slower than training, slower than integration.

Two implications follow:

  • A vendor whose evaluation protocol is shoddy loses the enterprise sale no matter how good the model is. Eval engineering is a deliverable, not an internal tool.
  • A vendor with a reusable validation harness across customers in the same vertical converts every prior engagement into pricing power on the next one. The harness is itself part of the moat.

Connect to eval-real-world-gap for the upstream framing of why eval is the binding constraint.

Referenced by

Auto-generated reverse-link index — pages in the wiki that link here. Maintained by /lint and reverse-link sweeps.