Context-dependent upper-confidence bounds for directed exploration

Raksha Kumaraswamy, Matthew Schlegel, Adam White, Martha White

TL;DR

This paper introduces UCLS, a novel reinforcement learning algorithm that uses context-dependent confidence bounds to guide exploration more efficiently. By adapting exploration based on state-specific uncertainty, UCLS significantly speeds up learning compared to existing methods, especially in challenging environments.

What Problem Does This Paper Address?

Reinforcement learning (RL) agents need to explore their environment to discover optimal policies. However, inefficient exploration can lead to slow learning and suboptimal performance. Traditional methods like e-greedy are simple but data-inefficient. More advanced methods often rely on complex models or computationally expensive techniques. The challenge is to develop an exploration strategy that is both data-efficient and computationally tractable, especially in continuous state spaces where simply counting state visits is not feasible. This paper focuses on improving directed exploration by using "optimism in the face of uncertainty" but making it more efficient and adaptable to the specific state.

Methods

The core contribution of this paper is the Upper-Confidence Least-Squares (UCLS) algorithm. UCLS builds upon Least-Squares Temporal Difference (LSTD) learning, a computationally efficient method for approximating value functions. The key innovation is deriving context-dependent upper-confidence bounds (UCBs) on the action-values learned by LSTD.

Here's a breakdown of the approach:

  • Leveraging LSTD: LSTD efficiently summarizes past interactions using matrix operations, making it suitable for incremental updates and providing a basis for calculating confidence intervals.
  • Context-Dependent Variance: Instead of assuming a global variance for uncertainty across all states, UCLS estimates variance that is specific to each state-action pair. This allows the agent to focus exploration on states where uncertainty is high and reduce it in states where the value is well-understood.
  • Theoretical Foundation: The paper provides theoretical guarantees for these UCBs, showing they can lead to convergence to optimal policies under certain conditions.
  • Incremental Updates: UCLS is designed to work incrementally, meaning it updates its estimates as new data arrives, making it suitable for online learning scenarios.

Datasets

The paper evaluates UCLS on three simulated environments:

  • Sparse Mountain Car: A variation of the classic Mountain Car problem with a sparse reward signal, designed to test exploration in challenging reward structures.
  • Puddle World: A continuous 2D environment with high negative rewards in "puddles," which can mislead agents into quickly decreasing their value estimates.
  • River Swim: A standard continuing exploration benchmark where an agent navigates an environment with a high-reward but difficult-to-reach goal and a low-reward easily reachable goal.

No new benchmarks were introduced; these are existing environments used to highlight specific exploration challenges.

Key Insights and Ideas

  • Context Matters for Exploration: The most significant insight is that exploration uncertainty is not uniform. By tailoring exploration to state-specific uncertainty (context-dependent variance), agents can learn much faster and avoid wasting time exploring well-understood states.
  • LSTD as a Foundation for Efficient UCBs: LSTD's ability to summarize past data efficiently makes it a strong candidate for computing UCBs without the computational overhead of full model-based methods.
  • Bridging Theory and Practice: The paper provides a theoretically grounded approach to UCBs for function approximation in RL and demonstrates its practical effectiveness.
  • Addressing Practical Challenges: The authors identify and address practical issues like non-stationary policies and the inability to sample true noise, proposing solutions like exponential moving averages and using TD-errors as proxies.

Key Results

UCLS consistently outperformed several state-of-the-art directed exploration algorithms (DGPQ, UCBootstrap, LSPI-Rmax, RLSVI) across all tested domains.

  • Faster Convergence: In Sparse Mountain Car, UCLS learned significantly faster than other methods.
  • Best Final Performance: In all three domains, UCLS achieved the best final policy quality within the given interaction budget.
  • Benefit of Contextual Variance: Experiments showed that using context-dependent variance (UCLS) led to significantly better performance than using a global variance estimate (GV-UCB), especially in environments where state-specific uncertainty varies greatly.
  • Robustness: UCLS demonstrated robustness across different types of exploration challenges, including sparse rewards and high negative rewards.

Limitations and Future Work

  • Theoretical Guarantees for Control: While the paper provides theoretical guarantees for UCBs under a fixed policy, a next step is to theoretically prove that using these UCBs for exploration in a control setting (where the policy changes) ensures stochastic optimism and convergence to optimal policies.
  • Representation Learning: UCLS currently uses a fixed state representation. The authors suggest that extending UCLS to work with adaptive or learned representations (e.g., deep networks) is a promising direction for future work, potentially leading to even greater gains.
  • Regret Bounds: The paper does not characterize the regret of UCLS, which is a standard measure of performance in exploration. Providing such bounds would be a significant theoretical contribution.
  • Computational Complexity: While UCLS is computationally efficient compared to some methods, further improvements in computational complexity, especially for the pre-conditioner, are explored.

Summary updated

BibTeX
@inproceedings{kumaraswamy2018context,
  author = {Raksha Kumaraswamy and Matthew Schlegel and Adam White and Martha White},
  title = {{Context-dependent upper-confidence bounds for directed exploration}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2018},
  url = {https://openreview.net/forum?id=rJbeBO-_br},
}
Figure