Model Selection for Off-Policy Evaluation via Pairwise Bellman Validation
Organizations: Stanford University · Netflix and Cornell University
Abstract
Model selection and hyperparameter tuning pose a central challenge in off-policy evaluation (OPE) because errors of fitted Q-functions and occupancy-ratio estimates cannot be directly evaluated from held-out transitions. Bellman-residual and minimax validation methods often require auxiliary regressions or optimization over separate critic classes, adding computational and tuning costs. We introduce pairwise Bellman validation (PBV), a tuning-free minimax procedure for selecting among finite classes of fitted Q-functions and occupancy-ratio estimators using held-out transitions. PBV constructs critics from pairwise candidate differences, requiring only finitely many empirical moment calculations without auxiliary validation models or separate critic optimization. We establish finite-sample oracle inequalities relative to the best available candidate, even under candidate-class misspecification. Our key insight is that Q-function errors and log ratios between candidate and true occupancy ratios provide oracle critics whose Bellman and adjoint Bellman moments control estimation error. Pairwise candidate differences approximate these unknown critics, while penalties account for comparator approximation error. For Q-function selection, we first develop unweighted PBV, which evaluates pairwise Bellman moments under the offline distribution and admits oracle guarantees under a pairwise coercivity condition relating the offline distribution to the target-policy dynamics. We then develop target-aligned PBV (TA-PBV), which uses marginalized importance weighting to provide error control without pairwise coercivity. For occupancy-ratio selection, we develop adjoint PBV (A-PBV), which evaluates adjoint Bellman moments against log-ratio critics. On Hopper and Deep OPE, unweighted PBV performs competitively, while target-occupancy weighting can improve performance in settings with controlled overlap.
Figures & tables
| Setting | Selector | Absolute value error | Initial-state value RMSE | ||
|---|---|---|---|---|---|
| Hopper | Deep OPE | Hopper | Deep OPE | ||
| Original | Unweighted PBV | 4.2 | 265.6 | 9.4 | 350.2 |
| Unweighted PBV (no penalty) | 4.8 | 265.1 | 9.5 | 350.1 | |
| TA-PBV ( ) | 5.2 | 262.1 | 10.7 | 347.3 | |
| LSTD-Tournament | 5.6 | 258.8 | 11.4 | 341.4 | |
| Squared TD error | 9.4 | 276.2 | 17.6 | 363.4 | |
Appendix figures & tables8 assets
Supplementary material from the paper’s appendix.
Appendix
| Setting | Selector | Hopper | Deep OPE |
|---|---|---|---|
| Original | Unweighted PBV | 9.4 [4.2,14.1] MCSE 0.4 | 350.2 [276.5,417.5] MCSE 0.1 |
| Unweighted PBV (no penalty) | 9.5 [4.9,13.8] MCSE 0.4 | 350.1 [276.3,418.3] MCSE 0.1 | |
| TA-PBV ( ) | 10.7 [5.6,15.0] MCSE 0.4 | 347.3 [275.3,413.3] MCSE 0.1 | |
| LSTD-Tournament | 11.4 [5.9,15.9] MCSE 0.4 | 341.4 [264.5,409.4] MCSE 0.1 | |
| Squared TD error | 17.6 [10.2,23.5] MCSE 0.7 | 363.4 [283.9,433.3] MCSE 0.1 | |
| Controlled overlap | Unweighted PBV | 25.9 [13.0,39.1] MCSE 0.4 | 139.3 [43.5,212.7] MCSE 0.1 |
| Setting | Benchmark | Unweighted PBV minus LSTD-Tournament | TA-PBV minus LSTD-Tournament | TA-PBV minus unweighted PBV |
|---|---|---|---|---|
| Original | Hopper | |||
| Original | Deep OPE | |||
| Controlled overlap | Hopper | |||
| Controlled overlap | Deep OPE |
| Study | Selector | Hopper | Deep OPE |
|---|---|---|---|
| Original | Unweighted PBV | 1.4 [0.6,4.4] | 190.6 [90.5,373.3] |
| benchmarks | Unweighted PBV (no penalty) | 1.8 [0.7,6.2] | 197.8 [86.2,373.2] |
| TA-PBV ( ) | 1.7 [0.6,6.5] | 197.3 [88.6,366.9] | |
| LSTD-Tournament | 1.6 [0.5,5.4] | 184.1 [85.3,410.0] | |
| Squared TD error | 1.9 [0.4,17.2] | 197.0 [77.6,455.5] | |
| Controlled | Unweighted PBV | 8.8 [3.0,20.7] | 31.8 [13.3,75.8] |
| Selector | 3,200 | 6,400 | 12,800 | 25,600 | 51,200 |
|---|---|---|---|---|---|
| Hopper | |||||
| Unweighted PBV | 15.4 [7.9,25.1] | 15.2 [7.7,25.2] | 14.4 [7.7,23.9] | 14.4 [7.4,23.4] | 14.3 [7.4,23.9] |
| TA-PBV ( ) | 14.2 [8.2,20.8] | 12.9 [7.3,19.2] | 12.7 [6.8,19.3] | 12.6 [6.7,19.1] | 12.5 [6.7,19.1] |
| LSTD-Tournament | 15.9 [7.3,26.9] | 14.1 [6.4,24.2] | 13.4 [6.1,22.8] | 13.3 [5.9,22.8] | 13.0 [5.9,21.9] |
| Deep OPE | |||||
| Value error | ESS fraction | |||
|---|---|---|---|---|
| Hopper | Deep OPE | Hopper | Deep OPE | |
| 1 | 16.2 | 90.3 | .099 ( .001) | .022 ( .001) |
| 2.5 | 15.6 | 68.6 | .106 (.066) | .447 ( .001) |
| 5 | 14.2 | 65.1 | .198 (.167) | .757 ( .001) |
| 7.5 | 13.6 | 65.0 | .409 (.387) | .868 (.002) |
| 10 | 13.4 | 65.5 | .610 (.571) | .918 (.053) |
Off-Policy Evaluation
Off-policy evaluation estimates a policy’s value from data collected by another policy, using weighting, models, and uncertainty-aware methods.
See all 74 papers