On Query-efficient Planning in MDPs under Linear Realizability of the Optimal State-value Function

Gellért Weisz, Philip Amortila, Barnabás Janzer, Yasin Abbasi-Yadkori, Nan Jiang, Csaba Szepesvári

Abstract

We consider the problem of local planning in fixed-horizon Markov Decision Processes (MDPs) with a generative model under the assumption that the optimal value function lies close to the span of a $d$-dimensional feature representation. While previous work has established that linear realizability of the optimal state-action value function ($q^*$) is insufficient for query-efficient planning when the action set is large, this paper investigates the case where the optimal state-value function ($v^*$) is linear and the action set is small. We introduce TENSORPLAN, the first algorithm to achieve polynomial query complexity in this setting.

Introduction

In Reinforcement Learning (RL), the goal is to find an optimal policy in a Markov Decision Process (MDP). When the state space is too large to explore exhaustively, we rely on function approximation—specifically linear function approximation—to generalize across states. A central question in RL theory is: what specific conditions on the value function and the environment are necessary and sufficient to allow for query-efficient planning?

Historically, research has focused on the realizability of the optimal state-action value function ($q^*$). However, even with $q^*$ being linear, planning can require an exponential number of queries to a simulator if the action space is large. This paper shifts the focus to the optimal state-value function ($v^*$). We demonstrate that if $v^*$ is linearly realizable and the number of actions $A$ is small, polynomial-time planning becomes possible.

The Challenge of Linear Realizability

The core difficulty in planning with a linear $v^*$ lies in the Bellman optimality equation: $$v^*(s) = \max_{a \in \mathcal{A}} \left( r(s, a) + \gamma \mathbb{E}_{s' \sim P(\cdot|s,a)} [v^*(s')] \right)$$ When we assume $v^*(s) = \phi(s)^\top \theta^*$, the "max" operator introduces a non-linearity that makes it difficult to verify if a candidate parameter $\theta$ is consistent with the environment's dynamics. Without further constraints, a planner might need to explore an exponential number of trajectories to find the optimal policy.

The TENSORPLAN Algorithm

The authors propose TENSORPLAN, a "generate-and-test" algorithm designed to navigate this complexity. TENSORPLAN operates through three primary mechanisms:

1. Optimism under Uncertainty

The algorithm maintains a version space (a hypothesis set) of potential parameter vectors $\theta$. At each planning step, it selects the most optimistic $\theta$ from this set—the one that maximizes the predicted value of the current state.

2. The Consistency Test

To determine if the optimistic $\theta$ is valid, TENSORPLAN performs a consistency check using rollouts from a generative model. It tests whether the candidate value function satisfies the Bellman equation. If the check fails, the data from the rollout is used to refine the hypothesis set, effectively pruning $\theta$ values that are inconsistent with the observed transitions and rewards.

3. The Tensorization Trick

The most significant innovation in TENSORPLAN is the "tensorization device." Because the Bellman equation involves a maximum over actions, the relationship between $\theta$ and the expected future values is non-linear. To address this, the authors "lift" the $d$-dimensional feature space into a $d^A$-dimensional tensor space. In this higher-dimensional Euclidean space, the consistency check can be reformulated as a linear constraint. This transformation allows the algorithm to use tools from linear algebra and the "eluder dimension" to bound the number of times the hypothesis set can be pruned before converging on a near-optimal policy.

Theoretical Contributions

The paper provides two primary theoretical results that define the boundaries of query-efficient planning.

Polynomial Query Complexity

The authors prove that TENSORPLAN can find a $\delta$-optimal policy using a number of queries that is polynomial in the feature dimension $d$, the horizon $H$, and the precision $1/\delta$, provided the number of actions $A$ is constant. Specifically, the complexity is $poly((dH/\delta)^A)$. This is the first result to achieve polynomial query complexity under the $v^*$-realizability assumption.

Lower Bounds and the Action Gap

To justify the dependence on the action set size, the authors provide a lower bound construction. They demonstrate that in infinite-horizon episodic settings, if the number of actions $A$ scales with the dimension $d$, any planner will require an exponential number of queries to find an optimal policy. This confirms that the small action set assumption is a fundamental requirement for tractability under $v^*$-realizability.

Conclusion and Future Work

TENSORPLAN represents a theoretical milestone, proving that $v^*$-realizability is sufficient for efficient planning when the action space is restricted. However, the authors note a distinction between query efficiency and computational efficiency. While TENSORPLAN minimizes the number of interactions with the simulator, the process of finding the optimistic $\theta$ within the tensorized space may be computationally demanding.

Future research may explore whether the exponential dependence on $A$ in the query complexity can be reduced to a polynomial dependence, or if $q^*$-realizability can yield similar benefits in small-action settings. For now, TENSORPLAN provides a rigorous framework for understanding the interplay between function approximation and action-space complexity in large-scale MDPs.

Summary updated

BibTeX
@inproceedings{weisz2021query,
  author = {Gellért Weisz and Philip Amortila and Barnabás Janzer and Yasin Abbasi-Yadkori and Nan Jiang and Csaba Szepesvári},
  title = {{On Query-efficient Planning in MDPs under Linear Realizability of the Optimal State-value Function}},
  booktitle = {Conference on Learning Theory},
  year = {2021},
  url = {https://openreview.net/forum?id=xXMuoChtTPR},
}
Figure