TL;DR
This paper explores using Efron’s bootstrap with Direct Method (DM) estimators to produce reliable confidence intervals for Off-Policy Evaluation (OPE). The authors identify key theoretical conditions for validity—specifically data coverage and sample size—and propose practical mechanisms like "noisy rewards" and regularization to ensure robust uncertainty estimation in challenging, low-data, and continuous-control environments.
What Problem Does This Paper Address?
In Reinforcement Learning (RL), Off-Policy Evaluation (OPE) is the task of estimating the value of a new "target" policy using only historical data collected by a different "behavior" policy. This is critical in safety-sensitive domains like healthcare or autonomous driving, where running an untested policy live is too risky.
The most intuitive approach is the Direct Method (DM), which involves building a model of the environment or fitting a Q-function to the data. While DM is often more sample-efficient than alternatives like Importance Sampling (IS), it is notoriously biased. In practical applications, however, having an unbiased estimate is often less important than having a trustworthy confidence interval (CI)—a range that likely contains the true value. This paper investigates whether statistical bootstrapping, a classic tool for uncertainty estimation, can be validly applied to these biased DM estimators.
Methods
The authors focus on Efron’s non-parametric bootstrap. The basic idea is simple: resample the original dataset with replacement many times, calculate the DM estimate for each resampled set, and use the resulting distribution to form a confidence interval.
However, the authors show that this isn't always mathematically sound. They identify two major hurdles:
- Insufficient Coverage: If the target policy visits state-action pairs that are rarely or never seen in the behavior data, the estimator becomes non-smooth (mathematically, it lacks "Hadamard differentiability"), causing the bootstrap to fail.
- Finite Sample Under-coverage: With small datasets, the bootstrap tends to be "over-confident," producing intervals that are too narrow and miss the true value more often than they should.
To fix these, they propose two main techniques:
- Regularization: They use biased reward and transition functions (or weight decay in neural networks) to "smooth" the estimator in regions with low data coverage.
- Noisy Rewards: They augment the dataset by adding random noise to the observed rewards ($r \pm R_{noise}$). This artificially increases the variance, compensating for the bootstrap's tendency to under-cover in low-data regimes.
Datasets
The methods were evaluated on:
- Frozen Lake: A discrete, tabular environment used to verify the theory and compare against traditional high-confidence OPE baselines.
- OpenAI Gym (Continuous Control): Challenging benchmarks including Reacher-v2, HalfCheetah-v2, and Hopper-v2. These were used to test the method's performance with neural network function approximators (Fitted Q-Evaluation).
Key Insights and Ideas
- Bias is acceptable if uncertainty is calibrated: The RL community often obsesses over unbiased estimators (like IS). This paper argues that for safety, a biased estimator (like DM) with a well-calibrated confidence interval is often superior because it has much lower variance.
- The "Divergence" Problem: The authors provide a clear visual intuition (Figure 1) for why coverage matters: if the target policy's trajectory diverges from the data, the estimator's behavior becomes erratic and non-differentiable.
- Noisy Rewards as a Safety Margin: Adding noise to rewards is a simple but powerful heuristic. It acts as a "safety buffer" that forces the confidence intervals to be wider and more conservative, which is exactly what you want when data is scarce.
Key Results
- Tabular Success: In Frozen Lake, the "DM with Noisy Bootstrap" achieved near-perfect empirical coverage (the % of times the CI actually contained the true value), whereas standard IS-based methods either wildly under-estimated or over-estimated the uncertainty.
- Continuous Control Robustness: On Gym tasks, the authors showed that without L2 regularization, Fitted Q-Evaluation (FQE) intervals were so inaccurate they fell off the charts. With regularization and noisy bootstrapping, they produced stable, useful intervals even with as few as 10 trajectories.
Limitations and Future Work
- Asymptotic vs. Finite: The theoretical guarantees are asymptotic (they hold as the dataset size goes to infinity). For small datasets, the method relies on the "noisy rewards" heuristic, which requires tuning the noise scale ($R_{noise}$).
- Conservatism: The proposed fixes can sometimes lead to "over-coverage," where the intervals are wider than strictly necessary. While safe, this might be overly pessimistic for some applications.
- Future Directions: The authors suggest applying these calibrated uncertainty estimates to Safe Policy Optimization, where the agent uses the lower bound of the confidence interval to ensure it only learns policies that are guaranteed to be safe.
Summary updated