Introduction
Since the introduction of Deep Q-Networks (DQN) in 2015, deep reinforcement learning (RL) has achieved remarkable success in complex environments. However, a significant gap has persisted between this empirical success and our theoretical understanding. Most existing RL theory is confined to the "linear" regime or relies on computationally expensive exploration strategies like "Optimism in the Face of Uncertainty" (UCB). This paper, presented at NeurIPS 2022, provides a rigorous theoretical foundation for DQN-style architectures, proving that deep neural networks using simple $\epsilon$-greedy exploration can achieve sublinear regret in non-linear environments.
The Theory-Practice Gap
In practical applications, DQN utilizes Deep Neural Networks (DNNs) and $\epsilon$-greedy exploration—where the agent chooses a random action with probability $\epsilon$. Conversely, theoretical guarantees often require building complex "bonus functions" to encourage exploration, which are difficult to implement in deep architectures. Furthermore, much of the non-linear RL theory relies on the Neural Tangent Kernel (NTK) regime, which effectively treats neural networks as linear models. This fails to capture the adaptive power of deep learning. This work addresses whether a DQN-like algorithm, utilizing deep networks and simple exploration, can learn efficiently in high-dimensional spaces.
Methodology
The authors analyze a Value Iteration algorithm that mimics the core mechanics of DQN. Their theoretical framework rests on several key pillars:
1. Advanced Function Spaces
To move beyond linear approximations, the study employs Besov spaces for deep networks and Barron spaces for two-layer networks. Besov spaces are adept at capturing spatially varying smoothness, while Barron spaces are known for their ability to avoid the "curse of dimensionality" in high-dimensional settings.
2. Experience Replay as a De-correlator
In this analysis, the experience replay mechanism is more than a heuristic; it is a theoretical tool used to break the temporal dependencies between episodes. This allows the researchers to treat the data as independent (though non-identically distributed) samples, simplifying the analysis of the generalization error.
3. Measure Transformation and Rademacher Complexity
Because $\epsilon$-greedy exploration does not inherently guarantee optimism, the authors reformulate the Temporal Difference (TD) error into a generalization problem. They analyze the error in an $L^2$ space over an averaged measure of historical state-action pairs and use local Rademacher complexity to bound the generalization error of the networks within the chosen function spaces.
Key Insights
Beyond the NTK Regime
By utilizing Besov and Barron spaces, the authors demonstrate that networks can learn $\alpha$-smooth Q-functions more efficiently than NTK-based methods. While NTK methods may require an exponential number of samples to learn even simple functions, this framework shows that deep networks can adapt to the underlying smoothness of the environment.
The Role of Smoothness
The parameter $\alpha$ (smoothness) acts as a "difficulty dial." The smoother the target Q-function, the faster the learning rate and the less exploration time required to achieve optimal performance.
Overcoming the Curse of Dimensionality
For two-layer networks in Barron spaces, the authors prove that the required network width and the resulting regret bounds can be independent of the input dimension $d$. This provides a theoretical explanation for why RL can succeed on high-dimensional inputs, such as raw image data, without requiring a proportional increase in computational complexity.
Theoretical Results
The paper establishes concrete scaling laws for network architecture to ensure sublinear regret, meaning the agent's performance eventually converges to the optimal policy:
- Deep Networks (Besov Space): Sublinear regret is guaranteed if the network width $m$ scales as $\tilde{O}(T^{\frac{d}{2\alpha+d}})$ and the depth $L$ scales as $O(\log T)$, where $T$ is the number of episodes.
- Two-Layer Networks (Barron Space): A width of $m = \Omega(\sqrt{T})$ is sufficient for sublinear regret, notably independent of the feature dimension $d$.
- Regret Recovery: The bounds are sufficiently general that as smoothness $\alpha$ approaches infinity, they recover the known regret bounds for linear function approximation.
Limitations and Future Directions
While this work provides a vital foundation, it acknowledges certain limitations. First, while $\epsilon$-greedy is proven to work, it remains less efficient than "optimistic" exploration in worst-case scenarios. Second, the analysis is based on value iteration, whereas practical DQN uses one-step gradient descent (Q-learning); bridging this algorithmic gap is a key area for future research. Finally, the proof relies on the assumption that experience replay provides independent samples, a common but simplifying assumption that warrants further investigation into actual temporal dependencies.
Summary updated