Online Experiments and Production Evaluation › Guardrail metrics and monitored rollouts
Language AI HandbookAll chapters Write down the thresholds, denominator, checkpoint schedule and possible actions before opening traffic. In the toy, the candidate must clear absolute caps for safety-harm rate, error rate, the observed 95th-percentile latency and a normalized cost statistic. Other rollouts compare candidate and baseline changes against a specified tolerance.
For a binary harm rate at one fixed checkpoint, an approximate one-sided Wilson upper bound uses the standard normal quantile at the chosen coverage level. It can be positive even with zero observed harms. If the upper bound exceeds the cap, the policy can hold the next ramp for insufficient evidence of clearance. Evidence that the true rate exceeds the cap is a separate claim. Wilson, 1927.
Staging limits exposure at each ramp. A prespecified severe event can also trigger a pause. If you use the bounds to make repeated statistical decisions, use a design calibrated for those looks and the chosen family of guardrails. The example uses one fixed checkpoint and treats the observed latency and cost caps as operational rules.
Comments
Add to the conversation
A question, a correction, or an example from your own work.
No comments yet. Be the first to share your thoughts!