Beyond Optimism: Exploration With Partially Observable Rewards

Simone Parisi, Alireza Kazemipour, Michael Bowling

TL;DR: Traditional reinforcement learning (RL) relies on "optimism" to drive exploration, but this approach fails when rewards are partially observable—such as when an agent must pay a cost just to see if an action was successful. This paper introduces a novel exploration strategy that decouples exploration from the reward function using the Successor Representation, proving that agents can learn optimal policies even when the environment hides its feedback.

The Problem: Hidden Rewards and the Flaw of Optimism

In standard RL, we often assume that when an agent performs an action, it immediately observes the resulting reward. To discover these rewards, most algorithms use optimism in the face of uncertainty: they assume unvisited states are highly rewarding until proven otherwise.

However, a critical flaw emerges when rewards are unobservable unless specific conditions are met.

Agent in a gridworld with a button and a hidden reward

Imagine an agent in a gridworld that only sees a coin's value if it first pushes a costly button to "turn on the camera." An optimistic agent perceives the button-pushing as a guaranteed loss (a negative reward) and the unobserved coin as merely a "maybe." Consequently, it will likely decide that the optimal path is to avoid the button entirely, thus never discovering the high-value rewards hidden behind it.

This challenge is formalized as a Monitored Markov Decision Process (Mon-MDP). In this setting, the agent's reward model becomes trapped in a vicious cycle: it needs to explore to learn the reward model, but its exploration strategy (optimism) relies on an accurate reward model to function effectively.

The Solution: Directed Exploration with Successor Representation

To overcome this, the authors propose a new algorithm: Directed Exploration-Exploitation with the Successor Representation.

The core innovation is decoupling: the agent's drive to explore is completely separated from its estimate of the environment's rewards (the Q-function). Instead of using a reward-based bonus, the algorithm employs the following mechanisms:

  1. A Goal-Directed Strategy: At each step, the agent identifies the least-visited state-action pair as its current "goal."
  2. The Successor Representation (SR): The agent learns "S-functions"—essentially a map that predicts how often it will visit a specific state-action pair in the future.
  3. Always-Observable Feedback: Unlike environment rewards, the "reward" for the S-function is simply an indicator of whether the goal state was reached. This feedback is always observable, allowing the agent to build a reliable navigational compass even when the environment is silent.
  4. Adaptive Switching: A threshold decides whether the agent should "explore" (head toward the least-visited goal using the SR) or "exploit" (follow the current best Q-policy).

The authors provide mathematical proof that this strategy is Greedy in the Limit with Infinite Exploration (GLIE), guaranteeing that it will eventually find and converge to the optimal policy.

Benchmarking with Monitored MDPs

The researchers introduced a collection of tabular environments to benchmark exploration in these challenging scenarios. They adapted classic RL problems like River Swim, Hazard, and Corridor into Mon-MDP versions with varying levels of monitoring difficulty:

  • Random Monitor: Rewards are hidden 50% of the time at random.
  • Ask Monitor: The agent must pay a small cost to "ask" for the reward.
  • Button Monitor: The agent must visit a specific cell to toggle reward visibility.
  • Random Experts: The agent must match a randomly changing "expert" state to see rewards.
  • Level Up: The agent must perform a specific sequence of costly actions to "level up" the monitor before rewards become visible.

Key Insights and Results

  • Optimism is a Trap: In Mon-MDPs, optimism leads to premature convergence. The agent decides an informative but costly action is "bad" and stops trying it before learning its long-term benefit.
  • The Power of the S-Function: By learning how to reach any state using always-available feedback, the agent can systematically collapse uncertainty across the entire map without needing a single environment reward to start.
  • Total Dominance in Mon-MDPs: Compared against baselines like UCB, Intrinsic Motivation, and Optimistic Initialization, the proposed method was the only one to consistently find the optimal policy in almost every "Monitored" environment. Baselines often got stuck collecting small, easy-to-see rewards while ignoring hidden large rewards.
  • Uniform Exploration: Heatmaps showed that the SR-based agent explored the environment almost perfectly uniformly, whereas optimistic agents barely touched states where rewards were hidden behind costs.

Limitations and Future Directions

The primary limitation of this study is its focus on tabular environments (small, discrete grids). Scaling this approach to Deep RL for continuous or high-dimensional spaces will require approximating the S-functions with neural networks (Successor Features) and developing methods to handle the search for least-visited states in continuous spaces, perhaps using pseudocounts or density estimation. Additionally, refining the initial stochasticity required to learn the S-functions could further improve the algorithm's efficiency.

Summary updated

BibTeX
@inproceedings{parisi2024beyond,
  author = {Simone Parisi and Alireza Kazemipour and Michael Bowling},
  title = {{Beyond Optimism: Exploration With Partially Observable Rewards}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2024},
  url = {https://openreview.net/forum?id=k6ZHvF1vkg},
}
Figure