Introduction
In Reinforcement Learning (RL), Approximate Policy Iteration (API) is a foundational technique for finding optimal strategies in environments with state spaces too large for tabular representations. Instead of evaluating every state individually, API leverages linear function approximation to estimate the value of actions based on state features.
However, standard API suffers from a notorious "compounding error" problem. If the value estimates have a worst-case approximation error of $\epsilon$, this error can compound quadratically with respect to the effective planning horizon $H$, scaling as $H^2$. This quadratic scaling severely limits the algorithm's reliability for long-term planning. Furthermore, many efficient planning algorithms assume a "random access" (or generative) simulator model, which allows the agent to teleport to any arbitrary state. A more realistic and challenging setting is local access, where the agent can only reset the simulator to states it has previously encountered during its exploration.
This work introduces a novel algorithmic framework that resolves the error explosion problem while operating strictly under the more realistic local access model, achieving optimal theoretical bounds.
Confident Approximate Policy Iteration (CAPI)
The core methodological contribution is CAPI (Confident Approximate Policy Iteration). To prevent small approximation errors from accumulating into catastrophic policy failures, CAPI employs a conservative update rule.
In standard API, the policy is updated greedily to whichever action currently appears best. In contrast, CAPI only updates the policy for a specific state if the estimated improvement of the new action is sufficiently large to overcome the potential estimation error. By retaining the old policy in states where evidence for a better action is weak, CAPI effectively halts the compounding error. This "confidence" check reduces the error inflation from $H^2$ down to a linear scaling of $H$. Crucially, unlike previous attempts to achieve this linear scaling, CAPI produces stationary policies (where actions depend only on the current state, not the time step), which are significantly easier to store and evaluate.
Local Planning with CAPI-QPI-PLAN
To apply CAPI in practice, the authors develop CAPI-QPI-PLAN, a comprehensive planning algorithm designed specifically for the local access setting.
The algorithm iteratively builds a "core set" of informative state-action pairs. It uses simulator rollouts to estimate values at these specific points and applies least-squares regression to generalize these value estimates to the broader state space. If the agent transitions to a state where its current feature representations are insufficiently informative, it triggers a "discovery" phase to gather new data and update its core set. This demonstrates that the powerful "random access" to a simulator is not strictly necessary for optimal planning; the ability to save and reload checkpoints of visited states is sufficient.
Key Results
The theoretical guarantees of CAPI-QPI-PLAN represent a significant milestone in RL planning, simultaneously achieving optimal accuracy and state-of-the-art query efficiency.
- Optimal Suboptimality: The algorithm outputs a policy with a suboptimality gap bounded by $\tilde{O}(\epsilon \sqrt{d} H)$. This is the first algorithm to achieve this linear dependence on the horizon $H$ while utilizing stationary policies.
- Query Efficiency: CAPI-QPI-PLAN achieves this high accuracy using only $\tilde{O}(d H^4 / \epsilon^2)$ queries to the simulator. As shown in the comparison table, this matches the best-known query complexity in the literature while strictly improving the suboptimality bound compared to prior local-access methods.
- Tight Bounds: The authors provide a rigorous lower bound construction—a mathematically "hard" Markov Decision Process (MDP)—proving that their query complexity is nearly tight. It is mathematically impossible to design an algorithm that is significantly more efficient with respect to the feature dimension ($d$) and the approximation error ($\epsilon$).
Limitations and Future Directions
While CAPI-QPI-PLAN achieves optimal statistical and query bounds, these improvements come with computational trade-offs. CAPI requires more memory and computational overhead than standard API because it must track a sequence of policies and perform complex confidence checks at each step.
Additionally, the final policy produced by CAPI is recursively defined, making it somewhat bulky to execute. A promising direction for future research is "policy compression"—finding methods to distill this complex, recursively defined policy back into a simple, greedy action-value function without sacrificing the hard-won $H$-scaling accuracy guarantees. Finally, while the query complexity is tight for $d$ and $\epsilon$, a small theoretical gap remains regarding the exact lower bound of the horizon parameter $H$, leaving room for future theoretical refinement.
Summary updated