TL;DR
This paper bridges the gap between theoretical reinforcement learning (RL) and deep RL by making Feel-Good Thompson Sampling (FGTS) computationally practical. By integrating approximate MCMC samplers like Underdamped Langevin Monte Carlo (ULMC) into a value-iteration framework, the authors achieve the best-known regret bounds for linear MDPs while outperforming strong baselines on challenging "deep exploration" tasks like the N-chain environment and Atari games.
What Problem Does This Paper Address?
Exploration is the "bread and butter" of reinforcement learning, yet balancing it with exploitation remains difficult. Thompson Sampling (TS) is a popular randomized strategy that samples from a posterior distribution of models or value functions. While TS works wonders in simple settings, it faces two major hurdles in complex, high-dimensional environments:
- The Theory-Practice Gap: Theoretically sound TS algorithms often rely on "sampling oracles"—imaginary tools that can perfectly sample from complex distributions. In reality, we can't do this, so practitioners use heuristics (like Noisy-Nets) that lack any formal guarantees.
- Suboptimal Efficiency: Even when TS is implemented, existing versions often have "regret" (the cumulative loss compared to an optimal agent) that scales poorly with the dimensionality of the problem ($d$) compared to Upper Confidence Bound (UCB) methods.
The authors specifically target Feel-Good Thompson Sampling (FGTS), a variant that adds an "optimistic" bias to the posterior. FGTS has great theoretical properties but was previously considered computationally intractable for general RL.
Methods
The authors introduce LSVI-ASE (Least-Squares Value Iteration with Approximate Sampling Exploration). The core innovation is replacing the "sampling oracle" with efficient approximate samplers from the Markov Chain Monte Carlo (MCMC) literature.
- Feel-Good Prior: They use a loss function that includes a "feel-good" term. This term encourages the agent to sample value functions that predict high rewards for the initial state, effectively "nudging" the agent toward optimism.
- Langevin Samplers: Instead of training an ensemble of networks (which is expensive), they use Langevin Monte Carlo (LMC) and Underdamped Langevin Monte Carlo (ULMC).
- LMC is like performing gradient descent with added noise.
- ULMC adds a "momentum" component (inspired by Hamiltonian dynamics), which allows it to explore the parameter space much faster and more accurately than standard LMC.
- Theoretical Framework: They provide a fine-grained regret analysis that explicitly accounts for sampling error. This allows them to prove that as long as the sampler runs for enough iterations, the overall algorithm maintains optimal performance.
Datasets
The authors evaluated their framework on two main benchmarks:
- N-Chain Environment: A classic "deep exploration" test where an agent must move through a long chain of states to reach a large reward at the end. Any "myopic" or poorly exploring agent will get stuck at a small, local reward at the start of the chain.
- Atari 57 Suite: They focused on 8 "hard exploration" games, including Gravitar, Venture, Pitfall!, and Solaris. These games are notorious for having sparse rewards where random exploration fails.
Key Insights and Ideas
- ULMC is the "Secret Sauce": The paper highlights that ULMC's momentum-based exploration is significantly more efficient than standard LMC. It achieves the same accuracy with fewer iterations, making it much more suitable for Deep RL.
- Optimal Regret for Randomized RL: For linear MDPs, the algorithm achieves a regret bound of $\tilde{O}(dH^{3/2}\sqrt{T})$. This is a major milestone because it matches the best-known dependency on dimensionality ($d$) for any randomized or UCB-based algorithm.
- The "Feel-Good" Bias Works: The experiments show that the "feel-good" term is crucial. Without it, standard approximate sampling often fails to reach the end of the N-chain, but with it, the agent consistently finds the optimal path.
- Sampling Error is Controllable: The authors prove that you don't need a perfect sampler. By decomposing the regret into "idealistic regret" and "sampling error," they show exactly how many MCMC steps are needed to keep the error from ruining the agent's performance.
Key Results
- N-Chain Dominance: In the N-chain task, as the chain length $N$ increases, standard baselines like DQN and Noisy-Net see their performance collapse. In contrast, the authors' FG-ULMCDQN maintains near-optimal performance even as the task becomes extremely difficult.
- Atari Performance: On the Atari suite, the proposed algorithms were highly competitive. Specifically, in Gravitar and Venture, the approximate sampling approach showed clear advantages over heavy-hitting baselines like IQN and Bootstrapped DQN.
- Efficiency: The ULMC variant achieved its results with lower data requirements than its LMC-based counterpart, confirming the theoretical advantage of momentum-based sampling.
Limitations and Future Work
- Computational Overhead: While more efficient than an oracle, running MCMC chains (even short ones) inside a value iteration loop is still more computationally demanding than a standard DQN.
- Hyperparameter Tuning: The "feel-good" weight ($\eta$) and the friction coefficient ($\gamma$) for ULMC require careful tuning. The authors provided a sensitivity analysis, but finding these values for entirely new environments remains a challenge.
- Beyond Langevin: The authors suggest that other advanced samplers, like Metropolis-adjusted Langevin Acceptance (MALA) or proximal sampling algorithms, could be integrated into this framework to further improve stability and convergence.
Summary updated