Off-policy evaluation (OPE) is a cornerstone of modern reinforcement learning, enabling the assessment of a target policy using historical data. However, providing rigorous uncertainty quantification in infinite-horizon settings remains a significant challenge. This paper introduces BONDIC, a novel algorithm designed to construct tight, non-asymptotic confidence intervals (CIs) for OPE.
The Challenge of Off-Policy Evaluation
In high-stakes domains such as medicine or autonomous driving, point estimates of a policy's performance are insufficient. Decision-makers require confidence intervals to gauge risk. Traditional OPE methods often struggle with three primary issues:
- The Curse of Horizon: Importance Sampling (IS) variance grows exponentially with the time horizon.
- Data Dependency: Standard statistical bounds assume independent and identically distributed (i.i.d.) data, whereas RL data is inherently sequential.
- Unknown Behavior Policies: Many estimators require knowledge of the behavior policy that generated the data, which is often unavailable in real-world datasets.
The BONDIC Framework
BONDIC (Behavior-agnostic, Off-policy, Infinite-horizon, Non-asymptotic, Confidence intervals based on arbitrarily Dependent data) addresses these challenges through a primal-dual optimization framework. By framing OPE as a constrained optimization problem over the value function (primal) and the stationary visitation distribution (dual), the authors derive rigorous upper and lower bounds on the expected reward.
The method utilizes a Kernel Bellman Loss (KBL) to quantify how well a candidate value function satisfies the Bellman equation across observed transitions. As shown in Table 1, the algorithm operates on transition tuples $(s_i, a_i, r_i, s'_i, a'_i)$, mapping them to state-action pairs $x_i$ and $x'_i$ to facilitate kernel-based computations.
Technical Innovations: Martingales and Kernels
The mathematical foundation of BONDIC lies in a new martingale concentration inequality. While states in a trajectory are dependent, the authors demonstrate that Bellman residuals—the errors in value function predictions—form a martingale difference sequence. This insight allows for the application of concentration inequalities to time-dependent data without the i.i.d. assumption.
Key features of the approach include:
- Behavior Agnosticism: BONDIC does not require knowledge of the behavior policy, making it applicable to datasets collected from unknown or non-Markovian sources.
- Dual Efficiency: While the primal bound is intuitive, the dual formulation is often more computationally tractable and can be tightened using random feature approximations.
- Optimal Convergence: The confidence intervals shrink at a rate of $O(n^{-1/2})$, matching the theoretical gold standard for statistical estimation.
Empirical Performance
The researchers validated BONDIC across three environments: OpenAI Gym's Inverted-Pendulum and CartPole, and a high-fidelity Type-1 Diabetes Simulator.
The results highlight several advantages:
- Tighter Bounds: Compared to previous optimization-based methods, BONDIC produces significantly more informative (narrower) intervals due to the improved concentration inequality.
- Reliable Safety: Unlike asymptotic methods like the bootstrap, which can be overconfident with limited data, BONDIC's non-asymptotic bounds consistently contained the true expected reward.
- Scalability: The dual form allows the algorithm to scale effectively to large datasets.
Conclusion and Future Directions
BONDIC provides a robust framework for safe policy evaluation in complex, infinite-horizon environments. While the method currently relies on manual kernel selection, future work may explore automated kernel tuning and the extension of these bounds to off-policy optimization, where the goal is to find the best policy while adhering to strict safety constraints.
Summary updated