arXiv:2608.24858cs.LGAug 2026

Manuscript Offprint

arXiv:2608.24858

Bellman Calibration for Marginalized Importance Weighting in Offline Reinforcement Learning

Lars van der Laan, Nathan Kallus

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.

1. Introduction

Marginalized importance weighting evaluates a target policy by reweighting samples from an offline state–action distribution using the target policy’s discounted occupancy ratio (Liu et al., 2018; Xie et al., 2019; Yin and Wang, 2020). Unlike trajectory-level importance sampling, it corrects marginal state–action occupancies without multiplying importance ratios across time (Jiang and Li, 2016; Liu et al., 2018; Xie et al., 2019). Because the occupancy ratio depends on the target policy and transition law, but not on the reward function, a single estimate can evaluate multiple rewards without fitting a separate value function for each. It can also be combined with a fitted value or (Q)-function to obtain doubly robust and semiparametrically efficient estimators (Kallus and Uehara, 2020b, 2022; Uehara et al., 2020). Accurate occupancy-ratio estimation is therefore a central problem in offline policy evaluation.

The discounted occupancy ratio satisfies an adjoint Bellman equation, which induces balance identities linking the reweighted offline distribution to the target policy's initial distribution and one-step dynamics (Nachum et al., 2019; Uehara et al., 2021). Many estimators enforce these identities through saddle-point problems over weight and critic classes, choosing weights to minimize the worst-case empirical violation of the resulting Bellman moments. This principle underlies minimax weighting and primal-dual methods such as DUALDICE (Nachum et al., 2019; Uehara et al., 2020, 2021). Fitted occupancy-ratio evaluation (FORE) instead targets the adjoint Bellman fixed point directly through a sequence of ratio-fitting problems analogous to fitted (Q)-evaluation (van der Laan and Kallus, 2026).

Despite these advances, marginalized importance weighting can remain statistically difficult and unstable. Under limited overlap, the true occupancy ratio may be large in regions poorly represented in the offline data, making both the ratio and the resulting value estimates highly variable. Occupancy-ratio estimation is further complicated by its fixed-point characterization, which provides neither observed labels nor a canonical held-out loss for tuning and model selection. In minimax, primal–dual, and fitted fixed-point methods, regularization, restricted ratio or critic classes, optimization error, and early termination can also leave substantial population Bellman imbalance even when the empirical objective is small (Nachum et al., 2019; Uehara et al., 2020, 2021). Yet an imperfect ratio estimate may still reliably rank regions from relatively low to relatively high target occupancy, even when its magnitudes are poorly calibrated for Bellman balance.

This observation motivates post-processing methods that stabilize fitted ratios while preserving their ordering information. Standard approaches include normalization, trimming, and clipping, which rescale weights, discard observations with extreme fitted ratios, or cap extreme values (Crump et al., 2009; Espeholt et al., 2018; Ionides, 2008; Lee et al., 2011; Munos et al., 2016; Robins et al., 2000; Zhang and Whiteson, 2022; Zhou et al., 2020). These transformations reduce weight dispersion by targeting prespecified distortions, such as global scale or tail behavior, and often require tuning parameters whose bias-variance tradeoff is difficult to assess from observed data (Espeholt et al., 2018; Ionides, 2008; Lee et al., 2011; Munos et al., 2016; Orenstein, 2022; Su et al., 2020; van der Laan et al., 2025c).

To directly correct residual imbalance, we adapt post-hoc calibration from supervised learning (Bella et al., 2010; Guo et al., 2017; Gupta and Ramdas, 2021; Lichtenstein et al., 1977; Noarov and Roth, 2023). In classification and regression, a predictor is calibrated if the average outcome among observations receiving a given prediction equals that prediction. For example, an event assigned probability 0.6 should occur approximately 60% of the time. Analogously, we call a fitted occupancy ratio calibrated if, conditional on its fitted value, it agrees on average with one application of the adjoint Bellman operator. This is natural because the true occupancy ratio is a fixed point of that operator. Equivalently, the adjoint Bellman moments are balanced against every function of the fitted ratio. Calibration therefore corrects the magnitudes relevant for Bellman balance while preserving the ordering encoded by the initial estimate.

We develop a simple post-processing method that applies to any initial occupancy-ratio estimator and learns a nonparametric one-dimensional monotone correction. The method provides finite-sample nonparametric Bellman calibration guarantees. Our method, isotonic Bellman calibration, applies fitted occupancy-ratio evaluation (FORE) over a one-dimensional class of nondecreasing transformations, using adjoint Bellman targets in place of observed calibration labels. It extends classical isotonic calibration (Niculescu-Mizil and Caruana, 2005; Zadrozny and Elkan, 2002), which uses isotonic regression (Barlow and Brunk, 1972) to learn a monotone transformation of an initial predictor. Monotonicity preserves the ordering of the initial estimate, while the adjoint Bellman equation determines the scale and shape of the correction. The transformation class contains rescaling, clipping, and other monotone parametric adjustments, while allowing more flexible, data-adaptive corrections across the range of fitted ratios. The procedure operates as a low-dimensional post-processing step for an already fitted ratio model.

Contributions. Our contributions are threefold.

  1. We formalize Bellman calibration for occupancy ratios through adjoint Bellman moments, characterize it as a conditional fixed-point property, and derive a calibration-refinement bound that controls occupancy-ratio error by the calibration error and the best approximation to the true ratio by a transformation of the fitted ratio.

  2. We develop fitted isotonic Bellman calibration, a model-agnostic post-processing method based on fitted occupancy-ratio evaluation (FORE). Its core form requires only a stopping rule. Each iteration solves a convex isotonic optimization problem whose optimality conditions imply an exact empirical Bellman-balance identity.

  3. We establish finite-sample calibration and accuracy guarantees, including a nonasymptotic bound on Bellman calibration error under subexponential initial coverage and one-step smoothing, and a KL regret bound showing that, up to statistical error, calibration preserves and may improve occupancy-ratio estimation accuracy.