Bellman Calibration for Marginalized Importance Weighting in Offline Reinforcement Learning
Organizations: Stanford University · Netflix and Cornell University
Abstract
Marginalized importance weighting evaluates a target policy by reweighting offline state-action samples with its discounted occupancy ratio, characterized by an adjoint Bellman equation. Existing minimax, primal-dual, and fitted fixed-point estimators can leave residual occupancy-balance violations because of function-class approximation, regularization, or incomplete optimization. These violations are difficult to diagnose and reduce because the objectives generally lack a direct supervised validation loss for hyperparameter tuning, model selection, and early stopping. We introduce isotonic Bellman calibration, a one-dimensional, model-agnostic post-processing method that reduces these violations while preserving the ranking information in any initial occupancy-ratio estimate. The method corrects the estimate's scale and shape by applying fitted occupancy-ratio evaluation (FORE) over a one-dimensional class of nondecreasing transformations. We characterize Bellman calibration as a conditional fixed-point property equivalent to occupancy-balance against every test function of the calibrated ratio. More generally, we derive a calibration-refinement bound showing that any fitted ratio with small calibration error performs nearly as well as the best post-processing based on its fitted values. For isotonic Bellman calibration, we establish finite-sample calibration guarantees and a KL oracle inequality relative to the best monotone transformation of the initial estimate. Consequently, isotonic Bellman calibration achieves small calibration error and KL risk within statistical error of the best monotone correction, with guarantees for downstream target-occupancy functionals, including policy-value estimation.
Figures & tables
| Projected calibration error | Absolute policy-value error | |||||
|---|---|---|---|---|---|---|
| Benchmark | Uncalibrated | Calibrated | [95% CI] | Uncalibrated | Calibrated | [95% CI] |
| D4RL | 16.1 | 0.120 | 2.99 | 0.710 | ||
| CartPole | 0.00207 | 0.176 | 0.110 | |||
Appendix figures & tables3 assets
Supplementary material from the paper’s appendix.
Appendix
| Estimator | Settings |
|---|---|
| Neural FORE | Two hidden layers of width 128; at most 300 outer iterations; 30 variational steps per iteration; batch size 8,192; learning rate ; weight decay ; early stopping by Bellman loss on a 20% validation subset of the training fold; early stopping begins after 10 iterations and occurs after 20 iterations without improvement. |
| DualDICE | Google Research implementation; 5,000 updates; batch size 256. |
| SCOPE-RL MWL | State–action minimax objective; 10,000 updates; hidden width 128; batch size 128; training-fold standardization; median kernel bandwidth. |
| NeuralDICE | Google Research DICE-RL configuration; primal, dual, and normalization regularizers ; positive output; reward term included; two hidden layers of width 64; 5,000 updates; batch size 256; learning rate . |
| Benchmark | Base estimator | Projected calibration error | Policy-value error |
|---|---|---|---|
| D4RL | Neural FORE | ||
| D4RL | DualDICE | ||
| D4RL | SCOPE-RL MWL | ||
| D4RL | NeuralDICE | ||
| CartPole | Neural FORE | ||
| CartPole | DualDICE |
| Dataset–policy pair | Uncalibrated | Calibrated |
|---|---|---|
| HalfCheetah–expert | 20.1 | 0.179 |
| HalfCheetah–medium | 2.84 | 0.0280 |
| HalfCheetah–medium-high | 3.87 | 3.07 |
| HalfCheetah–random | 0.139 | 0.00425 |
| Hopper–expert | 1.20 | 0.0435 |
| Hopper–medium | 1.02 | 1.22 |
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