TL;DR
This paper bridges the notorious gap between reinforcement learning (RL) theory and practice by showing that many stochastic environments possess a short "effective horizon." The authors introduce SQIRL, a novel algorithm demonstrating that random exploration combined with standard in-distribution regression (like neural networks) is sufficient to solve these environments, explaining why deep RL succeeds despite theoretical worst-case pessimism.
What Problem Does This Paper Address?
Standard RL theory paints a bleak picture: in the worst-case scenario, random exploration strategies (like $\epsilon$-greedy) require a number of samples that scales exponentially with the environment's horizon. To provide guarantees, theory often mandates complex "strategic exploration" algorithms (like upper confidence bound bonuses) paired with highly restricted function classes.
In practice, however, deep RL algorithms like PPO and DQN routinely defy these grim theoretical bounds. They achieve remarkable success using simple random exploration and highly expressive, unstructured neural networks. This paper tackles the fundamental question: Why does deep RL work so well in practice when theory says it shouldn't?
Methods
The authors extend the concept of the "effective horizon" to stochastic environments. They introduce the property of $k$-QVI-solvability: an environment is $k$-QVI-solvable if an optimal policy can be found by taking the random policy's Q-function, performing just $k$ steps of Q-value iteration, and then acting greedily.
To exploit this, they propose SQIRL (Shallow Q-iteration via Reinforcement Learning), a generalization of the deterministic GORP algorithm to stochastic settings. SQIRL elegantly separates exploration from learning:
- Exploration: It collects rollouts using purely random exploration.
- Learning: It uses a standard regression oracle to estimate the random policy's Q-function, followed by $k-1$ steps of fitted Q-iteration (FQI).
Unlike strategic exploration algorithms that require complex propagation of exploration bonuses through function approximators, SQIRL only relies on the function approximator's ability to generalize in-distribution—a property neural networks are empirically famous for.
Datasets
The authors evaluated their insights and algorithms on two main benchmarks:
- Sticky-action BRIDGE Dataset: A modified version of the 155 deterministic environments from Laidlaw et al. (2023). By adding a 25% chance that an action repeats from the previous timestep, they transformed these benchmarks into challenging stochastic environments with high-dimensional states.
- Full-length Atari Games: Standard benchmarks (Beam Rider, Breakout, Pong, Qbert, Seaquest, Space Invaders) implemented via Stable-Baselines3, modified to disable episode restarts upon loss of life to fit the episodic RL formalism.
Key Insights and Ideas
- The Power of Low Lookahead: A shocking number of empirical RL environments can be solved with very little lookahead. More than half of the sticky-action BRIDGE environments are approximately 1-QVI-solvable, meaning you can find a near-optimal policy simply by acting greedily relative to a random policy's Q-function.
- Decoupling Exploration and Learning: When the effective horizon is low, strategic exploration is unnecessary. Random exploration covers enough ground to let powerful function approximators (like deep neural networks) do what they do best: generalize from in-distribution data.
- SQIRL as an Explanatory Proxy: SQIRL's performance closely mirrors that of PPO and DQN. This strong correlation suggests that popular deep RL algorithms succeed not because they are doing sophisticated strategic exploration, but because they are exploiting the low effective horizon of the environments.
Key Results
- Benchmark Performance: In the sticky-action BRIDGE environments, SQIRL solved 69 out of 155 environments, approaching DQN (76) and PPO (96). Crucially, the deterministic baseline GORP failed, solving only 26, validating SQIRL's stochastic design.
- Sample Complexity Correlation: SQIRL’s empirical sample complexity highly correlates with PPO (Spearman correlation of 0.83) and DQN (0.56), performing on a similar absolute scale.
- Atari Success: In full-length Atari games, SQIRL achieved comparable or superior rewards to PPO and DQN in 4 out of 6 games, proving the effective horizon theory scales to standard complex benchmarks.
Limitations and Future Work
While SQIRL serves as an excellent theoretical and explanatory tool, it is not yet a practical replacement for general deep RL algorithms. It requires extensive hyperparameter tuning—specifically a binary search to find the optimal lookahead steps ($k$) and sample size ($m$) for each environment. Additionally, PPO and DQN still outperform SQIRL in a minority of environments, indicating that current effective horizon metrics do not capture 100% of the mechanisms driving deep RL's success. Future work includes refining these bounds and developing algorithms that can automatically adapt to an environment's effective horizon without manual tuning.
Summary updated