Introduction
Reinforcement learning (RL) agents face a fundamental trade-off between exploiting known rewards and exploring the environment to discover better strategies. Traditional methods often rely on "dithering"—adding local noise to actions (e.g., $\epsilon$-greedy). This paper introduces Randomized Least-Squares Value Iteration (RLSVI), an algorithm that achieves "deep exploration" by sampling from a posterior distribution of value functions, leading to significant efficiency gains in complex tasks.
The Challenge of Deep Exploration
Dithering strategies are often insufficient for tasks requiring a long sequence of coordinated actions. In such environments, the probability of reaching a distant reward through random noise decays exponentially with the horizon. RLSVI addresses this by maintaining a Bayesian posterior over $Q$-functions and sampling a single hypothesis to follow for an entire episode. This ensures consistent, purposeful exploration rather than random step-by-step noise.
The Chain MDP Environment
To demonstrate the limitations of dithering, the authors utilize the "Chain" MDP. In this environment, an agent must navigate a sequence of $N$ states to receive a reward.
While a dithering agent takes exponential time ($2^{N-1}$ episodes) to solve this, RLSVI scales polynomially. By sampling from the posterior, the agent is likely to pick a $Q$-function that is "optimistic" about poorly explored areas, naturally driving it toward informative states.
Randomized Least-Squares Value Iteration (RLSVI)
RLSVI combines Thompson Sampling with linear value function approximation. At the start of each episode, the agent:
- Samples a $Q$-function parameter vector $\theta$ from its current posterior.
- Executes the greedy policy with respect to the linear approximation $\Phi \theta$ for the duration of the episode.
- Updates its posterior using Bayesian linear regression based on observed transitions and rewards.
This approach allows the agent to generalize knowledge across states while maintaining the "stochastic optimism" necessary for efficient exploration in large state spaces.
Key Results and Performance
The empirical performance of RLSVI is starkly superior to traditional methods. In the Chain MDP, RLSVI achieves near-optimal regret, whereas $\epsilon$-greedy regret grows linearly as it fails to reach the distant reward.
Beyond didactic examples, RLSVI was tested on high-dimensional problems:
- Tetris: RLSVI achieved scores of ~4,500 rows, significantly outperforming standard Least-Squares Policy Iteration (LSPI) and tuned $\epsilon$-greedy methods.
- Recommendation Systems: The algorithm effectively balanced immediate clicks with long-term user engagement, proving that RL can add value by planning for multi-period user interactions.
Conclusion
RLSVI provides a theoretically grounded and practically efficient framework for RL exploration. By replacing local dithering with randomized value functions, it enables agents to perform deep exploration that scales gracefully with environment complexity. While currently focused on linear models, the principles of RLSVI offer a promising path toward more robust exploration in deep reinforcement learning.
Summary updated