This paper explores a fundamental tension in reinforcement learning (RL): how much "power" does a learner need to solve complex environments efficiently? The authors demonstrate that by adding a simple "state revisiting" mechanism—akin to a "save and reload" feature—we can solve a class of problems that were previously considered mathematically intractable in standard online settings.
The Linear $Q^*$ Problem
In RL, linear function approximation is frequently used to handle massive state spaces. There are two primary ways to assume an environment is "linear":
- Linear MDPs: The entire transition physics and rewards are linear. These are well-understood and relatively easy to solve.
- Linearly Realizable $Q^*$ (The "Linear $Q^*$ Problem"): Only the optimal value function is linear. This is a much weaker, more realistic assumption, but it is notoriously difficult to solve.
Previous research identified a significant barrier: in standard online RL (where episodes are played strictly from start to finish), solving the Linear $Q^*$ problem requires an exponential number of samples, even if there is a clear "gap" between the best action and the second-best action. Conversely, if an agent has access to a "generative model" (a simulator allowing teleportation to any state-action pair at any time), the problem becomes easy.
The authors investigate a middle ground: Can we achieve sample efficiency with a sampling protocol that is more realistic than a full simulator but more flexible than standard online RL?
Methods: Sampling with State Revisiting
To bridge this gap, the authors introduce a new sampling protocol called sampling with state revisiting. In this model, the agent starts an episode normally but can choose to "backtrack" to any state it has already visited in that episode and start a new trajectory from there. This is similar to having "local access" to a simulator.
To exploit this protocol, they propose the LinQ-LSVI-UCB (Linear Q-function Least-Squares Value Iteration with Upper Confidence Bounds) algorithm. Key features include:
- Optimism in the Face of Uncertainty: The algorithm adds a bonus to actions it has not explored sufficiently.
- Gap-Dependent Backtracking: The algorithm uses the "sub-optimality gap" ($\Delta_{gap}$) to decide when to revisit a state. It only trusts its policy and moves forward when the uncertainty (the UCB bonus) is significantly smaller than the gap. If the uncertainty is too high, it backtracks to collect more data and refine its linear model.
- Value-Based Updates: It directly learns the parameters of the optimal Q-function rather than modeling the entire environment.
Key Insights and Results
The key insight of the paper is that backtracking breaks the exponential sample complexity barrier. By allowing the agent to "double-check" its work at specific states, it prevents the compounding errors that usually make the Linear $Q^*$ problem impossible in strictly online settings.
- Sample Complexity: The total number of samples $T$ required to achieve an average regret $\epsilon$ scales as $\tilde{O}\left(\frac{d^2 H^7}{\epsilon^2}\right)$. Crucially, this is polynomial, not exponential, and depends on the feature dimension ($d$) and the horizon ($H$), but not on the total number of states ($|S|$).
- Limited Revisiting: The authors prove that the number of times the agent actually needs to backtrack is limited. The number of revisits scales with $1/\Delta_{gap}^2$ but does not increase as the required accuracy ($\epsilon$) gets stricter.
- Regret Bounds: The algorithm achieves a regret bound of $\tilde{O}(\sqrt{T})$, representing a gold standard for efficiency in these types of problems.
Limitations and Future Work
While a significant theoretical step forward, the approach has limitations:
- Knowledge of the Gap: The current algorithm requires knowing the sub-optimality gap ($\Delta_{gap}$) beforehand to set the backtracking threshold, which is rarely known in practice.
- Action Space Dependence: Because the algorithm must perform a
maxover actions, its runtime still scales with the size of the action space ($|A|$). - Deterministic Rewards: The primary analysis assumes deterministic rewards, though the authors suggest extensions to stochastic cases are possible.
Future directions include searching for even more restrictive sampling protocols that preserve sample efficiency, or exploring whether this "revisiting" logic can be applied to other function classes beyond linear models, such as neural networks.
Summary updated