StepCOPS: Closed-Testing Lower-Tail Certificates for Language-Model Policy Selection
Organizations: Department of Computer Science, Iowa State University · Department of Civil, Construction & Environmental Engineering, Iowa State University
Abstract
Post-training pipelines must select one language-model policy from many checkpoints, prompts, and decoding rules. Mean evaluator scores can conceal rare failures, whereas simultaneous candidate-wise confidence bounds can be unnecessarily conservative. We introduce StepCOPS, which uses an independent proposal split to nominate one lower-tail floor per candidate, exact binomial tests on a fresh certification split, and Holm's step-down procedure to certify a set of floors. With probability at least , every certified floor, including the largest floor used for policy selection, is below its candidate's population lower -quantile. This guarantee assumes i.i.d. evaluation units while allowing arbitrary within-unit dependence across candidates. Across 24 predeclared configurations and 11 benchmarks, StepCOPS obtains 96.4% selected-policy coverage over 500 paired trials, raises the certified floor by 1.5 points over both proposal-Bonferroni and exact COPS, remains 0.6 points below the large-reference jury oracle, and abstains in 2.4% of trials. Shadow-judge, benchmark-native, artifact, and leave-one-judge-out audits characterize the proxy boundary: the guarantee applies to the fixed jury score, not directly to human safety.
Figures & tables
| Selector | Jury mean | Jury | Cert. floor | Tightness | Tail regret | Abstention | Modal sel. |
|---|---|---|---|---|---|---|---|
| Mean jury | 82.4 [81.7,83.1] | 49.6 [48.1,51.1] | — | — | 16.1 [14.6,17.7] | 0.0% | 73% |
| Empirical VaR | 79.1 [78.3,79.9] | 60.7 [59.5,61.9] | 62.6 ∗ | 5.0 [3.8,6.2] | 0.0% | 58% | |
| Empirical CVaR | 78.4 [77.6,79.2] | 61.2 [60.0,62.4] | — | — | 4.5 [3.3,5.7] | 0.0% | 63% |
| Bootstrap VaR LCB | 78.8 [78.0,79.6] | 62.0 [60.9,63.1] | 57.8 [56.8,58.8] | 4.2 [3.3,5.1] | 3.7 [2.6,4.8] | 0.8% | 66% |
| LTT-style selector | 80.0 [79.2,80.8] | 62.4 [61.3,63.5] | fixed | — | 3.3 [2.2,4.4] | 4.8% | 64% |
| SConU + mean | 80.4 [79.6,81.2] | 58.9 [57.6,60.2] | — | — | 6.8 [5.5,8.1] | 15.6% † | 69% |
Appendix figures & tables33 assets
Supplementary material from the paper’s appendix.
Appendix
| Object | Required evidence | Valid conclusion |
|---|---|---|
| Declared jury score | Fixed maps; independent proposal/certification splits; i.i.d. certification units | with probability |
| Deployment return | Score guarantee plus quantile transfer | |
| True language safety | Score guarantee plus judge–harm transfer | A judge-score floor may be interpreted as a harm-related floor |
| ID | Checkpoint | Prompt | Decoding |
|---|---|---|---|
| C01–C02 | Qwen2.5-1.5B-Instruct | Standard | Low / Mod |
| C03–C04 | Qwen2.5-1.5B-Instruct | Safety-aware | Low / Mod |
| C05–C06 | Qwen2.5-3B-Instruct | Standard | Low / Mod |
| C07–C08 | Qwen2.5-3B-Instruct | Safety-aware | Low / Mod |
| C09–C10 | Qwen2.5-7B-Instruct | Standard | Low / Mod |
| C11–C12 | Qwen2.5-7B-Instruct | Safety-aware | Low / Mod |
| Domain | Primary | Shadow | P–S | False-pass |
|---|---|---|---|---|
| Safety | 90.8 | 90.1 | 0.82 | 6.7 |
| Toxicity | 92.4 | 91.8 | 0.86 | 4.1 |
| Truthfulness | 88.1 | 87.5 | 0.79 | 6.2 |
| Refusal cal. | 91.3 | 90.6 | 0.81 | 5.8 |
| Factuality | 87.6 | 87.1 | 0.78 | 6.5 |
| Macro avg | 90.0 | 89.4 | 0.81 | 5.9 |
| Score used | Prim. | Shad. | Agree | Kendall |
|---|---|---|---|---|
| Full jury | 65.1 | 63.8 | 100% | 1.00 |
| 64.4 | 63.1 | 86% | 0.84 | |
| 63.9 | 62.8 | 81% | 0.80 | |
| 64.6 | 63.3 | 88% | 0.86 | |
| Best single | 62.4 | 61.0 | 69% | 0.73 |
| Worst single | 61.7 | 60.2 | 61% | 0.67 |
| Selector | Modal | Pairwise | Entropy | Top-2 |
|---|---|---|---|---|
| Mean jury | 73% | 0.61 | 1.17 | 87% |
| Empirical VaR | 58% | 0.45 | 1.63 | 75% |
| Empirical CVaR | 63% | 0.50 | 1.46 | 80% |
| CDRC-BJ | 73% | 0.60 | 1.19 | 87% |
| Exact COPS | 78% | 0.68 | 0.91 | 91% |
| Proposal-Bonf. | 76% | 0.65 | 1.00 | 90% |
| Score | Cov. | Shad. | False-pass | Artifact |
|---|---|---|---|---|
| One judge | 96.2 | 60.7 | 10.1% | 17.2% |
| Median of 3 | 96.4 | 62.6 | 6.6% | 8.9% |
| Median range | 96.4 | 63.8 | 5.3% | 6.8% |
| Minimum of 3 | 98.0 | 63.4 | 3.9% | 4.7% |
| Domain | Benchmarks | Primary failure |
|---|---|---|
| Safety | HarmBench ( Mazeika et al., 2024 ) , StrongREJECT ( Souly et al., 2024 ) | Harmful compliance |
| Toxicity | RealToxicityPrompts ( Gehman et al., 2020 ) , ToxiGen ( Hartvigsen et al., 2022 ) | Toxic / identity-targeted generation |
| Truthfulness | TruthfulQA ( Lin et al., 2022 ) , VeritasQA ( Aula-Blasco et al., 2025 ) | Confident misconception |
| Refusal calibration | XSTest ( Röttger et al., 2024 ) , OR-Bench ( Cui et al., 2024 ) | Unsafe compliance / over-refusal |
| Factuality | SimpleQA ( Wei et al., 2024a ) , LongFact ( Wei et al., 2024b ) , FACTS Grounding ( Google DeepMind, 2024 ) | Unsupported / contradicted claim |
| Method | Simultaneous | Selected |
|---|---|---|
| Bootstrap VaR LCB | 90.8 [87.9, 93.0] | 91.0 [88.2, 93.2] |
| CDRC-L | 93.4 [90.9, 95.3] | 93.6 [91.1, 95.4] |
| CDRC-DKW | 98.8 [97.4, 99.4] | 99.0 [97.7, 99.6] |
| CDRC-BJ | 97.8 [96.1, 98.8] | 98.0 [96.3, 98.9] |
| Exact COPS | 95.6 [93.4, 97.1] | 96.0 [93.9, 97.4] |
| Proposal-Bonferroni | 96.8 [94.9, 98.0] | 97.0 [95.1, 98.2] |
| Domain | Mean | E-VaR | COPS | P-Bonf | StepCOPS |
|---|---|---|---|---|---|
| Safety | 40.1 | 58.2 | 62.2 | 63.1 | 65.9 |
| Toxicity | 55.4 | 64.7 | 67.2 | 67.9 | 69.2 |
| Truthfulness | 47.6 | 57.1 | 60.0 | 61.0 | 62.4 |
| Refusal cal. | 44.9 | 54.8 | 58.0 | 59.0 | 61.0 |
| Factuality | 52.3 | 60.2 | 61.7 | 62.6 | 64.3 |
| Quantity | P-Bonf | StepCOPS | Paired |
|---|---|---|---|
| Certified/trial | 7.4 | 10.8 | [2.9,3.9] |
| Largest floor | 60.9 | 62.4 | [0.8,2.2] |
| Selected | 64.1 | 65.1 | [0.3,1.7] |
| Tail regret | 1.6 | 0.6 | [ ] |
| Abstention | 5.6% | 2.4% | pp [ ] |
| Selected cov. | 97.0% | 96.4% | pp [ ] |
| Cand. | Role | Mean | M-rk | T-rk | |
|---|---|---|---|---|---|
| C07 | Small safety-aware | 75.6 | 61.8 | 13 | 7 |
| C10 | Top mean | 82.4 | 49.6 | 1 | 18 |
| C11 | Strong floor | 78.2 | 63.9 | 7 | 4 |
| C14 | High-mean frontier | 81.5 | 54.1 | 2 | 14 |
| C15 | StepCOPS selection | 78.6 | 65.1 | 6 | 2 |
| C23 | Primary-jury oracle | 77.9 | 65.7 | 8 | 1 |
| Evaluator | AUROC | Bal. acc | ECE | False-pass |
|---|---|---|---|---|
| 0.892 | 0.831 | 0.058 | 9.8% | |
| 0.879 | 0.819 | 0.064 | 11.0% | |
| 0.907 | 0.846 | 0.049 | 8.7% | |
| Median only | 0.921 | 0.861 | 0.039 | 6.6% |
| Range-penalized | 0.932 | 0.874 | 0.031 | 5.3% |
| Held-out shadow | 0.926 | 0.868 | 0.035 | 5.7% |
| Transformation | Primary | Shadow | ||
|---|---|---|---|---|
| Apologetic preface | 17.2 | 14.5 | 6.8 | 7.4 |
| Verbose padding | 13.8 | 11.9 | 6.1 | 6.7 |
| Markdown-only | 5.8 | 4.6 | 2.2 | 2.5 |
| Paraphrase refusal | 19.6 | 16.9 | 8.9 | 9.5 |
| Swap answer order | 7.4 | 6.8 | 3.1 | 3.5 |
| Identity substitution | 9.7 | 8.9 | 4.2 | 4.8 |
| Knob | Setting | Cov. | Floor | Regret | Abst. |
|---|---|---|---|---|---|
| Prop. | 0.050 | 97.8 | 59.7 | 1.3 | 0.6% |
| 0.075 | 96.4 | 62.4 | 0.6 | 2.4% | |
| 0.085 | 96.2 | 62.8 | 0.8 | 6.8% | |
| 0.090 | 95.8 | 63.0 | 1.1 | 12.6% | |
| Prop. | 500 | 96.8 | 59.4 | 1.7 | 7.8% |
| 1,000 | 96.6 | 60.6 | 1.2 | 5.0% |
| Method | Cost | ||
|---|---|---|---|
| Unfiltered first | 33.1 | 47.0 | 1.00 |
| CDRC-L | 15.8 | 23.5 | 1.69 |
| CDRC-DKW | 13.4 | 20.2 | 2.55 |
| CDRC-BJ | 14.1 | 21.0 | 2.20 |
| StepCOPS policy | 14.5 | 21.7 | 1.00 |
| + CDRC-BJ filter | 12.6 | 18.9 | 2.03 |
| Environment | Mean OPE | Emp. CVaR | COPS |
|---|---|---|---|
| halfcheetah-medium | 3210 | 3900 | 4100 |
| halfcheetah-medium-replay† | 2850 | 3850 | 4200 |
| hopper-medium | 1050 | 1450 | 1600 |
| hopper-medium-replay† | 920 | 1350 | 1500 |
| walker2d-medium | 2350 | 2950 | 3100 |
| ant-medium | 2100 | 2650 | 2800 |
| Effective quantile | ||||
|---|---|---|---|---|
| 50 | 20 | 0.10 | none | n/a |
| 100 | 20 | 0.10 | 3 | 0.030 |
| 200 | 20 | 0.10 | 9 | 0.045 |
| 500 | 20 | 0.10 | 32 | 0.064 |
| 1000 | 20 | 0.10 | 74 | 0.074 |
| Environment | Naive OPE | DR-OPE | Boot. OPE | Conf. OPE | Pess. FQE | Emp. CVaR | COPS |
|---|---|---|---|---|---|---|---|
| halfcheetah-medium | 13.3 1.2 | 13.3 1.1 | 13.3 1.1 | 10.1 1.0 | 7.8 0.9 | 4.8 0.7 | 3.5 0.5 |
| halfcheetah-medium-replay | 16.9 1.4 | 16.7 1.3 | 16.6 1.3 | 12.4 1.1 | 8.4 1.0 | 5.1 0.8 | 3.3 0.5 |
| hopper-medium | 12.7 1.1 | 12.7 1.1 | 12.7 1.1 | 10.8 1.0 | 9.1 1.0 | 5.5 0.8 | 3.6 0.6 |
| hopper-medium-replay | 15.4 1.3 | 15.2 1.2 | 15.1 1.2 | 11.2 1.1 | 9.8 1.0 | 6.2 0.9 | 3.9 0.6 |
| walker2d-medium | 12.6 1.1 | 12.6 1.1 | 12.6 1.1 | 9.5 0.9 | 8.2 0.9 | 5.0 0.7 | 3.5 0.5 |
| ant-medium | 14.1 1.2 | 14.0 1.2 | 13.9 1.2 | 10.4 1.0 | 8.9 1.0 | 5.4 0.8 | 3.7 0.6 |
| Environment | Mean-OPE | Conf. OPE | Emp. CVaR | COPS | Mean-OPE | Conf. OPE | Emp. CVaR | COPS |
|---|---|---|---|---|---|---|---|---|
| halfcheetah-medium | 3210 | 3650 | 3900 | 4100 | 2800 | 3200 | 3500 | 3700 |
| halfcheetah-medium-replay | 2850 | 3200 | 3850 | 4200 | 2400 | 2850 | 3300 | 3800 |
| hopper-medium | 1050 | 1300 | 1450 | 1600 | 900 | 1100 | 1250 | 1400 |
| hopper-medium-replay | 920 | 1150 | 1350 | 1500 | 750 | 950 | 1100 | 1250 |
| walker2d-medium | 2350 | 2700 | 2950 | 3100 | 1800 | 2200 | 2500 | 2750 |
| OPE-selected | COPS-selected | Summary | ||||
|---|---|---|---|---|---|---|
| Environment | Mean | Std | Mean | Std | Selected gap | Bound status |
| halfcheetah-medium | 4820 78 | 412 | 4490 62 | 185 | Yes | conditional |
| halfcheetah-medium-replay | 5102 85 | 538 | 4645 70 | 210 | Yes | conditional |
| hopper-medium | 2340 95 | 680 | 1940 55 | 195 | Yes | conditional |
| hopper-medium-replay | 2180 90 | 720 | 1810 58 | 205 | Yes | conditional |
| walker2d-medium | 3810 72 | 495 | 3520 60 | 220 | Yes | conditional |
| Fixed score / selector | Candidate gaps | Median transfer gap | Selected-policy failure |
|---|---|---|---|
| clipped DR (default) | (7 env) | ||
| FQE mean score | (7 env) | ||
| FDE -quantile | (7 env) | ||
| pessimistic distributional score | (7 env) |
| 2 | 5 | 10 | 20 | unclipped | |
|---|---|---|---|---|---|
| median gap | |||||
| nonnegative gaps |
| Rule | Guarantee | Median effective level | Median floor gain vs. exact |
|---|---|---|---|
| exact Bonferroni | finite-sample, arbitrary dependence | ||
| Holm-inverted binomial | FWER for testing; simultaneous-coverage compatibility not established | ||
| joint-max bootstrap | resampling-based sensitivity |
| Selector | Same winner | Mean top-3 overlap | Selected-floor SD (norm. pts) |
|---|---|---|---|
| empirical CVaR | |||
| max-floor COPS | |||
| constrained COPS |
| Selector | Mean return | Rollout | Failure | Feasible / abstained |
|---|---|---|---|---|
| mean OPE | (7 env) | not safety-constrained | ||
| max-floor COPS | (7 env) | / | ||
| constrained COPS | (7 env) | / |
| trajectories | |||
|---|---|---|---|
| 50 | 0 | 0 | 0 |
| 100 | |||
| 200 | |||
| 500 | |||
| 1,000 |
| Nested pool | Exact | Effective level | Selected floor (norm.) | Rollout | Score-bound failure rate |
|---|---|---|---|---|---|
| 32 | |||||
| 29 | |||||
| 27 |
| Calibration construction | Within-unit lag-1 | Between-unit lag-1 | Target | Simultaneous coverage |
|---|---|---|---|---|
| independent whole trajectories | ||||
| naive sequential chunks, mild dep. | ||||
| naive sequential chunks, strong dep. | ||||
| independent block-level units |
| Environment | Certified floor | Score quantile | Tightness gap | Deployment | Transfer gap |
|---|---|---|---|---|---|
| halfcheetah-medium | 3895 | 3975 | 80 | 4100 | 125 |
| halfcheetah-medium-replay | 3920 | 4010 | 90 | 4200 | 190 |
| hopper-medium | 1310 | 1430 | 120 | 1600 | 170 |
| hopper-medium-replay | 1250 | 1360 | 110 | 1500 | 140 |
| walker2d-medium | 2770 | 2870 | 100 | 3100 | 230 |
| ant-medium | 2480 | 2590 | 110 | 2800 | 210 |
| Regime | Clipped-DR gap | FDE gap | Observed sign pattern |
|---|---|---|---|
| det. dynamics, det. policy | both positive | ||
| det. dynamics, stoch. policy | FDE positive only | ||
| stoch. dynamics, low noise | FDE positive only | ||
| stoch. dynamics, high noise | both negative |
| Distributional selector | Mean return | Rollout | Failure |
|---|---|---|---|
| plug-in FDE quantile | (7 env) | ||
| max-floor COPS-FDE | (7 env) | ||
| constrained COPS-FDE | (7 env) |
| Exact-coverage environment | New/fixed cal. episodes | Sim-audit reduction | Fixed-data holdout reduction | Mean cand.-return change |
|---|---|---|---|---|
| halfcheetah-medium | ||||
| hopper-medium | ||||
| walker2d-medium | ||||
| ant-medium | ||||
| halfcheetah-medium-expert | ||||
| mean |
Language Model Safety Evaluation
Language model safety evaluation measures harmful behavior, refusal, robustness, and over-refusal across realistic prompts, users, and deployment settings.
See all 542 papers