NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Multi-step Off-policy Learning Without Importance Sampling Ratios

Ashique Rupam Mahmood, Huizhen Yu, Richard S. SuttonarXiv 2017

TL;DR

This paper introduces ABQ(ζ), the first model-free, multi-step off-policy reinforcement learning algorithm that avoids the high variance typically associated with importance sampling ratios. By introducing an "action-dependent bootstrapping" mechanism, ABQ(ζ) achieves stable and efficient learning, outperforming existing state-of-the-art methods in challenging off-policy tasks.

What Problem Does This Paper Address?

In reinforcement learning, off-policy learning allows an agent to learn about a target policy while behaving according to a different, exploratory policy. This is crucial for scenarios where safety or data efficiency is paramount, as it enables learning without directly executing the potentially risky target policy. A common technique for off-policy learning is importance sampling, which re-weights samples to account for the policy mismatch. However, this often leads to high variance in the learned estimates, especially in multi-step learning (where future rewards are considered beyond the immediate next step) and when using function approximation (where the value function is represented by a model rather than a lookup table). Existing methods that avoid importance sampling either only handle one-step learning or are limited to tabular representations, failing to leverage the benefits of multi-step learning with function approximation. This paper aims to bridge this gap by developing a stable, multi-step off-policy algorithm that eliminates the need for importance sampling ratios.

Methods

The core innovation of this paper is the introduction of action-dependent bootstrapping. Instead of using a fixed bootstrapping parameter (like λ in TD(λ)) or one that only depends on the state, ABQ(ζ) uses a parameter that varies for each state-action pair. This action-dependent parameter, denoted as λ(s, a), is designed to strategically mitigate the impact of importance sampling ratios.

Specifically, the authors propose a mechanism where the bootstrapping parameter is a function of a tunable parameter ζ and properties of the behavior (μ) and target (π) policies. This allows them to effectively "cancel out" the explicit use of importance sampling ratios in the update rules. To ensure stability, especially in the context of function approximation, the algorithm incorporates a two-timescale gradient-based update with a gradient correction term. This approach, inspired by prior work on stable TD learning, helps to minimize the Mean Squared Projected Bellman Error (MSPBE). The resulting algorithm, ABQ(ζ), is presented as a computationally scalable and stable online update.

Datasets

The paper evaluates ABQ(ζ) on three tasks:

  • Two-state off-policy task: A small, synthetic task designed to highlight the variance issues of importance sampling.
  • Mountain Car domain (adapted): A standard reinforcement learning benchmark adapted for off-policy policy evaluation, specifically designed to create large importance sampling ratios.
  • 7-star Baird's counterexample: A well-known challenging task for reinforcement learning algorithms, used to demonstrate the stability of ABQ(ζ).

No new datasets were introduced; existing benchmarks were adapted or used as is.

Key Insights and Ideas

  • Action-dependent bootstrapping is key: The paper demonstrates that by making the bootstrapping parameter dependent on the specific action taken in a state, it's possible to eliminate the need for explicit importance sampling ratios in multi-step off-policy learning. This is a significant departure from previous approaches.
  • Mitigating variance without sacrificing multi-step benefits: The proposed method effectively tackles the high variance problem of importance sampling while still retaining the advantages of multi-step learning (e.g., reduced bias, improved asymptotic solutions).
  • Stability through gradient correction: The algorithm's stability, particularly with function approximation, is achieved through a carefully designed gradient-based update that includes a correction term, addressing a common pitfall in off-policy TD learning.
  • Unifying framework: The action-dependent bootstrapping idea is presented as a general framework that can potentially unify and explain existing algorithms like Retrace and Tree Backup.

Key Results

  • Reduced Variance: ABQ(ζ) consistently shows significantly lower variance compared to state-of-the-art importance sampling-based algorithms (like GQ(λ)) across the tested tasks, especially when multi-step learning is beneficial (i.e., for larger values of the bootstrapping parameter).
  • Improved Performance: In the two-state off-policy task, ABQ(ζ) achieved substantially lower normalized mean squared error (NMSE) than GQ(λ) for larger values of the bootstrapping parameter.
  • Stability: ABQ(ζ) demonstrated stable learning on the Baird's counterexample, where other off-policy algorithms without explicit stability guarantees tend to diverge.
  • Effectiveness of Multi-step Learning: The experiments confirmed that ABQ(ζ) can effectively leverage multi-step learning benefits, achieving better performance than one-step methods.

Limitations and Future Work

  • Parameter Tuning: While ABQ(ζ) introduces a new tunable parameter ζ, the paper notes that understanding the optimal choice of ζ and its relationship to policy characteristics (like ψ₀ and ψmax) can be complex.
  • True Online Updates: The current algorithm is presented as an off-line update for theoretical derivation, with a scalable on-line version. The authors suggest that investigating true on-line updates (as in van Seijen et al., 2016) is an interesting direction for future work.
  • State-Value Estimation: The paper focuses on action-value estimation. The authors mention that the action-dependent bootstrapping idea could potentially be applied to state-value estimation, though ratios might not be entirely eliminated.
  • Convergence Analysis: While the paper suggests that convergence analysis can be performed similarly to existing work, a formal proof for ABQ(ζ) is not presented.

Summary updated

BibTeX
@misc{mahmood2017multi,
  author = {Ashique Rupam Mahmood and Huizhen Yu and Richard S. Sutton},
  title = {{Multi-step Off-policy Learning Without Importance Sampling Ratios}},
  year = {2017},
  eprint = {1702.03006},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1702.03006},
}
Figure