CS-WCP: Robust Conformal Sets for LLM-Judge Traffic Shifts with Uncertain Group Proportions
Organizations: Department of Computer Science, Iowa State University · Department of Computer Science, Kalinga Institute of Industrial Technology
Abstract
Prediction sets built from an LLM judge can undercover when deployment traffic changes the prevalence of task or policy groups. Weighted conformal prediction is exact under covariate shift when the density ratio is known, but group proportions must usually be estimated from finite unlabeled samples. We introduce confidence-set weighted conformal prediction (CS-WCP), which constructs simultaneous exact intervals for source and target group masses and returns the union of weighted conformal sets over every compatible ratio vector. For a fixed or independently learned finite partition, CS-WCP attains coverage at least 1-alpha-delta_w-tau_A-kappa, where tau_A measures within-cell covariate mismatch and kappa measures conditional shift. A linear endpoint rule computes the robust union in O(G|Y|) time. Across 336 constructed shared-support traffic shifts, CS-WCP reaches 0.973 mean coverage with 13 point failures, compared with 0.954 and 44 failures for source conformal prediction, at mean binary set sizes 1.74 and 1.65. On 336 natural cross-task transfers, coverage rises from 0.882 to 0.962, but mean set size reaches 1.87 and a size-matched group plug-in baseline is competitive. The method therefore supplies an auditable coverage safeguard under uncertain mixture weights; its value is conservative tail protection, not scalar probability calibration or uniformly smaller sets.
Figures & tables
| Method | Shift structure | Unknown quantity | Guarantee target | Difference from CS-WCP |
|---|---|---|---|---|
| WCP | covariate shift | full ratio | marginal coverage | assumes known ratio for exact validity |
| GWCP | observed finite groups | group proportions | near/exact corrected coverage | pools group score CDFs rather than robustly unioning WCP sets |
| Unknown-subpopulation CP | latent mixture | group assignment or classifier | coverage or risk control | learns latent structure under classifier assumptions |
| Clipped WCP | general covariate shift | learned, possibly unbounded ratio | expected and dataset-conditional coverage | controls clipping bias rather than finite mass-count uncertainty |
| PAC label-shift sets | label shift | class-ratio weights | PAC set validity | propagates confusion-matrix and target-label-mass uncertainty |
| CS-WCP | fixed finite traffic partition | source and target group masses | robust union with an exact endpoint test |
| Method | Coverage | Size | Singleton | Point failures | FWER certified |
|---|---|---|---|---|---|
| Source CP | |||||
| Oracle WCP | |||||
| Classifier-odds WCP | |||||
| KMM-WCP | |||||
| Group plug-in WCP | |||||
| Clipped uLSIF WCP |
| Method | Coverage | Size | Point failures | FWER certified |
|---|---|---|---|---|
| Source CP ( ) | ||||
| Classifier-odds WCP ( ) | not recorded | |||
| Group plug-in ( ) | ||||
| Group plug-in ( ) | ||||
| CS-WCP ( ) | ||||
| Target-tuned group plug-in |
Appendix figures & tables2 assets
Supplementary material from the paper’s appendix.
Appendix
| Tier | Transfers | Target labels used | Construction |
|---|---|---|---|
| Constructed primary | none for set construction | QA generator-mixture plus SAMSum policy-mixture transfers; fixed traffic partition | |
| Natural cross-task | none for set construction | judges ordered pairs over seven non-code domains; partition frozen on an independent design role | |
| HumanEval sensitivity | official tests at evaluation | judges ordered generator-mixture pairs; reported separately because the eligible pool is smaller | |
| Penalty audit | independent source and target audits | audit cells and multiplicity budget frozen before labels are opened |
| Constructed mixture tier | Natural cross-task tier | |||||||
| Method | Cov. | Size | Fail | Cert. | Cov. | Size | Fail | Cert. |
| Source CP ( ) | ||||||||
| Source CP ( ) | ||||||||
| Source CP ( ) | ||||||||
| Source CP ( ) | ||||||||
| Group plug-in ( ) | ||||||||