A Theoretical Framework of Almost Hyperparameter-free Hyperparameter Selection Methods for Offline Policy Evaluation

Kohei MiyaguchiarXiv 2022

Abstract

Offline Policy Evaluation (OPE) is critical for deploying reinforcement learning in real-world settings where online testing is prohibitive. However, state-of-the-art OPE methods like Fitted Q-Evaluation (FQE) often require their own hyperparameter tuning, leading to a recursive selection problem. This paper introduces the Approximate Hyperparameter Selection (AHS) framework, deriving four selection methods—Regret Minimization (RM), Kernel Loss Minimization (KLM), and their fixed-point variants. Notably, RM is entirely hyperparameter-free. We provide theoretical error bounds and empirical validation on inventory management tasks, demonstrating that RM effectively handles distribution mismatch and eliminates the need for manual tuning.

Introduction

Offline Policy Evaluation (OPE) allows researchers to estimate the performance of a new policy using only pre-collected, historical data. This is essential for high-stakes domains like healthcare or autonomous driving. Fitted Q-Evaluation (FQE) is a leading algorithm for OPE, but it relies on function approximators (e.g., neural networks) that require careful hyperparameter tuning. This creates a paradox: to select the best policy, one needs OPE; but to get accurate OPE, one must select the best OPE hyperparameters. Without a simulator, this selection process often leads to an infinite regress of tuning. This work seeks to break this cycle by introducing hyperparameter-free selection methods.

The AHS Framework and Methods

The proposed Approximate Hyperparameter Selection (AHS) framework avoids the intractable true OPE error by defining a selection criterion that acts as a minimizable upper bound. By leveraging dual norms in Banach spaces, the author derives a "Master Error Bound" to formulate four algorithms:

  1. Regret Minimization (RM): Utilizes the $L^2$ norm to minimize "Bellman regret." It is uniquely completely hyperparameter-free.
  2. Kernel Loss Minimization (KLM): Uses Reproducing Kernel Hilbert Spaces (RKHS) to minimize a kernel Bellman loss. While expressive, it requires a kernel hyperparameter.
  3. RM-FP & KLM-FP: Infinite-horizon variants designed to decouple computational complexity from the time horizon $H$.
Comparison of selection methods, highlighting the hyperparameter-free nature of RM/RM-FP and the error metrics used across different frameworks.

To address efficiency in long-horizon problems, the framework introduces fixed-point variants. These methods utilize an iterative approach to estimate the fixed-point of the Bellman operator, as seen in the MetaFQE algorithm.

The MetaFQE algorithm provides an iterative approach to fixed-point estimation, which underpins the efficiency of the RM-FP and KLM-FP variants.

Key Insights and Results

Theoretical Guarantees

All four methods provide a guaranteed bound on OPE error: $\tilde{O}(C D \min \varepsilon(X) + C n^{-1/4})$, where $C$ is a time constant, $D$ represents the off-policy distribution mismatch, $\varepsilon(X)$ is the candidate error, and $n$ is the dataset size.

Empirical Performance

Evaluated on the InvManagement-v1 environment, RM consistently outperformed KLM across various configurations. RM proved particularly robust against distribution mismatch—the gap between offline data and the target policy's behavior. In contrast, KLM showed higher tolerance for model misspecification but suffered from higher computational complexity ($O(n^2)$ vs. RM's $O(n)$).

Breaking the Regress

The primary practical contribution is the RM method. By requiring zero hyperparameters, it evaluates candidate FQE models purely based on offline data, effectively solving the "tuner for the tuner" problem.

Conclusion and Future Work

While the AHS framework provides a robust theoretical foundation for FQE selection, it is currently limited to FQE-like algorithms. Future research will focus on extending these hyperparameter-free principles to other OPE families, such as importance sampling, and improving the scalability of kernel-based methods like KLM.

Summary updated

BibTeX
@misc{miyaguchi2022theoretical,
  author = {Kohei Miyaguchi},
  title = {{A Theoretical Framework of Almost Hyperparameter-free Hyperparameter Selection Methods for Offline Policy Evaluation}},
  year = {2022},
  eprint = {2201.02300},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2201.02300},
}
Figure