Bounds on sample size for policy evaluation in Markov environments

Leonid Peshkin, Sayan Mukherjee

Introduction

In reinforcement learning (RL), evaluating the performance of a strategy—or policy—traditionally requires direct interaction with the environment. This process is inherently data-intensive; comparing hundreds of potential strategies would typically necessitate hundreds of separate simulations. This paper addresses the challenge of "off-policy" evaluation: the ability to use a fixed set of experiences collected by one policy to accurately estimate the performance of any policy within a given class. By applying tools from statistical learning theory, the authors establish new theoretical guarantees for sample complexity, demonstrating that reliable estimates can be achieved with significantly less data than previously theorized.

The Problem of Off-Policy Estimation

The core issue in off-policy evaluation is determining the sample complexity—the exact number of interactions required to ensure that estimates are "Probably Approximately Correct" (PAC) across an entire set of possible strategies. Specifically, the authors seek to bound the error when using data from a sampling policy ($\pi'$) to predict the value of a target policy ($\pi$). This is critical for practical RL applications where data collection is expensive or risky, and researchers must maximize the utility of existing datasets.

Methodology

Importance Sampling and Likelihood Ratios

The paper utilizes Importance Sampling (Likelihood Ratio estimation) to bridge the gap between the sampling policy and the target policy. The method re-weights observed rewards to reflect their likelihood under the target policy. A key technical insight provided is that the environment's underlying physics (transition probabilities) cancel out when calculating the ratio of trajectory probabilities. This allows for accurate evaluation without requiring a known model of the world.

Uniform Convergence and Metric Entropy

To provide guarantees that hold simultaneously for an entire class of policies, the authors employ uniform convergence bounds. They measure the complexity of the policy space using covering numbers (metric entropy). By applying Bernstein’s inequality, they derive bounds that account for the "richness" of the policy class, ensuring that the estimation error remains low even when searching through a vast space of potential strategies.

Information-Theoretic Optimization

The authors further explore the selection of the sampling policy itself. By applying minimax regret theory from sequence prediction, they demonstrate that an optimally chosen sampling policy can reduce the sample complexity's dependence on the time horizon ($T$) from exponential to polynomial, effectively mitigating the "curse of dimensionality" in long-duration tasks.

Key Insights and Results

Linear vs. Quadratic Precision

A significant contribution of this work is the improvement of the dependence on precision. While previous landmark studies suggested that the required number of samples grows quadratically with the inverse of the desired error ($1/\epsilon^2$), this paper shows that the dependence can be reduced to linear ($1/\epsilon$). This represents a substantial gain in theoretical data efficiency.

The Main PAC Bound

The paper establishes that to achieve an estimate within $\epsilon$ error with probability $1-\delta$ for all policies in a class $\Pi$, the required number of samples $N$ is:

$$N = O\left(\frac{V_{max}}{\epsilon} \eta (\log(1/\delta) + \mathcal{K})\right)$$

where $\eta$ is a factor related to the horizon and $\mathcal{K}$ represents the metric entropy of the policy class. This bound is tighter than previous estimates because it utilizes all trajectories for every evaluation rather than partitioning the data.

Eliminating Exponential Horizon

For parametric policy classes—those described by a fixed set of real numbers—the authors show that the exponential dependence on the horizon $T$ can be replaced by a polynomial dependence ($T^{k/2}$), provided the sampling policy is strategically selected to minimize information-theoretic regret.

Limitations and Future Directions

Despite the improved bounds, the authors note several practical challenges:

  • Variance: Standard importance sampling is unbiased but can suffer from high variance if the sampling and target policies differ significantly.
  • Policy Complexity: The proofs require the policy class to have a finite covering number, which may not apply to highly complex or non-parametric classes.
  • Weighted Importance Sampling (WIS): While the paper focuses on standard importance sampling, the authors suggest that extending these bounds to Weighted Importance Sampling—which is biased but more stable—is a vital next step for practical applications.
  • Worst-Case Nature: As with most PAC bounds, these results provide worst-case guarantees and may be more conservative than the empirical requirements in specific engineering contexts.

Summary updated

BibTeX
@inproceedings{peshkin2001bounds,
  author = {Leonid Peshkin and Sayan Mukherjee},
  title = {{Bounds on sample size for policy evaluation in Markov environments}},
  booktitle = {Conference on Learning Theory},
  year = {2001},
  doi = {10.1007/3-540-44581-1\_41},
}
Figure