Sample Complexity of Policy-Based Methods under Off-Policy Sampling and Linear Function Approximation

Zaiwei Chen, Siva Theja Maguluri

Introduction

In modern reinforcement learning (RL), the ability to learn from historical data—known as off-policy learning—is critical for applications where real-time data collection is prohibitively expensive or dangerous, such as healthcare and industrial control. However, the intersection of off-policy learning, function approximation (to handle large state spaces), and bootstrapping (updating estimates based on other estimates) creates the "deadly triad." This combination frequently leads to algorithmic instability and divergence.

While multi-step Temporal Difference (TD) learning can mitigate divergence, it often introduces exponentially high variance due to the accumulation of importance sampling ratios. Consequently, theoretical guarantees for policy-based methods like Actor-Critic have historically lagged behind, with previous sample complexity bounds stuck at a suboptimal $\tilde{\mathcal{O}}(\epsilon^{-3})$. This paper introduces a new family of off-policy TD learning algorithms that utilize generalized importance sampling to achieve a state-of-the-art $\tilde{\mathcal{O}}(\epsilon^{-2})$ sample complexity under linear function approximation.

Methodology

The proposed framework decomposes the RL problem into two alternating components: a policy evaluation phase (the critic) and a policy improvement phase (the actor).

1. Policy Evaluation: The Critic

The authors introduce a single time-scale multi-step TD-learning framework. To maintain stability without the variance explosion typical of importance sampling, they propose two specific algorithmic variants:

  • $\lambda$-averaged $Q$-trace: This method interpolates between the target policy and the behavior policy, effectively smoothing the importance weights.
  • Two-sided $Q$-trace: This variant truncates importance sampling ratios from both the upper and lower bounds.

By formulating these updates as solving a "generalized Projected Bellman Equation," the authors use stochastic approximation techniques to establish finite-sample convergence. A key technical contribution is the proof that the operator driving these updates remains a strict contraction mapping, even with function approximation.

2. Policy Improvement: The Actor

The critic is paired with a generic policy update framework. The paper analyzes three distinct update rules to demonstrate the framework's versatility:

  • $1/\beta_1$-greedy
  • $\beta_2$-softmax
  • $\beta_3$-Natural Policy Gradient (NPG)

Key Theoretical Insights

The Necessity of Lower Truncation

A significant finding of this work is the "lower truncation" requirement. While existing algorithms like V-trace or Retrace clip importance weights from above to manage variance, the authors demonstrate that when using function approximation, weights must also be truncated from below. This dual truncation is essential to guarantee that the mathematical operator remains a contraction, preventing the divergence associated with the deadly triad.

The Bias-Variance Tradeoff

The paper acknowledges that variance reduction in off-policy settings is not "free." By modifying importance sampling ratios—whether through $\lambda$-averaging or truncation—the algorithm introduces an inherent bias into the value function estimate. This bias persists even in tabular settings, representing a fundamental tradeoff between the stability of the estimate and its asymptotic accuracy.

Simplified Convergence Proofs

Unlike recent literature that relies on complex optimization tools like mirror descent or KL-divergence Lyapunov functions, this work achieves geometric convergence results by exploiting the natural monotonicity and contraction properties of Bellman operators. This approach provides a more direct path to understanding the convergence of policy gradient methods.

Results and Impact

The primary contribution of this research is the establishment of a $\tilde{\mathcal{O}}(\epsilon^{-2})$ sample complexity for off-policy policy-based methods using linear function approximation. This result is significant for several reasons:

  1. Closing the Efficiency Gap: For the Natural Actor-Critic algorithm, this bound improves upon the previous state-of-the-art ($\tilde{\mathcal{O}}(\epsilon^{-3})$) by a factor of $\epsilon^{-1}$. This demonstrates that policy-based methods can match the sample efficiency of value-based methods like Q-learning.
  2. Horizon Dependence: The authors improved the theoretical dependence on the effective horizon ($1/(1-\gamma)$) by a full factor of $1/(1-\gamma)$ compared to prior work.
  3. Stability: The framework provides a mathematically sound way to navigate the deadly triad, offering a blueprint for stable off-policy learning in high-dimensional spaces.

Limitations and Future Work

Despite the theoretical advancement, practical implementation faces challenges. The bootstrapping parameter $n$ (the look-ahead horizon) depends on the minimum probability mass of the behavior policy's stationary distribution ($K_{SA,\min}$), which is typically unknown. Consequently, $n$ remains a hyperparameter that requires manual tuning. Furthermore, the truncation methods used to control variance introduce an asymptotic bias, meaning the algorithm converges to an approximation of the optimal policy rather than the true optimum. Future research may focus on adaptive methods for parameter selection to minimize this bias while maintaining stability.

Summary updated

BibTeX
@inproceedings{chen2022sample,
  author = {Zaiwei Chen and Siva Theja Maguluri},
  title = {{Sample Complexity of Policy-Based Methods under Off-Policy Sampling and Linear Function Approximation}},
  booktitle = {International Conference on Artificial Intelligence and Statistics},
  year = {2022},
}
Figure