Abstract / TL;DR This paper presents the first near-optimal bounds for "agnostic" $Q$-learning in deterministic systems using general function approximation. The authors prove that an optimal policy can be found with a sample complexity that scales linearly with the complexity of the function class, provided the approximation error remains small relative to the optimality gap between the best and second-best actions.
The Challenge of Agnostic $Q$-Learning
In classical Reinforcement Learning (RL) theory, algorithms frequently rely on a "well-specified" assumption—presuming the true, optimal $Q$-function ($Q^*$) exists exactly within the chosen function class $\mathcal{F}$ (e.g., linear models or specific neural networks). However, real-world applications rarely meet this criterion.
Instead, practitioners operate in the agnostic setting, where the function class $\mathcal{F}$ only approximates $Q^*$ up to some inherent error $\delta$. Prior research indicated that even a minuscule $\delta$ could trigger an "exponential explosion" in sample complexity, making it practically impossible to find a good policy. This paper investigates the conditions under which efficient learning (polynomial sample complexity) remains achievable in the agnostic setting, focusing specifically on deterministic environments where state-action transitions are fixed.
Methodology: Recursion, Gaps, and Eluder Dimensions
To tackle this, the authors introduce a novel recursion-based algorithm tailored for general function classes. The methodology is built on four core pillars:
- The Optimality Gap ($\rho$): The approach hinges on the difference in value between the optimal action and the second-best action. If this gap is sufficiently large, the agent can correctly identify the optimal action even if its value estimates are slightly distorted by the approximation error $\delta$.
- Maximum Uncertainty Oracle: The algorithm employs a specialized oracle to pinpoint state-action pairs where the current model exhibits the highest uncertainty.
- Recursive Exploration: When uncertainty at a given state is high, the algorithm avoids random guessing. Instead, it recursively explores that specific branch of the environment to collect more data. Conversely, if uncertainty is low, it relies on its current least-squares prediction.
- Eluder Dimension ($\text{dim}_E$): Moving beyond simple linear models, the authors utilize the Eluder dimension to quantify the complexity of general function classes. This metric allows their theoretical guarantees to extend to a broad spectrum of non-linear models.
Key Theoretical Results
As a purely theoretical work, the paper relies on rigorous mathematical proofs rather than empirical benchmarks (like Atari or MuJoCo). The key findings establish fundamental limits for agnostic $Q$-learning:
- The "Tipping Point" for Complexity: The authors identify a critical threshold for efficient learning. If the approximation error $\delta$ is smaller than $O(\rho / \sqrt{\text{dim}_E})$, learning remains efficient and polynomial. If $\delta$ exceeds this threshold, the problem can become exponentially difficult.
- Necessary and Sufficient Conditions: The condition $\delta = \Theta(\rho / \sqrt{\text{dim}_E})$ is proven to be both necessary and sufficient, establishing a fundamental limit. It is impossible to achieve better sample complexity without imposing stronger assumptions on the environment.
- Sample Complexity Bounds: In deterministic systems, the proposed algorithm successfully finds the optimal policy using only $O(\text{dim}_E)$ trajectories. For the specific case of linear function approximation, the sample complexity scales with the feature dimension $d$ as $O(d \log(1/\rho))$.
- Resolving an Open Problem: This research directly resolves an open problem introduced by Wen and Van Roy in 2013 regarding the feasibility of agnostic $Q$-learning with general function approximation. Furthermore, while the primary focus is on deterministic rewards, the authors demonstrate that their core "recursion + gap" strategy is robust enough to be extended to stochastic rewards.
Limitations and Future Directions
While the paper provides tight theoretical bounds, it acknowledges several limitations:
- Deterministic Transitions: The most prominent constraint is the assumption of deterministic state transitions. While applicable to domains like board games or specific robotic simulations, extending these tight agnostic bounds to fully stochastic Markov Decision Processes (MDPs) remains a significant open challenge.
- Computational Overhead: The "Maximum Uncertainty Oracle" is an elegant theoretical construct, but implementing it for highly complex, non-linear function classes (such as deep neural networks) can be computationally prohibitive in practice.
- Hyperparameter Knowledge: The current algorithm assumes the learner either knows or can efficiently search for the exact values of the optimality gap $\rho$ and the approximation error $\delta$. Developing "parameter-free" variants of these algorithms is a promising avenue for future research.
Summary updated