[Paper Review] Agnostic Q-learning with Function Approximation in Deterministic Systems: Tight Bounds on Approximation Error and Sample Complexity
This paper proposes a recursion-based Q-learning algorithm with function approximation in deterministic MDPs that achieves optimal sample complexity under agnostic settings. It establishes tight bounds showing that when the approximation error δ is O(ρ/√dim_E), the algorithm finds the optimal policy using O(dim_E) trajectories, resolving an open problem in agnostic reinforcement learning with function approximation.
The current paper studies the problem of agnostic $Q$-learning with function approximation in deterministic systems where the optimal $Q$-function is approximable by a function in the class $\mathcal{F}$ with approximation error $δ\ge 0$. We propose a novel recursion-based algorithm and show that if $δ= O\left(ρ/\sqrt{\dim_E} ight)$, then one can find the optimal policy using $O\left(\dim_E ight)$ trajectories, where $ρ$ is the gap between the optimal $Q$-value of the best actions and that of the second-best actions and $\dim_E$ is the Eluder dimension of $\mathcal{F}$. Our result has two implications: 1) In conjunction with the lower bound in [Du et al., ICLR 2020], our upper bound suggests that the condition $δ= \widetildeΘ\left(ρ/\sqrt{\mathrm{dim}_E} ight)$ is necessary and sufficient for algorithms with polynomial sample complexity. 2) In conjunction with the lower bound in [Wen and Van Roy, NIPS 2013], our upper bound suggests that the sample complexity $\widetildeΘ\left(\mathrm{dim}_E ight)$ is tight even in the agnostic setting. Therefore, we settle the open problem on agnostic $Q$-learning proposed in [Wen and Van Roy, NIPS 2013]. We further extend our algorithm to the stochastic reward setting and obtain similar results.
Motivation & Objective
- To address the open problem of designing provably efficient Q-learning algorithms in the agnostic setting with function approximation for deterministic MDPs.
- To characterize the necessary and sufficient conditions on approximation error δ and optimality gap ρ for polynomial sample complexity.
- To establish tight upper and lower bounds on sample complexity, showing Θ(dim_E) is optimal under the given conditions.
- To extend the analysis to stochastic reward settings while maintaining similar guarantees.
Proposed method
- The algorithm uses a recursion-based approach that incrementally builds a dataset Y of state-action-value tuples through an oracle that selects actions based on uncertainty and approximation error.
- It employs a Maximum Uncertainty Oracle to guide exploration, ensuring that actions with high potential error in Q-value estimation are prioritized.
- The algorithm maintains a set Y of observed state-action-value pairs and uses least-squares regression over F to estimate the Q-function f from Y.
- It defines a stopping condition in the exploration loop based on the deviation between estimated and true Q-values, ensuring convergence to a policy within ρ/2 of the optimal Q-value.
- The analysis relies on the Eluder dimension dim_E(F, ρ/4) as a measure of function class complexity, linking it directly to sample complexity.
- Theoretical guarantees are derived using induction on the MDP's horizon levels, proving that the estimated Q-function f approximates Q* within ρ/2 for all states, enabling optimal policy recovery.
Experimental results
Research questions
- RQ1What is the minimal approximation error δ for which agnostic Q-learning with function approximation can achieve polynomial sample complexity in deterministic systems?
- RQ2Is the sample complexity of O(dim_E) tight for agnostic Q-learning with function approximation in deterministic MDPs?
- RQ3Can a provably efficient algorithm be designed for the agnostic setting without assuming exact linearizability of the optimal Q-function?
- RQ4How does the optimality gap ρ relate to the approximation error δ and the Eluder dimension in determining sample complexity?
- RQ5Does the proposed algorithm maintain sample efficiency in stochastic reward environments?
Key findings
- The algorithm finds the optimal policy using O(dim_E) trajectories when δ = O(ρ / √dim_E), establishing a tight sample complexity bound.
- The condition δ = O(ρ / √dim_E) is both necessary and sufficient for polynomial sample complexity, as confirmed by matching lower bounds from prior work.
- The sample complexity of Θ(dim_E) is tight even in the agnostic setting, resolving an open problem posed by Wen and Van Roy (2013).
- The algorithm achieves O(dim_E) sample complexity under the assumption that ρ ≥ 6√2 δ √dim_E(F, ρ/4), which ensures sufficient separation between optimal and suboptimal actions.
- The analysis extends to stochastic reward settings, maintaining similar sample complexity and approximation guarantees.
- The use of the Eluder dimension as a complexity measure enables a sharp characterization of the trade-off between approximation error and sample efficiency.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.