Sample Complexity Reduction via Policy Difference Estimation in Tabular Reinforcement Learning

Adhyyan Narang, Andrew Wagenmaker, Lillian J. Ratliff, Kevin Jamieson

Introduction

In Reinforcement Learning (RL), "sample complexity" measures the number of interactions an agent needs with an environment to identify a near-optimal strategy. Traditional approaches often focus on estimating the absolute value of every possible policy. However, researchers from the University of Washington demonstrate that this may be redundant. By learning a single "reference policy" and focusing on how other strategies deviate from it, they introduce the PERP (Policy Elimination with Reference Policy) algorithm, achieving the tightest known sample complexity bounds for tabular RL to date.

The Challenge of Policy Estimation

In Multi-Armed Bandit problems, identifying the best arm only requires knowing the difference in rewards between arms, not their absolute values. In full RL, the problem is more complex because current actions dictate future states. Existing algorithms typically estimate the absolute value $V^\pi$ for each policy independently—akin to mapping every possible route to a destination from scratch rather than learning one main path and measuring shortcuts.

The authors investigate whether estimating only the differences between policies suffices in RL. They find that while absolute values aren't entirely ignorable (due to the need to know transition dynamics to reach distant states), estimating the difference relative to a single reference policy is highly effective.

The PERP Algorithm: Difference Estimation in Practice

The core innovation of PERP is the Reduced-Variance Difference Estimator. The algorithm operates in epochs, narrowing the set of candidate policies through the following steps:

  1. Reference Selection: A policy $\bar{\pi}$ is chosen from the candidate set as a baseline.
  2. Baseline Learning: The algorithm collects samples to understand the value and behavior of this reference.
  3. Deviation Estimation: Using a specialized experiment design called OptCov, the agent collects data specifically where other policies differ from the reference.

By focusing on the relative difference ($V^\pi - V^{\bar{\pi}}$), PERP ignores regions of the state space where all candidate policies behave identically, significantly reducing the sample budget.

Motivating Example: The $1/\epsilon$ Advantage

To demonstrate the power of difference estimation, the authors utilize a specific MDP instance to show how standard estimation can be wasteful.

A motivating MDP example demonstrating that policy difference estimation can be significantly more efficient than absolute value estimation.

In this example, the algorithm proves that difference estimation can be $1/\epsilon$ times more efficient than standard estimation. This occurs in scenarios where policies only differ in states that are rarely visited or have low transition probabilities under the reference policy, allowing the agent to focus its exploration budget more precisely.

Key Insights and Results

The research yields several critical findings:

  • RL vs. Bandits: Unlike Contextual Bandits, where difference estimation is entirely sufficient, RL requires knowing the absolute transitions of at least one policy to determine if a downstream difference is reachable and significant.
  • Tightest Bounds: PERP provides the most refined upper bound on sample complexity for tabular RL. The bound scales with a complexity measure $\rho_\Pi$ based on differences, plus a term $U(\pi, \pi^*)$ representing the unavoidable cost of learning transitions to reach differing states.
  • Efficiency Gains: Compared to previous state-of-the-art algorithms like PEDEL, PERP shows significant gains in specific MDP structures where policy deviations are localized.

Limitations and Future Work

While theoretically groundbreaking, PERP faces practical hurdles. It currently requires enumerating all policies, which is computationally infeasible for large state-action spaces. Furthermore, the results are restricted to the "tabular" setting. Future research aims to extend these difference-based insights to linear function approximation and more general RL environments, potentially bridging the gap between theoretical optimality and practical application.

Summary updated

BibTeX
@inproceedings{narang2024sample,
  author = {Adhyyan Narang and Andrew Wagenmaker and Lillian J. Ratliff and Kevin Jamieson},
  title = {{Sample Complexity Reduction via Policy Difference Estimation in Tabular Reinforcement Learning}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2024},
  url = {https://openreview.net/forum?id=RYQ0KuZvkL},
}
Figure